]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: fracn-gppll: fix fractional part of PLL getting lost
authorPengfei Li <pengfei.li_1@nxp.com>
Fri, 7 Jun 2024 13:33:36 +0000 (21:33 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Fri, 21 Jun 2024 06:35:22 +0000 (09:35 +0300)
commit7622f888fca125ae46f695edf918798ebc0506c5
treee5be8e049a382399b12ff22d7fb675f3b0e1a97f
parent4717ccadb51e2630790dddd222830702de17f090
clk: imx: fracn-gppll: fix fractional part of PLL getting lost

Fractional part of PLL gets lost after re-enabling the PLL. the
MFN can NOT be automatically loaded when doing frac PLL enable/disable,
So when re-enable PLL, configure mfn explicitly.

Fixes: 1b26cb8a77a4 ("clk: imx: support fracn gppll")
Signed-off-by: Pengfei Li <pengfei.li_1@nxp.com>
Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240607133347.3291040-5-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-fracn-gppll.c