diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-11-20 03:05:10 +0200 |
---|---|---|
committer | Vladimir Zapolskiy <vz@mleia.com> | 2016-02-11 02:24:53 +0200 |
commit | c227f127e3b10b1de4c6b08eb73e0081f585fbe8 (patch) | |
tree | e84116b7d098498be4bba8e3192683d5af7ed9d3 /arch/arm/Kconfig | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | lwn-c227f127e3b10b1de4c6b08eb73e0081f585fbe8.tar.gz lwn-c227f127e3b10b1de4c6b08eb73e0081f585fbe8.zip |
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>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4f799e567fc8..948ae1938ade 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -527,7 +527,8 @@ config ARCH_LPC32XX select ARCH_REQUIRE_GPIOLIB select ARM_AMBA select CLKDEV_LOOKUP - select CLKSRC_MMIO + select CLKSRC_LPC32XX + select COMMON_CLK select CPU_ARM926T select GENERIC_CLOCKEVENTS select HAVE_IDE |