MLK-22487-1 clk: imx: clk-pll14xx: unbypass PLL by default
authorPeng Fan <peng.fan@nxp.com>
Thu, 22 Aug 2019 03:18:13 +0000 (11:18 +0800)
committerPeng Fan <peng.fan@nxp.com>
Mon, 26 Aug 2019 09:25:36 +0000 (17:25 +0800)
commit47447f63cd800f4c8bfb3f2208ccae014c472a76
treec109c399f6914a3ef47b90bfbd067c702b9df9e4
parent2411e1225375920f2f30093f32cac3bbbb7b8dbb
MLK-22487-1 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.

Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/clk/imx/clk-pll14xx.c