Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 8cea339cfb81 ("clk: sunxi-ng: add support for the A523/T527 PRCM CCU")
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Link: https://patch.msgid.link/20251020152704.4804-1-jernej.skrabec@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@kernel.org>

authored by

Jernej Skrabec and committed by
Chen-Yu Tsai
1dba74ab 3a866087

+1 -1
+1 -1
drivers/clk/sunxi-ng/ccu-sun55i-a523-r.c
··· 125 125 static SUNXI_CCU_GATE_HW(bus_r_rtc_clk, "bus-r-rtc", 126 126 &r_apb0_clk.common.hw, 0x20c, BIT(0), 0); 127 127 static SUNXI_CCU_GATE_HW(bus_r_cpucfg_clk, "bus-r-cpucfg", 128 - &r_apb0_clk.common.hw, 0x22c, BIT(0), 0); 128 + &r_apb0_clk.common.hw, 0x22c, BIT(0), CLK_IS_CRITICAL); 129 129 130 130 static struct ccu_common *sun55i_a523_r_ccu_clks[] = { 131 131 &r_ahb_clk.common,