diff options
author | Andre Przywara <andre.przywara@arm.com> | 2024-10-25 13:56:20 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2025-01-13 21:59:29 +0300 |
commit | 087b4083d3f9d202266debc6b684b0662c96f51b (patch) | |
tree | 9b56e9ca30dacf3a46fc22cfa40a653c0804a6e5 /scripts/extract-fwblobs | |
parent | 214e7a51f7c12c45decbd8fa37e437b09af7b14e (diff) | |
download | linux-087b4083d3f9d202266debc6b684b0662c96f51b.tar.xz |
clk: sunxi-ng: h616: Reparent CPU clock during frequency changes
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@arm.com>
Link: https://lore.kernel.org/r/20241025105620.1891596-1-andre.przywara@arm.com
Tested-by: Evgeny Boger <boger@wirenboard.com>
Reviewed-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions