diff mbox

clk: rockchip: rk3368: protect aclk_bus and aclk_peri clocks

Message ID 1449062551-2498-1-git-send-email-jay.xu@rock-chips.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jianqun Xu Dec. 2, 2015, 1:22 p.m. UTC
From: Jianqun xu <jay.xu@rock-chips.com>

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

Comments

Heiko Stübner Dec. 2, 2015, 11:31 p.m. UTC | #1
Hi Jianqun,

Am Mittwoch, 2. Dezember 2015, 21:22:31 schrieb jianqun.xu:
> From: Jianqun xu <jay.xu@rock-chips.com>
> 
> 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>

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


Thanks
Heiko
Jianqun Xu Dec. 3, 2015, 12:30 a.m. UTC | #2
Hi heiko

I can see the patches on your clk branch for next
thanks

? 03/12/2015 07:31, Heiko Stübner ??:
> Hi Jianqun,
>
> Am Mittwoch, 2. Dezember 2015, 21:22:31 schrieb jianqun.xu:
>> From: Jianqun xu <jay.xu@rock-chips.com>
>>
>> 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>
>
> applied to my clk branch for 4.5
> [after adapting to Caesar's other critical clock]
>
>
> Thanks
> Heiko
>
>
>
diff mbox

Patch

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",
 };