diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2015-11-20 02:05:10 +0100 |
---|---|---|
committer | Vladimir Zapolskiy <vz@mleia.com> | 2016-02-11 01:24:53 +0100 |
commit | c227f127e3b10b1de4c6b08eb73e0081f585fbe8 (patch) | |
tree | e84116b7d098498be4bba8e3192683d5af7ed9d3 /arch/arm/mach-lpc32xx/serial.c | |
parent | Linux 4.5-rc1 (diff) | |
download | linux-c227f127e3b10b1de4c6b08eb73e0081f585fbe8.tar.xz linux-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/mach-lpc32xx/serial.c')
-rw-r--r-- | arch/arm/mach-lpc32xx/serial.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-lpc32xx/serial.c b/arch/arm/mach-lpc32xx/serial.c index 05621a29fba2..1931229a1eaa 100644 --- a/arch/arm/mach-lpc32xx/serial.c +++ b/arch/arm/mach-lpc32xx/serial.c @@ -76,9 +76,6 @@ void __init lpc32xx_serial_init(void) unsigned int puart; int i, j; - /* UART clocks are off, let clock driver manage them */ - __raw_writel(0, LPC32XX_CLKPWR_UART_CLK_CTRL); - for (i = 0; i < ARRAY_SIZE(uartinit_data); i++) { clk = clk_get(NULL, uartinit_data[i].uart_ck_name); if (!IS_ERR(clk)) { |