mbox series

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

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

Message

Brenda Streiff May 5, 2023, 9:38 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 compatble with the TL16C550C (for
which we build on top of 8250_core) but also has extra registers for
the embedded RS-232/RS-485 tranceiver control circuitry.

Changes from v3 -> v4:
- remove "clock-names" from schema, as there is only one clock
- remove legacy "clock-frequency" from schema
- use GENMASK
- fix spacing
- fix uartclk on NIC792B devices
- add comments to clarify flag usage

v3: https://lore.kernel.org/linux-serial/20230329154235.615349-1-brenda.streiff@ni.com/T/#me4a5f3dfe0282145565d409f06934739b7a4b023
v2: https://lore.kernel.org/linux-serial/20230329154235.615349-1-brenda.streiff@ni.com/T/#mbdd219bdffc41e766634440ff6fe37e75d5a8c0e
v1: https://lore.kernel.org/linux-serial/20230329154235.615349-1-brenda.streiff@ni.com/T/#m05ac0a562351ebf2807c3c226cbe9ba3ebf0045e

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

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