[RFC PATCH] clk: sunxi-ng: h616: Reparent CPU clock during frequency changes

Stephen Boyd sboyd at kernel.org
Mon Jan 13 10:59:58 PST 2025


Quoting Andre Przywara (2024-10-25 03:56:20)
> The H616 user manual recommends to re-parent the CPU clock during
> frequency changes of the PLL, and recommends PLL_PERI0(1X), which runs
> at 600 MHz. Also it asks to disable and then re-enable the PLL lock bit,
> after the factor changes have been applied.
> 
> Add clock notifiers for the PLL and the CPU mux clock, using the existing
> notifier callbacks, and tell them to use mux 4 (the PLL_PERI0(1X) source),
> and bit 29 (the LOCK_ENABLE) bit. The existing code already follows the
> correct algorithms.
> 
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
> ---

Applied to clk-next



More information about the linux-arm-kernel mailing list