Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clk: pistachio: Fix override of clk-pll settings from boot loader
PLL enable callbacks are overriding PLL mode (int/frac) and Noise reduction (on/off) settings set by the boot loader which results in the incorrect clock rate. PLL mode and noise reduction are defined by the DSMPD and DACPD bits of the PLL control register. PLL .enable() callbacks enable PLL by deasserting all power-down bits of the PLL control register, including DSMPD and DACPD bits, which is not necessary since these bits don't actually enable/disable PLL. This commit fixes the problem by removing DSMPD and DACPD bits from the "PLL enable" mask. Fixes: 43049b0("CLK: Pistachio: Add PLL driver") Cc: <[email protected]> # 4.1 Reviewed-by: Andrew Bresitcker <[email protected]> Signed-off-by: Zdenko Pulitika <[email protected]> Signed-off-by: Govindraj Raja <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
- Loading branch information