mbox series

[0/6] Fixes and improvements for RS485

Message ID 20230928221246.13689-1-LinoSanfilippo@gmx.de
Headers show
Series Fixes and improvements for RS485 | expand

Message

Lino Sanfilippo Sept. 28, 2023, 10:12 p.m. UTC
From: Lino Sanfilippo <l.sanfilippo@kunbus.com>

Patch 1: Do not hold the port lock when setting rx-during-tx GPIO
Patch 2: Get rid of useless wrapper pl011_get_rs485_mode()
Patch 3: set missing supported flag for RX during TX GPIO
Patch 4: fix sanitizing check for RTS settings
Patch 5: make sure RS485 is cannot be enabled when it is not supported
Patch 6: IMX: do not set RS485 enabled if it is not supported


Lino Sanfilippo (6):
  serial: Do not hold the port lock when setting rx-during-tx GPIO
  serial: amba-pl011: get rid of useless wrapper pl011_get_rs485_mode()
  serial: core: set missing supported flag for RX during TX GPIO
  serial: core: fix sanitizing check for RTS settings
  serial: core: make sure RS485 is cannot be enabled when it is not
    supported
  serial: imx: do not set RS485 enabled if it is not supported

 drivers/tty/serial/amba-pl011.c  | 14 +---------
 drivers/tty/serial/imx.c         | 18 +++++--------
 drivers/tty/serial/serial_core.c | 45 +++++++++++++++++++++-----------
 drivers/tty/serial/stm32-usart.c |  5 +---
 4 files changed, 38 insertions(+), 44 deletions(-)


base-commit: 9ed22ae6be817d7a3f5c15ca22cbc9d3963b481d