|
|
Subscribe / Log in / New account

serial: Add driver for National Instruments UARTs

From:  Brenda Streiff <brenda.streiff-AT-ni.com>
To:  unlisted-recipients:; (no To-header on input)
Subject:  [PATCH v4 tty-next 0/2] serial: Add driver for National Instruments UARTs
Date:  Fri, 05 May 2023 16:38:48 -0500
Message-ID:  <20230505213850.829639-1-brenda.streiff@ni.com>
Cc:  ilpo.jarvinen-AT-linux.intel.com, Brenda Streiff <brenda.streiff-AT-ni.com>, Greg Kroah-Hartman <gregkh-AT-linuxfoundation.org>, Rob Herring <robh+dt-AT-kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt-AT-linaro.org>, Jiri Slaby <jirislaby-AT-kernel.org>, linux-serial-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

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.61534...
v2: https://lore.kernel.org/linux-serial/20230329154235.61534...
v1: https://lore.kernel.org/linux-serial/20230329154235.61534...

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

-- 
2.30.2



Copyright © 2023, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds