Unverified Commit 3e75021f authored by Troy Mitchell's avatar Troy Mitchell Committed by Stephen Boyd
Browse files

clk: spacemit: k3: mark top_dclk as CLK_IS_CRITICAL



top_dclk is the DDR bus clock. If it is gated by clk_disable_unused,
all memory-mapped bus transactions cease to function, causing DMA
engines to hang and general system instability.

Mark it CLK_IS_CRITICAL so the CCF never gates it during the
unused clock sweep.

Fixes: e371a772 ("clk: spacemit: k3: add the clock tree")
Reviewed-by: default avatarBrian Masney <bmasney@redhat.com>
Signed-off-by: default avatarTroy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 254f4963
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -846,7 +846,7 @@ static const struct clk_parent_data top_parents[] = {
	CCU_PARENT_HW(pll6_d3),
};
CCU_MUX_DIV_GATE_FC_DEFINE(top_dclk, top_parents, APMU_TOP_DCLK_CTRL, 5, 3,
			   BIT(8), 2, 3, BIT(1), 0);
			   BIT(8), 2, 3, BIT(1), CLK_IS_CRITICAL);

static const struct clk_parent_data ucie_parents[] = {
	CCU_PARENT_HW(pll1_d8_307p2),