]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: clk-pll14xx: unbypass PLL by default
authorPeng Fan <peng.fan@nxp.com>
Mon, 9 Sep 2019 03:39:39 +0000 (03:39 +0000)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 Sep 2019 05:53:34 +0000 (22:53 -0700)
commit3b08af2a16f0100f4f2910cf513f7a97cc1f480e
treeb85a80cef6473c4dfead970eeb04b3f5e735efc7
parent9c37deac4ea2153ee9176c94f69228b9425b095e
clk: imx: clk-pll14xx: unbypass PLL by default

When registering the PLL, unbypass the PLL.
The PLL has two bypass control bit, BYPASS and EXT_BYPASS.
we will expose EXT_BYPASS to clk driver for mux usage, and keep
BYPASS inside pll14xx usage. The PLL has a restriction that
when M/P change, need to RESET/BYPASS pll to avoid glitch, so
we could not expose BYPASS.

To make it easy for clk driver usage, unbypass PLL which does
not hurt current function.

Fixes: 7b05f9ea0569 ("clk: imx: Add PLLs driver for imx8mm soc")
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lkml.kernel.org/r/1568043491-20680-3-git-send-email-peng.fan@nxp.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-pll14xx.c