mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-17 14:18:14 +01:00
imx9: clock: clear HW_CTRL_SEL
The HW_CTRL_SEL should be cleared when configuring PLL to avoid potential glitch Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
0079893920
commit
59ecc85bcc
@ -206,6 +206,9 @@ int configure_intpll(enum ccm_clk_src pll, u32 freq)
|
||||
return -EPERM;
|
||||
}
|
||||
|
||||
/* Clear PLL HW CTRL SEL */
|
||||
setbits_le32(®->ctrl.reg_clr, PLL_CTRL_HW_CTRL_SEL);
|
||||
|
||||
/* Bypass the PLL to ref */
|
||||
writel(PLL_CTRL_CLKMUX_BYPASS, ®->ctrl.reg_set);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user