tty: serial: uartps: Add rs485 support to uartps driver
authorManikanta Guntupalli <manikanta.guntupalli@amd.com>
Tue, 23 Jan 2024 06:16:55 +0000 (11:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jan 2024 03:07:08 +0000 (19:07 -0800)
commitfccc9d9233f918ee50cf2955ae7134a7f3418351
tree08523816232764b60b40a0ace8621682ba331130
parent74231ab6cc2d02303ddf1fabd878756c52f788a5
tty: serial: uartps: Add rs485 support to uartps driver

Add rs485 support to uartps driver. Use either rts-gpios or RTS
to control RS485 phy as driver or a receiver.

Signed-off-by: Manikanta Guntupalli <manikanta.guntupalli@amd.com>
Link: https://lore.kernel.org/r/20240123061655.2150946-4-manikanta.guntupalli@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/xilinx_uartps.c