* [PATCH] clk: rockchip: mark aclk_emmc_noc as a critical clock on rk3399
@ 2016-08-24 18:29 Douglas Anderson
2016-08-24 22:25 ` Heiko Stübner
0 siblings, 1 reply; 2+ messages in thread
From: Douglas Anderson @ 2016-08-24 18:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Xing Zheng <zhengxing@rock-chips.com>
We don't have code to handle any of the noc clocks in rk3399 and they're
all just listed as critical clocks. Let's do the same for
aclk_emmc_noc.
Without this clock being marked as critical we have problems around
suspend/resume after commit 20c389e656a8 ("clk: rockchip: fix incorrect
aclk_emmc source gate bits on rk3399"). Before that change we were
presumably not actually gating any of these clocks because we were
setting the wrong gate.
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
---
drivers/clk/rockchip/clk-rk3399.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/rockchip/clk-rk3399.c b/drivers/clk/rockchip/clk-rk3399.c
index e445cd64952a..ede6c475b537 100644
--- a/drivers/clk/rockchip/clk-rk3399.c
+++ b/drivers/clk/rockchip/clk-rk3399.c
@@ -1489,6 +1489,7 @@ static const char *const rk3399_cru_critical_clocks[] __initconst = {
"hclk_perilp1",
"hclk_perilp1_noc",
"aclk_dmac0_perilp",
+ "aclk_emmc_noc",
"gpll_hclk_perilp1_src",
"gpll_aclk_perilp0_src",
"gpll_aclk_perihp_src",
--
2.8.0.rc3.226.g39d4020
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] clk: rockchip: mark aclk_emmc_noc as a critical clock on rk3399
2016-08-24 18:29 [PATCH] clk: rockchip: mark aclk_emmc_noc as a critical clock on rk3399 Douglas Anderson
@ 2016-08-24 22:25 ` Heiko Stübner
0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stübner @ 2016-08-24 22:25 UTC (permalink / raw)
To: linux-arm-kernel
Am Mittwoch, 24. August 2016, 11:29:39 schrieb Douglas Anderson:
> From: Xing Zheng <zhengxing@rock-chips.com>
>
> We don't have code to handle any of the noc clocks in rk3399 and they're
> all just listed as critical clocks. Let's do the same for
> aclk_emmc_noc.
>
> Without this clock being marked as critical we have problems around
> suspend/resume after commit 20c389e656a8 ("clk: rockchip: fix incorrect
> aclk_emmc source gate bits on rk3399"). Before that change we were
> presumably not actually gating any of these clocks because we were
> setting the wrong gate.
>
> Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
> Signed-off-by: Douglas Anderson <dianders@chromium.org>
applied to my clk-fixes branch
Thanks
Heiko
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-08-24 22:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-24 18:29 [PATCH] clk: rockchip: mark aclk_emmc_noc as a critical clock on rk3399 Douglas Anderson
2016-08-24 22:25 ` Heiko Stübner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).