Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c227f127 authored by Vladimir Zapolskiy's avatar Vladimir Zapolskiy
Browse files

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: default avatarSylvain Lemieux <slemieux@tycoint.com>
Signed-off-by: default avatarVladimir Zapolskiy <vz@mleia.com>
parent 92e963f5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
# Makefile for the linux kernel.
#

obj-y	:= timer.o irq.o common.o serial.o clock.o
obj-y	:= irq.o common.o serial.o
obj-y	+= pm.o suspend.o
obj-y	+= phy3250.o
Loading