]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: imx8mn: fix pll mux bit
authorPeng Fan <peng.fan@nxp.com>
Mon, 9 Sep 2019 03:39:50 +0000 (03:39 +0000)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 Sep 2019 05:53:34 +0000 (22:53 -0700)
commit3216fd3711831eb2091adb39952dfae7e8ed3d30
tree70abdbf5ba143bc8e77771085d6319ca57a36b09
parentabf872d1fca957b128bf64f49faa9daf9005ad3d
clk: imx: imx8mn: fix pll mux bit

pll BYPASS bit should be kept inside pll driver for glitchless freq
setting following spec. If exposing the bit, that means pll driver and
clk driver has two paths to touch this bit, which is wrong.

So use EXT_BYPASS bit here.

And drop uneeded set parent, because EXT_BYPASS default is 0.

Suggested-by: Jacky Bai <ping.bai@nxp.com>
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-5-git-send-email-peng.fan@nxp.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx8mn.c