linux/drivers/tty/serial/8250
Sergey Yanovich ab28f51c77 serial: rewrite pxa2xx-uart to use 8250_core
pxa2xx-uart was a separate uart platform driver. It was declaring
the same device names and numbers as 8250 driver. As a result,
it was impossible to use 8250 driver on PXA SoCs.

Upon closer examination pxa2xx-uart turned out to be a clone of
8250_core driver.

Workaround for Erratum #19 according to Marvel(R) PXA270M Processor
Specification Update (April 19, 2010) is dropped. 8250_core reads
from FIFO immediately after checking DR bit in LSR.

The patch leaves the original SERIAL_PXA driver around. The original
driver is just marked DEPRECATED in Kconfig and C source. When
the original driver is considered safe to remove, no changes
to SERIAL_8250 will be necessary.

Compiling SERIAL_8250_CONSOLE and SERIAL_PXA_CONSOLE even without
SERIAL_8250_PXA breaks console for SERIAL_PXA. For this reasons, the new
and the original drivers are made mutually exclusive.

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
CC: Heikki Krogerus <heikki.krogerus@linux.intel.com>
CC: James Cameron <quozl@laptop.org>
CC: Robert Jarzmik <robert.jarzmik@free.fr>
CC: Russell King <linux@arm.linux.org.uk>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
[rebased on v4.8]
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-27 16:03:09 +02:00
..
8250.h Merge 4.8-rc5 into tty-next 2016-09-05 08:11:21 +02:00
8250_accent.c
8250_acorn.c
8250_bcm2835aux.c
8250_boca.c
8250_core.c Merge 4.8-rc5 into tty-next 2016-09-05 08:11:21 +02:00
8250_dma.c serial: 8250_dma: adjust DMA address of the UART 2016-08-31 16:13:29 +02:00
8250_dw.c TTY/Serial patches for 4.9-rc1 2016-10-03 20:11:49 -07:00
8250_early.c
8250_em.c
8250_exar_st16c554.c
8250_fintek.c
8250_fourport.c
8250_fsl.c
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_ingenic.c
8250_lpc18xx.c
8250_lpss.c serial: 8250_lpss: enable DMA on Intel Quark UART 2016-08-31 16:13:30 +02:00
8250_mid.c Merge 4.8-rc5 into tty-next 2016-09-05 08:11:21 +02:00
8250_moxa.c
8250_mtk.c
8250_of.c serial: 8250: of: Load TX FIFO Threshold from DT 2016-09-27 12:55:49 +02:00
8250_omap.c
8250_pci.c serial: 8250_pci: Use symbolic constants for EXAR's MPIO registers 2016-09-22 11:45:08 +02:00
8250_pnp.c
8250_port.c serial: 8250: Set Altera 16550 TX FIFO Threshold 2016-09-27 12:55:50 +02:00
8250_pxa.c serial: rewrite pxa2xx-uart to use 8250_core 2016-10-27 16:03:09 +02:00
8250_uniphier.c
Kconfig serial: rewrite pxa2xx-uart to use 8250_core 2016-10-27 16:03:09 +02:00
Makefile serial: rewrite pxa2xx-uart to use 8250_core 2016-10-27 16:03:09 +02:00
serial_cs.c