clk: imx: imx8mq: fix sys3_pll_out_sels
authorPeng Fan <peng.fan@nxp.com>
Mon, 28 Oct 2019 03:08:34 +0000 (03:08 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 4 Nov 2019 01:10:49 +0000 (09:10 +0800)
commitbceed71ba13116de4b1459c2c6db47d927b48e68
tree78c4390183ff0865b94a22ca798172cd184a4782
parent72b2429d40d878bfdd066b9401c9a5cbb2a755d3
clk: imx: imx8mq: fix sys3_pll_out_sels

It is not correct that sys3_pll_out use sys2_pll1_ref_sel as parent.

According to the current imx_clk_sccg_pll design, it uses both
bypass1/2, however set bypass2 as 1 is not correct, because it will
make sys[x]_pll_out use wrong parent and might access wrong registers.

So correct bypass2 to 0 and fix sys3_pll_out_sels.

Fixes: e9dda4af685f ("clk: imx: Refactor entire sccg pll clk")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-imx8mq.c