]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
clk: spacemit: k3: mark top_dclk as CLK_IS_CRITICAL
authorTroy Mitchell <troy.mitchell@linux.spacemit.com>
Fri, 24 Apr 2026 08:20:32 +0000 (16:20 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 29 Apr 2026 02:03:08 +0000 (19:03 -0700)
commit3e75021f615ceee8562e6455c335936b39929ffb
tree611f2ee31fb860c67b6cd47096863980867094dc
parent254f49634ee16a731174d2ae34bc50bd5f45e731
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: e371a77255b8 ("clk: spacemit: k3: add the clock tree")
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/spacemit/ccu-k3.c