Marek Vasut 7df5081cbf serial: stm32: Add RS485 RTS GPIO control
While the STM32 does support RS485 drive-enable control within the
UART IP itself, some systems have the drive-enable line connected
to a pin which cannot be pinmuxed as RTS. Add support for toggling
the RTS GPIO line using the modem control GPIOs to provide at least
some sort of emulation.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Manivannan Sadhasivam <mani@kernel.org>
Cc: Fabrice Gasnier <fabrice.gasnier@st.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-stm32@st-md-mailman.stormreply.com
Link: https://lore.kernel.org/r/20200725144947.537007-1-marex@denx.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-07-30 08:46:22 +02:00
..
2020-01-29 10:13:27 -08:00
2020-07-20 09:39:11 +02:00
2020-05-15 12:22:19 +02:00
2020-01-29 10:13:27 -08:00
2019-12-18 15:04:57 +01:00
2020-07-21 20:04:54 +02:00
2020-07-27 12:40:56 +02:00
2020-04-16 16:13:34 +02:00
2020-02-08 14:04:19 -08:00
2020-01-29 10:13:27 -08:00