clk: rockchip: protect critical clocks from getting disabled
authorHeiko Stübner <heiko@sntech.de>
Thu, 14 Aug 2014 21:00:26 +0000 (23:00 +0200)
committerMike Turquette <mturquette@linaro.org>
Tue, 2 Sep 2014 22:03:18 +0000 (15:03 -0700)
commitfe94f974e9c8b820640a5873d81589ab67380516
treeff4719b1c22c714be7734b914e5b264df4c7b768
parent1a4b1819950a278e44dd2e28c5cdb7d8b804dd73
clk: rockchip: protect critical clocks from getting disabled

The clock-tree contains clocks that should never get disabled automatically.
One example are the base ACLKs, the base supplies for all peripherals.

Therefore add a structure similar to the sunxi clock-tree to protect these
special clocks from being disabled.

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