]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
clk: rockchip: protect rk3368 aclk_bus and aclk_peri clocks
authorJianqun xu <jay.xu@rock-chips.com>
Wed, 2 Dec 2015 13:22:31 +0000 (21:22 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 2 Dec 2015 22:11:44 +0000 (23:11 +0100)
Add aclk_bus and aclk_peri to the list of rk3368 critical clocks,
which are the base clocks that supply for all peripherals, never
to be disabled automatically.

Signed-off-by: Jianqun xu <jay.xu@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3368.c

index 1834b6ad6725b79dbbc76a7873f7e58428a11e9e..4d2e7e56ee68abd537f8d7543cb63fe7f60ed70a 100644 (file)
@@ -819,6 +819,8 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = {
 };
 
 static const char *const rk3368_critical_clocks[] __initconst = {
+       "aclk_bus",
+       "aclk_peri",
        /*
         * pwm1 supplies vdd_logic on a lot of boards, is currently unhandled
         * but needs to stay enabled there (including its parents) at all times.