]> git.baikalelectronics.ru Git - kernel.git/commit
serial: ar933x_uart: add RS485 support
authorDaniel Golle <daniel@makrotopia.org>
Fri, 21 Feb 2020 21:23:31 +0000 (22:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2020 12:26:26 +0000 (13:26 +0100)
commitac998554cc6a818c874d9202d16930f660faa221
treedf938963d6007ba029a80a40ecf8b8487b9c0477
parent4fab404c33a074ffe20baec40bc5512125584d7d
serial: ar933x_uart: add RS485 support

Emulate half-duplex operation and use mctrl_gpio to add support for
RS485 tranceiver with transmit/receive switch hooked to RTS GPIO line.
This is needed to make use of the RS485 port found on Teltonika RUT955.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/20200221212331.GA21467@makrotopia.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig
drivers/tty/serial/ar933x_uart.c