On 2026-10-11T22:28:36, Jonas Karlman <[email protected]> wrote:
> clk: rockchip: pll: Always write the dsmpd flag
>
> The dsmpd flag controls whether an rk3036-style PLL uses fractional
> mode. When changing from a fractional rate to an integer rate, the
> dsmpd field is left cleared, keeping fractional mode active.
>
> Always write dsmpd to the register so integer rates disable fractional
> mode. This also matches how Linux configures these PLLs.
>
> Fixes: bbda2ed5840c ("rockchip: clk: pll: add common pll setting funcs")
> Signed-off-by: Jonas Karlman <[email protected]>
> Reviewed-by: Quentin Schulz <[email protected]>
>
>  drivers/clk/rockchip/clk_pll.c | 9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to