]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: sunxi-ng: sun55i-a523-r-ccu: Mark bus-r-dma as critical
authorChen-Yu Tsai <wens@kernel.org>
Mon, 20 Oct 2025 17:10:51 +0000 (01:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 1 Dec 2025 10:45:50 +0000 (11:45 +0100)
commitad6fcccc4eed9d49233d6265aa57e93db0a14286
treec3369825da3cf4cb3c4ffc875a10a6b61fce9c60
parent4f2525a05ba00d8bcd63e2d2000ff89106f99704
clk: sunxi-ng: sun55i-a523-r-ccu: Mark bus-r-dma as critical

[ Upstream commit 5888533c6011de319c5f23ae147f1f291ce81582 ]

The "bus-r-dma" clock in the A523's PRCM clock controller is also
referred to as "DMA_CLKEN_SW" or "DMA ADB400 gating". It is unclear how
this ties into the DMA controller MBUS clock gate; however if the clock
is not enabled, the DMA controller in the MCU block will fail to access
DRAM, even failing to retrieve the DMA descriptors.

Mark this clock as critical. This sort of mirrors what is done for the
main DMA controller's MBUS clock, which has a separate toggle that is
currently left out of the main clock controller driver.

Fixes: 8cea339cfb81 ("clk: sunxi-ng: add support for the A523/T527 PRCM CCU")
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20251020171059.2786070-6-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/sunxi-ng/ccu-sun55i-a523-r.c