serial: ar933x_uart: add RS485 support
PATCH 1/1 serial: ar933x_uart: add RS485 support
Emulate half-duplex operations and use mctrl_gpio to add support for RS485 tranceiver with transmit/receive switch hooked to RTS GPIO line.
Signed-off-by Daniel Golle <[email protected]>
--- drivers/tty/serial/Kconfig | 1 + drivers/tty/serial/ar933x_uart.c | 111 +++++++++++++++++++++++++++++-- 2 files changed, 106 insertions(+), 6 deletions(-)
drivers/tty/serial/Kconfig +1 -0
@@ -1279,6 +1279,7 @@ config SERIAL_AR933X tristate "AR933X serial port support" depends on HAVE_CLK && ATH79 select SERIAL_CORE + select SERIAL_MCTRL_GPIO if GPIOLIB help If you have an Atheros AR933X SOC based board and want to use the built-in UART of the SoC, say Y to this option.
drivers/tty/serial/ar933x_uart.c +105 -6
205 lines not on this page · raw message
Signature · 1 line
2.25.1