2015-12-02 13:24:49

by Jianqun Xu

[permalink] [raw]
Subject: [PATCH] clk: rockchip: rk3368: protect aclk_bus and aclk_peri clocks

From: Jianqun xu <[email protected]>

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 <[email protected]>
---
drivers/clk/rockchip/clk-rk3368.c | 2 ++
1 file changed, 2 insertions(+)

diff --git a/drivers/clk/rockchip/clk-rk3368.c b/drivers/clk/rockchip/clk-rk3368.c
index 7e6b783..cd9d4aa 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 = {
};

static const char *const rk3368_critical_clocks[] __initconst = {
+ "aclk_bus",
+ "aclk_peri",
"pclk_pd_pmu",
};

--
1.9.1


2015-12-02 23:31:48

by Heiko Stuebner

[permalink] [raw]
Subject: Re: [PATCH] clk: rockchip: rk3368: protect aclk_bus and aclk_peri clocks

Hi Jianqun,

Am Mittwoch, 2. Dezember 2015, 21:22:31 schrieb jianqun.xu:
> From: Jianqun xu <[email protected]>
>
> 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 <[email protected]>

applied to my clk branch for 4.5
[after adapting to Caesar's other critical clock]


Thanks
Heiko