All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] clk: rockchip: mark pclk_uart2 as critical on rk3328
@ 2020-07-08 14:45 ` Johan Jonker
  0 siblings, 0 replies; 14+ messages in thread
From: Johan Jonker @ 2020-07-08 14:45 UTC (permalink / raw)
  To: heiko
  Cc: zhangqing, mturquette, sboyd, linux-clk, linux-arm-kernel,
	linux-rockchip, linux-kernel

The rk3328 uart2 port is used as boot console and to debug.
During the boot pclk_uart2 is disabled by a clk_disable_unused
initcall. Fix the uart2 function by marking pclk_uart2
as critical on rk3328. Also add sclk_uart2 as that is needed
for the same DT node.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
---
 drivers/clk/rockchip/clk-rk3328.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/clk/rockchip/clk-rk3328.c b/drivers/clk/rockchip/clk-rk3328.c
index c186a1985..cb7749cb7 100644
--- a/drivers/clk/rockchip/clk-rk3328.c
+++ b/drivers/clk/rockchip/clk-rk3328.c
@@ -875,6 +875,8 @@ static const char *const rk3328_critical_clocks[] __initconst = {
 	"aclk_gmac_niu",
 	"pclk_gmac_niu",
 	"pclk_phy_niu",
+	"pclk_uart2",
+	"sclk_uart2",
 };
 
 static void __init rk3328_clk_init(struct device_node *np)
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-07-10  1:30 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08 14:45 [PATCH] clk: rockchip: mark pclk_uart2 as critical on rk3328 Johan Jonker
2020-07-08 14:45 ` Johan Jonker
2020-07-08 15:34 ` Robin Murphy
2020-07-08 15:34   ` Robin Murphy
2020-07-08 16:28   ` Johan Jonker
2020-07-08 16:28     ` Johan Jonker
2020-07-08 18:44     ` Robin Murphy
2020-07-08 18:44       ` Robin Murphy
2020-07-09  1:32 ` elaine.zhang
2020-07-09  1:32   ` elaine.zhang
2020-07-09 12:04   ` Johan Jonker
2020-07-09 12:04     ` Johan Jonker
2020-07-10  1:28     ` elaine.zhang
2020-07-10  1:28       ` elaine.zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.