11 Jun 2012 21:57
[PATCH RESEND 1/2] serial/8250: Add LPC3220 standard UART type
Roland Stigge <stigge <at> antcom.de>
2012-06-11 19:57:13 GMT
2012-06-11 19:57:13 GMT
LPC32xx has "Standard" UARTs that are actually 16550A compatible but have
bigger FIFOs. Since the already supported 16X50 line still doesn't match here,
we agreed on adding a new type.
Signed-off-by: Roland Stigge <stigge <at> antcom.de>
Acked-by: Alan Cox <alan <at> linux.intel.com>
Acked-by: Arnd Bergmann <arnd <at> arndb.de>
---
Applies to v3.5-rc2
drivers/tty/serial/8250/8250.c | 8 ++++++++
include/linux/serial_core.h | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
--- linux-2.6.orig/drivers/tty/serial/8250/8250.c
+++ linux-2.6/drivers/tty/serial/8250/8250.c
<at> <at> -282,6 +282,14 <at> <at> static const struct serial8250_config ua
.fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10,
.flags = UART_CAP_FIFO | UART_CAP_AFE | UART_CAP_EFR,
},
+ [PORT_LPC3220] = {
+ .name = "LPC3220",
+ .fifo_size = 64,
+ .tx_loadsz = 32,
+ .fcr = UART_FCR_DMA_SELECT | UART_FCR_ENABLE_FIFO |
+ UART_FCR_R_TRIG_00 | UART_FCR_T_TRIG_00,
+ .flags = UART_CAP_FIFO,
+ },
};
(Continue reading)
RSS Feed