summaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/include
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2015-10-08 06:01:47 (GMT)
committerTom Rini <trini@konsulko.com>2015-10-18 00:16:13 (GMT)
commit8626cb8021d92603cb6a305fb686510a8d14d6bd (patch)
treeb9cf15c37ee746aaae4adfa5e511ca577b0a98a6 /arch/arm/mach-keystone/include
parentb9f06b360df8bb0abae810c4f75c539119d42683 (diff)
downloadu-boot-8626cb8021d92603cb6a305fb686510a8d14d6bd.tar.xz
ARM: k2e/l: Apply WA for selecting PA clock source
On keystone2 Lamarr and Edison platforms, the PA clocksource mux in PLL REG1, can be changed only after enabling its clock domain. So selecting the output of PASS PLL as input to PA only after enabling the clockdomain. This is as per the debug done by "Vitaly Andrianov <vitalya@ti.com>" and based on the previous work done by "Hao Zhang <hzhang@ti.com>" Fixes: d634a0775bcf ("ARM: keystone2: Cleanup PLL init code") Reported-by: Vitaly Andrianov <vitalya@ti.com> Tested-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/mach-keystone/include')
-rw-r--r--arch/arm/mach-keystone/include/mach/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/include/mach/clock.h b/arch/arm/mach-keystone/include/mach/clock.h
index ddc5f8e..7e51702 100644
--- a/arch/arm/mach-keystone/include/mach/clock.h
+++ b/arch/arm/mach-keystone/include/mach/clock.h
@@ -118,6 +118,7 @@ unsigned long clk_round_rate(unsigned int clk, unsigned long hz);
int clk_set_rate(unsigned int clk, unsigned long hz);
int get_max_dev_speed(void);
int get_max_arm_speed(void);
+void pll_pa_clk_sel(void);
#endif
#endif