kernel_samsung_a53x/drivers/tty/serial/8250
Lino Sanfilippo 60d7beeaec serial: 8250_exar: Set missing rs485_supported flag
[ Upstream commit 0c2a5f471ce58bca8f8ab5fcb911aff91eaaa5eb ]

The UART supports an auto-RTS mode in which the RTS pin is automatically
activated during transmission. So mark this mode as being supported even
if RTS is not controlled by the driver but the UART.

Also the serial core expects now at least one of both modes rts-on-send or
rts-after-send to be supported. This is since during sanitization
unsupported flags are deleted from a RS485 configuration set by userspace.
However if the configuration ends up with both flags unset, the core prints
a warning since it considers such a configuration invalid (see
uart_sanitize_serial_rs485()).

Cc:  <stable@vger.kernel.org>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Lino Sanfilippo <l.sanfilippo@kunbus.com>
Link: https://lore.kernel.org/r/20240103061818.564-8-l.sanfilippo@kunbus.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:13:34 +01:00
..
8250.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_accent.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_acorn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_aspeed_vuart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_bcm2835aux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_boca.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_core.c serial: Add rs485_supported to uart_port 2024-11-18 12:13:34 +01:00
8250_dma.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_dw.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_dwlib.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_dwlib.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_early.c serial: 8250_omap: Add earlycon support for the AM654 UART controller 2024-11-18 12:11:46 +01:00
8250_em.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_exar.c serial: 8250_exar: Set missing rs485_supported flag 2024-11-18 12:13:34 +01:00
8250_exar_st16c554.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_fintek.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_fourport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_fsl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_gsc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_hp300.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_hub6.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_ingenic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_ioc3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_lpc18xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_lpss.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_men_mcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_mid.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_mtk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_of.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_omap.c serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed 2024-11-18 12:12:49 +01:00
8250_pci.c tty: 8250: Add support for Intashield IS-100 2024-11-18 10:58:48 +01:00
8250_pnp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_port.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_pxa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_tegra.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8250_uniphier.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
serial_cs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00