Files
linux/drivers/clk/starfive
Xingyu Wu 538d5477b2 clk: starfive: jh7110-sys: Add notifier for PLL0 clock
Add notifier function for PLL0 clock. In the function, the cpu_root clock
should be operated by saving its current parent and setting a new safe
parent (osc clock) before setting the PLL0 clock rate. After setting PLL0
rate, it should be switched back to the original parent clock.

Fixes: e2c510d6d6 ("riscv: dts: starfive: Add cpu scaling for JH7110 SoC")
Cc: [email protected]
Reviewed-by: Emil Renner Berthing <[email protected]>
Signed-off-by: Xingyu Wu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Hal Feng <[email protected]>
Tested-by: Michael Jeanson <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
2024-08-29 12:24:42 -07:00
..