clk: sunxi-ng: Mark A523 bus-r-cpucfg clock as critical
Subsystems (2)
Jernej Skrabec
maintainerPATCH v2 1/1 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 <[email protected]>
Reviewed-by Andre Przywara <[email protected]>
Tested-by Andre Przywara <[email protected]>
---
Changes from v1:
- fixed typos
- added r-b and t-b tags
drivers/clk/sunxi-ng/ccu-sun55i-a523-r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/sunxi-ng/ccu-sun55i-a523-r.c +1 -1
@@ -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,
Signature · 1 line
2.51.1
Chen-Yu Tsai
maintainerQuoted 6 lines · Jernej Skrabec
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.
Applied to sunxi/clk-fixes-for-6.18 in local tree, thanks!
[1/1] clk: sunxi-ng: Mark A523 bus-r-cpucfg clock as critical
commit: 1dba74abf3e2fa4484b924d8ba6e54e64ebb8c82
Best regards,
Signature · 1 line
Chen-Yu Tsai <[email protected]>