summaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/patches-3.3/0028-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-03 08:53:02 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-08-03 08:53:02 +0000
commitcea2b4210d9b3706cad3cc60cc54dde063e09b58 (patch)
tree81a9746583b2c1c212f8c35a51d07d9353080561 /target/linux/lantiq/patches-3.3/0028-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch
parent6b899d5deac5b0ad531d7a7f2d1d241727848535 (diff)
[lantiq] cleanup patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32953 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/patches-3.3/0028-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch')
-rw-r--r--target/linux/lantiq/patches-3.3/0028-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch66
1 files changed, 0 insertions, 66 deletions
diff --git a/target/linux/lantiq/patches-3.3/0028-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch b/target/linux/lantiq/patches-3.3/0028-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch
deleted file mode 100644
index 6390e787c..000000000
--- a/target/linux/lantiq/patches-3.3/0028-MIPS-lantiq-convert-falcon-debug-uart-to-clkdev-api.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From 7ab075944587e4fe7e2688b1df85452e3d86edb5 Mon Sep 17 00:00:00 2001
-From: John Crispin <blogic@openwrt.org>
-Date: Tue, 21 Feb 2012 14:25:21 +0100
-Subject: [PATCH 28/70] MIPS: lantiq: convert falcon debug uart to clkdev api
-
-On Falcon SoCs we have a secondary serial port that can be used to help
-debug the voice core. For the port to work several clocking bits need to
-be activated. We convert the code to clkdev api.
-
-Signed-off-by: John Crispin <blogic@openwrt.org>
----
- arch/mips/lantiq/falcon/prom.c | 4 +---
- drivers/tty/serial/lantiq.c | 7 ++++---
- 2 files changed, 5 insertions(+), 6 deletions(-)
-
---- a/arch/mips/lantiq/falcon/prom.c
-+++ b/arch/mips/lantiq/falcon/prom.c
-@@ -43,10 +43,8 @@ ltq_soc_setup(void)
- ltq_register_asc(0);
- ltq_register_wdt();
- falcon_register_gpio();
-- if (register_asc1) {
-+ if (register_asc1)
- ltq_register_asc(1);
-- ltq_sysctl_activate(SYSCTL_SYS1, ACTS_ASC1_ACT);
-- }
- }
-
- void __init
---- a/drivers/tty/serial/lantiq.c
-+++ b/drivers/tty/serial/lantiq.c
-@@ -117,6 +117,7 @@ static DEFINE_SPINLOCK(ltq_asc_lock);
-
- struct ltq_uart_port {
- struct uart_port port;
-+ struct clk *fpiclk;
- struct clk *clk;
- unsigned int tx_irq;
- unsigned int rx_irq;
-@@ -319,7 +320,7 @@ lqasc_startup(struct uart_port *port)
- struct ltq_uart_port *ltq_port = to_ltq_uart_port(port);
- int retval;
-
-- port->uartclk = clk_get_rate(ltq_port->clk);
-+ port->uartclk = clk_get_rate(ltq_port->fpiclk);
-
- ltq_w32_mask(ASCCLC_DISS | ASCCLC_RMCMASK, (1 << ASCCLC_RMCOFFSET),
- port->membase + LTQ_ASC_CLC);
-@@ -646,7 +647,7 @@ lqasc_console_setup(struct console *co,
-
- port = &ltq_port->port;
-
-- port->uartclk = clk_get_rate(ltq_port->clk);
-+ port->uartclk = clk_get_rate(ltq_port->fpiclk);
-
- if (options)
- uart_parse_options(options, &baud, &parity, &bits, &flow);
-@@ -731,7 +732,7 @@ lqasc_probe(struct platform_device *pdev
- port->irq = tx_irq; /* unused, just to be backward-compatibe */
- port->mapbase = mmres->start;
-
-- ltq_port->clk = clk;
-+ ltq_port->fpiclk = clk;
-
- ltq_port->tx_irq = tx_irq;
- ltq_port->rx_irq = rx_irq;