[RFC PATCH 0/2] clk: sunxi-ng: a64: Remove CPUX mux switching

From: Icenowy Zheng
Date: Mon Nov 09 2020 - 00:34:43 EST


According to Ondrej Jirman, switching of the mux of CPUX clock is one of
the sources of timer jumps on A64 (and maybe this will also lead to
timer jump on H3).

This patchset tries to remove this mux by disabling the dividers in
PLL-CPUX. Both the lack of reparent when relocking and the prevention of
PLL-CPUX dividers are behaviors of the BSP kernel.

Icenowy Zheng (2):
clk: sunxi-ng: a64: disable dividers in PLL-CPUX
clk: sunxi-ng: a64: disable mux and pll notifiers for CPUX reclocking

drivers/clk/sunxi-ng/ccu-sun50i-a64.c | 93 ++++++++++++++++++++++-----
1 file changed, 78 insertions(+), 15 deletions(-)

--
2.28.0