Commit 1dba74ab authored by Jernej Skrabec's avatar Jernej Skrabec Committed by Chen-Yu Tsai
Browse files

clk: sunxi-ng: Mark A523 bus-r-cpucfg clock as critical



bus-r-cpucfg clock is important for peripheral which takes care of
powering CPU cores on and off. Since this operation is done by firmware
(TF-A), mark it as critical. That way Linux won't interfere with that
clock.

Fixes: 8cea339c ("clk: sunxi-ng: add support for the A523/T527 PRCM CCU")
Signed-off-by: default avatarJernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: default avatarAndre Przywara <andre.przywara@arm.com>
Tested-by: default avatarAndre Przywara <andre.przywara@arm.com>
Link: https://patch.msgid.link/20251020152704.4804-1-jernej.skrabec@gmail.com


Signed-off-by: default avatarChen-Yu Tsai <wens@kernel.org>
parent 3a866087
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ static SUNXI_CCU_GATE_HW(bus_r_dma_clk, "bus-r-dma",
static SUNXI_CCU_GATE_HW(bus_r_rtc_clk, "bus-r-rtc",
			 &r_apb0_clk.common.hw, 0x20c, BIT(0), 0);
static SUNXI_CCU_GATE_HW(bus_r_cpucfg_clk, "bus-r-cpucfg",
			 &r_apb0_clk.common.hw, 0x22c, BIT(0), 0);
			 &r_apb0_clk.common.hw, 0x22c, BIT(0), CLK_IS_CRITICAL);

static struct ccu_common *sun55i_a523_r_ccu_clks[] = {
	&r_ahb_clk.common,