]> git.sur5r.net Git - u-boot/commit
ARM: k2e/l: Apply WA for selecting PA clock source
authorLokesh Vutla <lokeshvutla@ti.com>
Thu, 8 Oct 2015 06:01:47 +0000 (11:31 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 18 Oct 2015 00:16:13 +0000 (20:16 -0400)
commit8626cb8021d92603cb6a305fb686510a8d14d6bd
treeb9cf15c37ee746aaae4adfa5e511ca577b0a98a6
parentb9f06b360df8bb0abae810c4f75c539119d42683
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>
arch/arm/mach-keystone/clock.c
arch/arm/mach-keystone/include/mach/clock.h
board/ti/ks2_evm/board.c