]> git.baikalelectronics.ru Git - kernel.git/commit
clk: pistachio: correct critical clock list
authorDamien.Horsley <Damien.Horsley@imgtec.com>
Wed, 26 Aug 2015 16:11:40 +0000 (17:11 +0100)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 26 Aug 2015 18:34:43 +0000 (11:34 -0700)
commit72c35cef5cc671cd07003fed88e0e15fbff9f14b
tree812f887c0509c5f9293fc986f22c25c331aa3630
parent1c5803083fbc39f680f87f8f433a703be445fd4f
clk: pistachio: correct critical clock list

Current critical clock list for pistachio enables
only mips and sys clocks by default but there are
also other clocks that are not claimed by anyone and
needs to be enabled by default.

This patch updates the critical clocks that need
to be enabled by default.

Add a separate struct to distinguish the critical clocks
as listed:
1.) core clocks:
a.) mips clock
2.) peripheral system clocks:
a.) sys clock
b.) sys_bus clock
c.) DDR clock
d.) ROM clock

Fixes: 0a85fb40c973("CLK: Pistachio: Register core clocks")
Cc: <stable@vger.kernel.org> # 4.1
Reviewed-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Signed-off-by: Damien.Horsley <Damien.Horsley@imgtec.com>
Signed-off-by: Govindraj Raja <govindraj.raja@imgtec.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/pistachio/clk-pistachio.c