]> 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)
commit3401b5e1711bd8e4dd3d62bc9923756e15dc3758
tree812f887c0509c5f9293fc986f22c25c331aa3630
parent4621c15b9f161f83253108c5115ca5e3cdc16f52
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: d4e2caffd92f("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