serial: 8250_pci1xxxx: Add RS485 support to quad-uart driver
authorKumaravel Thiagarajan <kumaravel.thiagarajan@microchip.com>
Tue, 7 Feb 2023 16:48:13 +0000 (22:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2023 12:10:15 +0000 (13:10 +0100)
commit08cedda0b3852c0f47a94e64eb586b5507d797f1
tree6a0a9f4740227b4a8f135052e1294991db6411df
parent32bb477fa7bf386ce87837691c4672854a5231e4
serial: 8250_pci1xxxx: Add RS485 support to quad-uart driver

pci1xxxx uart supports RS485 mode of operation in the hardware with
auto-direction control with configurable delay for releasing RTS after
the transmission. This patch adds support for the RS485 mode.

Co-developed-by: Tharun Kumar P <tharunkumar.pasumarthi@microchip.com>
Signed-off-by: Tharun Kumar P <tharunkumar.pasumarthi@microchip.com>
Signed-off-by: Kumaravel Thiagarajan <kumaravel.thiagarajan@microchip.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230207164814.3104605-4-kumaravel.thiagarajan@microchip.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci1xxxx.c