arm: lpc32xx: switch to common clock framework
authorVladimir Zapolskiy <vz@mleia.com>
Fri, 20 Nov 2015 01:05:10 +0000 (03:05 +0200)
committerVladimir Zapolskiy <vz@mleia.com>
Thu, 11 Feb 2016 00:24:53 +0000 (02:24 +0200)
commitc227f127e3b10b1de4c6b08eb73e0081f585fbe8
treee84116b7d098498be4bba8e3192683d5af7ed9d3
parent92e963f50fc74041b5e9e744c330dca48e04f08d
arm: lpc32xx: switch to common clock framework

The change switches NXP LPC32xx platforms to LPC32xx clock driver
powered by common clock framework, this obsoletes mach-lpc32xx/clock.o
legacy clock driver and thus it is removed.

Legacy timer driver mach-lpc32xx/timer.o strictly depends on legacy
clock support, but fortunately an existing LPC32xx clock source and
clock event driver completely replaces it, and thus it can be removed
as well.

Noticeably platform UART driver directly operates on LPC32xx source
control block registers, remove this dependency to avoid overlapping
with common clock framework driver, also this guarantees that UART is
working expectedly.

Tested-by: Sylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/Kconfig
arch/arm/mach-lpc32xx/Makefile
arch/arm/mach-lpc32xx/clock.c [deleted file]
arch/arm/mach-lpc32xx/phy3250.c
arch/arm/mach-lpc32xx/serial.c
arch/arm/mach-lpc32xx/timer.c [deleted file]