mbox series

[v5,tty-next,0/2] serial: Add driver for National Instruments UARTs

Message ID 20231012205112.112261-1-brenda.streiff@ni.com
Headers show
Series serial: Add driver for National Instruments UARTs | expand

Message

Brenda Streiff Oct. 12, 2023, 8:51 p.m. UTC
This patch series adds a driver for the 16550-like UARTs on National
Instruments (NI) embedded controller hardware.

These UARTs have an interface that is compatible with the TL16C550C (for
which we build on top of 8250_core) but also has extra registers for
the embedded RS-232/RS-485 transceiver control circuitry.
---
Changes from v4 -> v5:
- set_mctrl callback needs to set CLKSEL in up->mcr, not local mctrl
- initialize potentially-uninitialized 'prescaler'
- Style fixes:
  - comment the effect of the PCR modes
  - remove extraneous parens
  - add to Makefile in the post-66ebe67d1b68 sorted order

v4: https://lore.kernel.org/linux-serial/20230505213850.829639-1-brenda.streiff@ni.com/
v3: https://lore.kernel.org/linux-serial/20230418223800.284601-1-brenda.streiff@ni.com/
v2: https://lore.kernel.org/linux-serial/20230410211152.94332-1-brenda.streiff@ni.com/
v1: https://lore.kernel.org/linux-serial/20230329154235.615349-1-brenda.streiff@ni.com/

Brenda Streiff (2):
  dt-bindings: serial: ni,ni16650: add bindings
  serial: 8250: add driver for NI UARTs

 .../bindings/serial/ni,ni16550.yaml           |  51 ++
 MAINTAINERS                                   |   7 +
 drivers/tty/serial/8250/8250_ni.c             | 478 ++++++++++++++++++
 drivers/tty/serial/8250/Kconfig               |  13 +
 drivers/tty/serial/8250/Makefile              |   1 +
 5 files changed, 550 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/serial/ni,ni16550.yaml
 create mode 100644 drivers/tty/serial/8250/8250_ni.c