Skip to content

rs485 support for Raspberry Pi aux uart

Lukas Wunner linux-serial 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8serial: 8250: Don't touch RTS modem control while in rs485 modedrivers/tty/serial/8250/8250_port.c+7 -00 replies
2/8serial: 8250: Support rs485 devicetree propertiesdrivers/tty/serial/8250/8250_core.c drivers/tty/serial/8250/8250_port.c+6 -10 replies
3/8serial: 8250: Deduplicate ->rs485_config() callbackdrivers/tty/serial/8250/8250.h drivers/tty/serial/8250/8250_of.c drivers/tty/serial/8250/8250_omap.c +1 more+42 -650 replies
4/8serial: 8250: Sanitize rs485 config harderdrivers/tty/serial/8250/8250_port.c+8 -00 replies
5/8serial: 8250: Deduplicate rs485 active_timer assignmentdrivers/tty/serial/8250/8250_port.c+1 -20 replies
6/8serial: 8250: Generalize rs485 software emulationdrivers/tty/serial/8250/8250.h drivers/tty/serial/8250/8250_core.c drivers/tty/serial/8250/8250_of.c +3 more+67 -310 replies
7/8serial: 8250_bcm2835aux: Support rs485 software emulationdrivers/tty/serial/8250/8250_bcm2835aux.c+60 -20 replies
8/8serial: 8250: Support console on software emulated rs485 portsdrivers/tty/serial/8250/8250_port.c+13 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.24.0