serial: ar933x_uart: add rs485 support
authorDaniel Golle <daniel@makrotopia.org>
Wed, 5 Feb 2020 15:00:57 +0000 (17:00 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 21 Feb 2020 21:35:12 +0000 (22:35 +0100)
commite5e461b62135146210e85b8b973927c650ddb808
treee252318e9d73892ccc3d64803640c39f29898063
parent2f1cc5c3d5e35d6aa76e794e3d5b4f5856cd38bc
serial: ar933x_uart: add rs485 support

Add support for RS485 tranceiver with transmit/receive switch hooked
to a RTS GPIO pin.
Use the 'rts-gpios' and 'rs485-rts-active-low' properties as described
in devicetree/bindings/serial/rs485.yaml.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/ath79/patches-4.19/0061-tty-serial-ar933x-uart-rs485-gpio.patch [new file with mode: 0644]