summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sirfsoc_uart.c
diff options
context:
space:
mode:
authorMark Jackson <mpfj-list@newflow.co.uk>2013-08-14 11:29:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-14 12:06:13 -0700
commit4a0ac0f55b18dc297a87a85417fcf068658bf103 (patch)
tree23630e4046be371b27568e9afa149e4bf1762a1b /drivers/tty/serial/sirfsoc_uart.c
parent071eb0ff68f5898af724752b3527edcddf222e23 (diff)
downloadop-kernel-dev-4a0ac0f55b18dc297a87a85417fcf068658bf103.zip
op-kernel-dev-4a0ac0f55b18dc297a87a85417fcf068658bf103.tar.gz
OMAP: add RS485 support
This patch adds RS485 support to the OMAP serial driver, as defined in:- Documentation/devicetree/bindings/serial/rs485.txt When a UART transmitter is connected to (eg) a RS485 driver, it is necessary to turn the driver on/off as quickly as possible. This is best achieved in the serial driver itself (rather than in userspace where the latency can be quite large). This patch allows a GPIO pin to be defined (via DT) that controls the enabling of the driver at the start of a message, and disables the driver when the message has been completed. When RS485 is disabled, the RTS pin is set to on. Signed-off-by: Mark Jackson <mpfj@newflow.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sirfsoc_uart.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud