summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/clk/dpll-ld20.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-27 23:47:00 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2016-10-29 17:01:40 +0900
commit295326231d1ca8e1e81dbf799a642c5348bc8804 (patch)
tree9b7619454884be032f9147f883d69d74d4631393 /arch/arm/mach-uniphier/clk/dpll-ld20.c
parentdd39ee8a545132431b6441135c707e2c49317f8b (diff)
downloadu-boot-imx-295326231d1ca8e1e81dbf799a642c5348bc8804.zip
u-boot-imx-295326231d1ca8e1e81dbf799a642c5348bc8804.tar.gz
u-boot-imx-295326231d1ca8e1e81dbf799a642c5348bc8804.tar.bz2
ARM: uniphier: enable SSC for more PLLs for LD20 SoC
For Electro-Magnetic Compatibility. Set CPLL, SPLL2, MPLL, VPPLL, GPPLL, DPLL* to SSC rate 1 percent. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm/mach-uniphier/clk/dpll-ld20.c')
-rw-r--r--arch/arm/mach-uniphier/clk/dpll-ld20.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/arm/mach-uniphier/clk/dpll-ld20.c b/arch/arm/mach-uniphier/clk/dpll-ld20.c
index 1132313..86e99c4 100644
--- a/arch/arm/mach-uniphier/clk/dpll-ld20.c
+++ b/arch/arm/mach-uniphier/clk/dpll-ld20.c
@@ -11,12 +11,9 @@
int uniphier_ld20_dpll_init(const struct uniphier_board_data *bd)
{
- unsigned int dpll_ssc_rate = UNIPHIER_BD_DPLL_SSC_GET_RATE(bd->flags);
- unsigned int dram_freq = bd->dram_freq;
-
- uniphier_ld20_sscpll_init(SC_DPLL0CTRL, dram_freq, dpll_ssc_rate, 2);
- uniphier_ld20_sscpll_init(SC_DPLL1CTRL, dram_freq, dpll_ssc_rate, 2);
- uniphier_ld20_sscpll_init(SC_DPLL2CTRL, dram_freq, dpll_ssc_rate, 2);
+ uniphier_ld20_sscpll_init(SC_DPLL0CTRL, UNIPHIER_PLL_FREQ_DEFAULT, 0, 2);
+ uniphier_ld20_sscpll_init(SC_DPLL1CTRL, UNIPHIER_PLL_FREQ_DEFAULT, 0, 2);
+ uniphier_ld20_sscpll_init(SC_DPLL2CTRL, UNIPHIER_PLL_FREQ_DEFAULT, 0, 2);
return 0;
}