[PATCH] clk: zynqmp: pll: Fix divider calculation to avoid out-of-range rate

Stephen Boyd sboyd at kernel.org
Fri Sep 30 17:05:01 PDT 2022


+Maxime

Quoting Quanyang Wang (2022-09-28 18:05:10)
> Hi Laurent,
> 
> I have sent a patch as below to fix this issue which set rate failed and 
> it's in linux-next repo now.
> 
> https://lore.kernel.org/linux-arm-kernel/20220826142030.213805-1-quanyang.wang@windriver.com/T/
> 
> 
> As for the frequency gap between the requested rate and the actual, it's 
> because of the commit:
> 
> commit 948fb0969eae8
> Author: Maxime Ripard <maxime at cerno.tech>
> Date:   Fri Feb 25 15:35:26 2022 +0100
> 
>      clk: Always clamp the rounded rate
> 
> And I haven't figured out how to fix it.
> 

Maxime has some more patches to fix this and they're in linux-next.
Maybe those fix this problem?



More information about the linux-arm-kernel mailing list