]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
clk: imx: pll14xx: Fix quick switch of S/K parameter
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 4 Sep 2019 09:49:18 +0000 (12:49 +0300)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 30 Jan 2020 15:24:59 +0000 (16:24 +0100)
commitba3334923984e8af91e74f624fb5592e70c432a0
treebe602a8b993df493bbf4e83277acc5a3c3d1ff55
parent3f3e6fd7f0f1c27c629f18c6b76cbe4a55ac66ce
clk: imx: pll14xx: Fix quick switch of S/K parameter

BugLink: https://bugs.launchpad.net/bugs/1861085
commit 094234fcf46146339caaac8282aa15d225a5911a upstream.

The PLL14xx on imx8m can change the S and K parameter without requiring
a reset and relock of the whole PLL.

Fix clk_pll144xx_mp_change register reading and use it for pll1443 as
well since no reset+relock is required on K changes either.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Fixes: 8646d4dcc7fb ("clk: imx: Add PLLs driver for imx8mm soc")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/clk/imx/clk-pll14xx.c