]> 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)
commitf5ef41144b744369f9922216817abd31b50d8e13
tree78c4390183ff0865b94a22ca798172cd184a4782
parentb1907dfabb602ad842b74544fce4ee61df668fdf
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: fdbc3a162e83 ("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