On 2026-10-11T22:28:36, Jonas Karlman <[email protected]> wrote: > clk: rockchip: pll: Always write the k parameter > > The k parameter supplies the fractional part of an rk3588-style PLL > rate. When changing from a fractional rate to an integer rate, the > k value is left unchanged, leaving the old fractional part active. > > Always write k to the register, including zero, so integer rates clear > any prior fractional part. This also matches how Linux configures these > PLLs. > > Fixes: b851c006a150 ("clk: rockchip: pll: Add pll_rk3588 type for rk3588") > Signed-off-by: Jonas Karlman <[email protected]> > Reviewed-by: Quentin Schulz <[email protected]> > > drivers/clk/rockchip/clk_pll.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-)
Reviewed-by: Simon Glass <[email protected]>
