ARM: keystone2: Cleanup PLL init code
authorLokesh Vutla <lokeshvutla@ti.com>
Tue, 28 Jul 2015 08:46:43 +0000 (14:16 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 13 Aug 2015 00:47:52 +0000 (20:47 -0400)
commitc321a2362463ce54ae73ef59bee4b620d9f26acf
tree5345d954cc31eae318282f05a6c4ac88d10262fd
parentaeabe652bbfd1ed11e0e0eebb46812afdb2e9401
ARM: keystone2: Cleanup PLL init code

There are two types of PLL for all keystone platforms:
Main PLL, Secondary PLL. Instead of duplicating the same definition
for each secondary PLL, have a common function which does
initialization for both PLLs. And also add proper register
definitions.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/mach-keystone/clock.c
arch/arm/mach-keystone/include/mach/clock-k2e.h
arch/arm/mach-keystone/include/mach/clock.h
arch/arm/mach-keystone/include/mach/clock_defs.h
board/ti/ks2_evm/board.c
board/ti/ks2_evm/board_k2e.c
board/ti/ks2_evm/board_k2hk.c
board/ti/ks2_evm/board_k2l.c