]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:25 +0000 (16:29 +0200)
commit908165b5d369e386ee191a028a5551e22f23fe36
treed49358add8e32c9db3788e8db68bca0ebba6dd60
parented323659a011de41a2a58a86f0a521117faa5c10
clk: imx: fracn-gppll: fix fractional part of PLL getting lost

[ Upstream commit 7622f888fca125ae46f695edf918798ebc0506c5 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-fracn-gppll.c