lkml.org 
[lkml]   [2023]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v5 tty-next 0/2] serial: Add driver for National Instruments UARTs
Date
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

--
2.30.2

\
 
 \ /
  Last update: 2023-10-12 22:52    [W:0.039 / U:1.812 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site