mbox series

[0/8] rs485 support for Raspberry Pi aux uart

Message ID cover.1582895077.git.lukas@wunner.de
Headers show
Series rs485 support for Raspberry Pi aux uart | expand

Message

Lukas Wunner Feb. 28, 2020, 1:31 p.m. UTC
The objective of this series is to add rs485 support for the
Raspberry Pi auxiliary uart (patch [6/8] and [7/8]).

But I'm taking the opportunity to improve rs485 support for any
8250-compatible uart:

* rs485 devicetree properties support (patch [2/8]).
* rs485 serial console support (patch [8/8]).
* various fixes and cleanups.

Please review and test.  Thanks!


Lukas Wunner (8):
  serial: 8250: Don't touch RTS modem control while in rs485 mode
  serial: 8250: Support rs485 devicetree properties
  serial: 8250: Deduplicate ->rs485_config() callback
  serial: 8250: Sanitize rs485 config harder
  serial: 8250: Deduplicate rs485 active_timer assignment
  serial: 8250: Generalize rs485 software emulation
  serial: 8250_bcm2835aux: Support rs485 software emulation
  serial: 8250: Support console on software emulated rs485 ports

 drivers/tty/serial/8250/8250.h            |   4 +-
 drivers/tty/serial/8250/8250_bcm2835aux.c |  62 ++++++++-
 drivers/tty/serial/8250/8250_core.c       |   6 +-
 drivers/tty/serial/8250/8250_of.c         |  39 +-----
 drivers/tty/serial/8250/8250_omap.c       |  34 +----
 drivers/tty/serial/8250/8250_port.c       | 157 +++++++++++++++++-----
 include/linux/serial_8250.h               |   3 +
 7 files changed, 204 insertions(+), 101 deletions(-)