clk: rockchip: disable unused clocks
authorKever Yang <kever.yang@rock-chips.com>
Tue, 4 Nov 2014 09:11:10 +0000 (17:11 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Tue, 4 Nov 2014 21:52:51 +0000 (22:52 +0100)
commit78eaf6095cc763c1a228ebac5682852f04e85205
treed758276e44565631817d98590869288ab3b80911
parent49ed9ee442227e7f2ef617ca1399269d567834b9
clk: rockchip: disable unused clocks

The rockchip clock driver use CLK_IGNORE_UNUSED flag to make sure
all the clocks are available like default power on state.
We have implement the clock manage in most of rockchip drivers,
it is time to remove it for power save.
Instead we add CLK_IGNORE_UNUSED for some clock nodes which should
be on during boot or no module driver in kernel will initialize it.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3188.c
drivers/clk/rockchip/clk-rk3288.c
drivers/clk/rockchip/clk.c