]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit37610b869b4d87495412d6ebcb84b59e215e6815
tree78c4390183ff0865b94a22ca798172cd184a4782
parentc754849f02ef1b4145e77a567e4045ccbbdb7345
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: 9afc9e71fcfc ("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