diff options
| author | Andre Przywara <[email protected]> | 2024-10-25 10:56:20 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2025-01-13 18:59:29 +0000 |
| commit | 087b4083d3f9d202266debc6b684b0662c96f51b (patch) | |
| tree | 9b56e9ca30dacf3a46fc22cfa40a653c0804a6e5 /net/unix/unix_bpf.c | |
| parent | Merge tag 'sunxi-clk-for-6.14' of https://git.kernel.org/pub/scm/linux/kernel... (diff) | |
| download | kernel-087b4083d3f9d202266debc6b684b0662c96f51b.tar.gz kernel-087b4083d3f9d202266debc6b684b0662c96f51b.zip | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Evgeny Boger <[email protected]>
Reviewed-by: Chen-Yu Tsai <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
