diff options
author | Jianqun xu <jay.xu@rock-chips.com> | 2015-12-02 08:22:31 -0500 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2015-12-02 17:11:44 -0500 |
commit | 941c4d3f11c9b591f7762d125b7977ceffb1fa7c (patch) | |
tree | 433c3e9b8fc63cc9a722912158698cee807d62b5 | |
parent | a7ce40508803d7ac1e642a93e80709ee2514c1c2 (diff) |
clk: rockchip: protect rk3368 aclk_bus and aclk_peri clocks
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>
-rw-r--r-- | drivers/clk/rockchip/clk-rk3368.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c index 1834b6ad6725..4d2e7e56ee68 100644 --- a/drivers/clk/rockchip/clk-rk3368.c +++ b/drivers/clk/rockchip/clk-rk3368.c | |||
@@ -819,6 +819,8 @@ static struct rockchip_clk_branch rk3368_clk_branches[] __initdata = { | |||
819 | }; | 819 | }; |
820 | 820 | ||
821 | static const char *const rk3368_critical_clocks[] __initconst = { | 821 | static const char *const rk3368_critical_clocks[] __initconst = { |
822 | "aclk_bus", | ||
823 | "aclk_peri", | ||
822 | /* | 824 | /* |
823 | * pwm1 supplies vdd_logic on a lot of boards, is currently unhandled | 825 | * pwm1 supplies vdd_logic on a lot of boards, is currently unhandled |
824 | * but needs to stay enabled there (including its parents) at all times. | 826 | * but needs to stay enabled there (including its parents) at all times. |