[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230207164814.3104605-1-kumaravel.thiagarajan@microchip.com>
Date: Tue, 7 Feb 2023 22:18:10 +0530
From: Kumaravel Thiagarajan <kumaravel.thiagarajan@...rochip.com>
To: <linux-kernel@...r.kernel.org>
CC: <linux-serial@...r.kernel.org>, <gregkh@...uxfoundation.org>,
<jirislaby@...nel.org>, <ilpo.jarvinen@...ux.intel.com>,
<macro@...am.me.uk>, <andriy.shevchenko@...ux.intel.com>,
<lukas@...ner.de>, <cang1@...e.co.uk>,
<matthew.gerlach@...ux.intel.com>, <deller@....de>,
<phil.edworthy@...esas.com>, <geert+renesas@...der.be>,
<marpagan@...hat.com>, <u.kleine-koenig@...gutronix.de>,
<etremblay@...tech-controls.com>, <wander@...hat.com>,
<UNGLinuxDriver@...rochip.com>
Subject: [PATCH v13 tty-next 0/4] serial: 8250_pci1xxxx: Add driver for the pci1xxxx's quad-uart function
pci1xxxx is a PCIe switch with a multi-function endpoint on one of its
downstream ports. Quad-uart is one of the functions in the multi-function
endpoint. This patch adds device driver for the quad-uart function and
enumerates between 1 to 4 instances of uarts based on the PCIe subsystem
device ID.
The changes from v1->v2->v3->v4->v5->v6->v7->v8->v9->v10->v11->v12->v13 are
mentioned in each patch in the patchset.
Thanks to Andy Shevchenko, Ilpo Jarvinen, Chritophe JAILLET, Geert
Uytterhoeven, Greg KH, Jiri Slaby for their review comments.
Kumaravel Thiagarajan (4):
serial: 8250_pci: Add serial8250_pci_setup_port definition in
8250_pcilib.c
serial: 8250_pci1xxxx: Add driver for quad-uart support
serial: 8250_pci1xxxx: Add RS485 support to quad-uart driver
serial: 8250_pci1xxxx: Add power management functions to quad-uart
driver
MAINTAINERS | 7 +
drivers/tty/serial/8250/8250_pci.c | 25 +-
drivers/tty/serial/8250/8250_pci1xxxx.c | 494 ++++++++++++++++++++++++
drivers/tty/serial/8250/8250_pcilib.c | 40 ++
drivers/tty/serial/8250/8250_pcilib.h | 15 +
drivers/tty/serial/8250/8250_port.c | 8 +
drivers/tty/serial/8250/Kconfig | 15 +
drivers/tty/serial/8250/Makefile | 2 +
include/uapi/linux/serial_core.h | 3 +
9 files changed, 587 insertions(+), 22 deletions(-)
create mode 100644 drivers/tty/serial/8250/8250_pci1xxxx.c
create mode 100644 drivers/tty/serial/8250/8250_pcilib.c
create mode 100644 drivers/tty/serial/8250/8250_pcilib.h
--
2.25.1
Powered by blists - more mailing lists