linux/drivers/tty/serial/8250
Peter Hung fecf27a373 serial: 8250_pci: add RS485 for F81504/508/512
Add RS485 control for Fintek F81504/508/512

F81504/508/512 can control their RTS with H/W mode.
PCI configuration space for each port is 0x40 + idx * 8 + 7.

When it set with 0x01, it's configured with RS232 mode.
RTS is controlled by MCR.

When it set with 0x11, it's configured with RS485 mode.
RTS is controlled by H/W, RTS low with idle & RX, high with TX.

When it set with 0x31, it's configured with RS485 mode.
RTS is controlled by H/W, RTS high with idle & RX, low with TX.

We will force 0x01 on pci_fintek_setup().

Signed-off-by: Peter Hung <hpeter+linux_kernel@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-08-03 15:40:29 -07:00
..
8250_accent.c
8250_acorn.c tty: remove use of __devexit 2012-11-21 15:27:46 -08:00
8250_boca.c
8250_core.c serial: 8250: Split base port operations from universal driver 2015-07-23 17:43:01 -07:00
8250_dma.c serial: 8250_dma: don't bother DMA with small transfers 2015-02-02 10:11:26 -08:00
8250_dw.c serial: 8250_dw: support ACPI platforms with integrated DMA engine 2015-06-01 06:55:12 +09:00
8250_early.c tty/early: make serial8250_early_{in,out} static again 2015-07-23 17:43:30 -07:00
8250_em.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_exar_st16c554.c
8250_fintek.c serial/8250_fintek: Support for any io address. 2015-07-23 15:14:42 -07:00
8250_fourport.c
8250_fsl.c serial: 8250: introduce up_to_u8250p() helper 2014-07-17 18:16:23 -07:00
8250_gsc.c parisc: Fix interrupt routing for C8000 serial ports 2013-07-31 23:42:32 +02:00
8250_hp300.c serial: 8250: remove the redundant include 2015-03-26 22:21:08 +01:00
8250_hub6.c
8250_ingenic.c tty: serial: Drop owner assignment from platform_driver 2015-07-23 18:04:59 -07:00
8250_lpc18xx.c serial: 8250: add LPC18xx/43xx UART driver 2015-06-01 06:56:33 +09:00
8250_mtk.c tty: serial/8250: remove console dependency for mediatek 2015-05-24 13:06:09 -07:00
8250_omap.c serial: 8250_omap: Remove auto-IXON flow control 2015-07-23 15:24:12 -07:00
8250_pci.c serial: 8250_pci: add RS485 for F81504/508/512 2015-08-03 15:40:29 -07:00
8250_pnp.c serial: 8250_pnp: Enable PNP_CONSOLE for console ports 2015-02-02 10:11:25 -08:00
8250_port.c serial: 8250: Do XR17V35X specific wakeup in serial8250_do_startup 2015-07-23 17:49:42 -07:00
8250_uniphier.c serial: 8250_uniphier: add UniPhier serial driver 2015-06-01 06:55:13 +09:00
8250.h serial: 8250: Split base port operations from universal driver 2015-07-23 17:43:01 -07:00
Kconfig Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2015-06-27 12:44:34 -07:00
Makefile serial: 8250: Split base port operations from universal driver 2015-07-23 17:43:01 -07:00
serial_cs.c tty: delete non-required instances of include <linux/init.h> 2014-01-07 17:05:21 -08:00