Re: [PATCH 0/2] Add rs485 support to uartps driver

m.brock
2023-05-04T12:53:09Z

Manikanta Guntupalli wrote 2023-04-26 14:29:
> Add optional gpio property to uartps node to support rs485
> Add rs485 support to uartps driver
>
> Manikanta Guntupalli (2):
> dt-bindings: Add optional gpio property to uartps node to support
> rs485
> tty: serial: uartps: Add rs485 support to uartps driver
>
> .../devicetree/bindings/serial/cdns,uart.yaml | 5 +
> drivers/tty/serial/xilinx_uartps.c | 96 ++++++++++++++++++-
> 2 files changed, 100 insertions(+), 1 deletion(-)

Why would you want to use a GPIO and not RTS for choosing the direction
as is more common in this case?
And have you thought about configuring the polarity?
How long will the signal be active before the real transmission begins
so the driver can settle?

Maarten