summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/keystone/clock.c
diff options
context:
space:
mode:
authorHao Zhang <hzhang@ti.com>2014-07-16 00:59:23 +0300
committerTom Rini <trini@ti.com>2014-07-25 16:26:11 -0400
commit4dca7f0acc88708100a2b25b019befc9eea02f45 (patch)
treec650b1e7a8fe0490f84ab649adca2bc46c0c5e5b /arch/arm/cpu/armv7/keystone/clock.c
parent5c76f78858054e27c6c21e34307003b3649c61ae (diff)
downloadblackbird-obmc-uboot-4dca7f0acc88708100a2b25b019befc9eea02f45.tar.gz
blackbird-obmc-uboot-4dca7f0acc88708100a2b25b019befc9eea02f45.zip
ARM: keystone2: clock: add K2E clock support
This patch adds clock definitions and commands to support Keystone2 K2E SOC. Signed-off-by: Hao Zhang <hzhang@ti.com> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/keystone/clock.c')
-rw-r--r--arch/arm/cpu/armv7/keystone/clock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/keystone/clock.c b/arch/arm/cpu/armv7/keystone/clock.c
index 42b664b576..03c1d9f660 100644
--- a/arch/arm/cpu/armv7/keystone/clock.c
+++ b/arch/arm/cpu/armv7/keystone/clock.c
@@ -106,6 +106,7 @@ void init_pll(const struct pll_init_data *data)
tmp = pllctl_reg_setbits(data->pll, ctl, PLLCTL_PLLEN);
+#ifndef CONFIG_SOC_K2E
} else if (data->pll == TETRIS_PLL) {
bwadj = pllm >> 1;
/* 1.5 Set PLLCTL0[BYPASS] =1 (enable bypass), */
@@ -156,6 +157,7 @@ void init_pll(const struct pll_init_data *data)
* only applicable for Kepler
*/
setbits_le32(KS2_MISC_CTRL, KS2_ARM_PLL_EN);
+#endif
} else {
setbits_le32(keystone_pll_regs[data->pll].reg1, PLLCTL_ENSAT);
/*
OpenPOWER on IntegriCloud