serial: add KEBA UART driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 13 repliesIn review
- v32 patches 4 repliesSuperseded
- v22 patches 13 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 2 patches | 2 replies | Superseded |
Changes in v4 from the cover letter
- fix spelling, exist -> exists (Lukas Wunner)
- remove duplicate include (Lukas Wunner)
- order includes alphabetically (Lukas Wunner)
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | serial: Keep rs485 settings for devices without firmware nodedrivers/ | +8 | 3 replies | |
| 2/2 | serial: 8250: add driver for KEBA UARTdrivers/ drivers/ drivers/ | +294 | 10 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Daniel Gierlinger | Lukas Wunner |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | T-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 0/2] serial: add KEBA UART driver
First the serial subsystem is prepared to keep rs485 settings from the driver if no firmware node exists. This enables drivers to configure a default rs485 mode, which is set by the serial subsystem.
Second the driver for the KEBA UART is added. This driver supports multiple rs485 modes and selects RS485 as default mode. This UART is found in KEBA PLC devices. The auxiliary devices for this driver are created by the cp500 driver.
v4:
- fix spelling, exist -> exists (Lukas Wunner)
- remove duplicate include (Lukas Wunner)
- order includes alphabetically (Lukas Wunner)
v3:
- add info to commit why device tree / ACPI is not possible (Lukas Wunner)
- separate if and comment for change in uart_get_rs485_mode() (Lukas Wunner)
v2:
- use BIT() for flag definition (Jiri Slaby)
- use enum for UART mode definition (Jiri Slaby)
- use BIT() for capability flag definition (Jiri Slaby)
- use GENMASK() for capability mask (Jiri Slaby)
- use unsigned int for serial line number (Jiri Slaby)
- use unsigned int for flags (Jiri Slaby)
Gerhard Engleder (2):
serial: Keep rs485 settings for devices without firmware node
serial: 8250: add driver for KEBA UART
drivers/tty/serial/8250/8250_keba.c | 280 ++++++++++++++++++++++++++++ drivers/tty/serial/8250/Kconfig | 13 ++ drivers/tty/serial/8250/Makefile | 1 + drivers/tty/serial/serial_core.c | 8 + 4 files changed, 302 insertions(+) create mode 100644 drivers/tty/serial/8250/8250_keba.c
Signature · 1 line
2.39.5