On Mon, 05 Oct 2026 17:40:25 +0000, Dave Klotz wrote:
> ccu_mix_set_rate() picks the best parent and divider but writes only
> the divider. U-Boot's CCF has no determine_rate step that would reparent
> the clock first, so the clock keeps running from whatever source the
> mux selects, at a rate the caller never asked for. Worse, when the
> hardware mux selects a source that this build's parent list does not
> contain (the K1 SPL lists only pll1_d6_409p6 for the SDH clocks), init
> registers the clock under parents[0] and the clock framework's idea of
> the parent no longer matches the hardware.
>
> [...]
Applied, thanks!
[1/1] clk: spacemit: program the mux when setting a mix clock's rate
https://git.u-boot-project.org/u-boot/custodians/u-boot-spacemit/-/commit/43798d61492bee6e9305a2cfe731daa81a701295
Best regards,
--
Yixun Lan <[email protected]>