clk: pistachio: Fix override of clk-pll settings from boot loader
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: 43049b0c83f17("CLK: Pistachio: Add PLL driver")
Cc: <4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@vger.kernel.org> # 4.1
Reviewed-by: Andrew Bresitcker <6f9d97df82107736b1c4f0e11d74242c25499ec8@chromium.org>
Signed-off-by: Zdenko Pulitika <76012f4c24ac9bb9e9a9f7e412894c52fd050640@imgtec.com>
Signed-off-by: Govindraj Raja <f4f6ed1f4b62867ce26898e63a0cee63dab427c0@imgtec.com>
Signed-off-by: Stephen Boyd <010521127f513270fe503d86ab8316ac5147f4b7@codeaurora.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs