Commit 3bba75a2 authored by Romain Perier's avatar Romain Perier Committed by Stephen Boyd

clk: rockchip: Add pclk_peri to critical clocks on RK3066/RK3188

Now that the rockchip clock subsystem does clock gating with GPIO banks,
these are no longer enabled once during probe and no longer stay enabled
for eternity. When all these clocks are disabled, the parent clock pclk_peri
might be disabled too, as no other child claims it. So, we need to add pclk_peri
to the critical clocks.
Signed-off-by: default avatarRomain Perier <romain.perier@gmail.com>
Tested-by: default avatarMichael Niewoehner <linux@mniewoehner.de>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 1166160a
...@@ -717,6 +717,7 @@ static const char *const rk3188_critical_clocks[] __initconst = { ...@@ -717,6 +717,7 @@ static const char *const rk3188_critical_clocks[] __initconst = {
"aclk_peri", "aclk_peri",
"hclk_peri", "hclk_peri",
"pclk_cpu", "pclk_cpu",
"pclk_peri",
}; };
static void __init rk3188_common_clk_init(struct device_node *np) static void __init rk3188_common_clk_init(struct device_node *np)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment