[PATCH v3 0/3] uart: Introduce uart driver for the Loongson family chips

From: zhenghaowei
Date: Sun Aug 25 2024 - 22:47:25 EST


From: Haowei Zheng <zhenghaowei@xxxxxxxxxxx>

Hi all:

This patchset introduce a generic UART framework driver for Loongson family.
It can be found on Loongson3 series cpus, Loongson-2K series cpus and Loongson
LS7A bridge chips.

Thanks.

Haowei Zheng (3):
dt-bindings: serial: Add Loongson UART controller
tty: serial: 8250: Add loongson uart driver support
LoongArch: Update dts to support Loongson UART driver.

.../bindings/serial/loongson,uart.yaml | 63 +++++
MAINTAINERS | 7 +
arch/loongarch/boot/dts/loongson-2k0500.dtsi | 2 +-
arch/loongarch/boot/dts/loongson-2k1000.dtsi | 2 +-
arch/loongarch/boot/dts/loongson-2k2000.dtsi | 2 +-
drivers/tty/serial/8250/8250_loongson.c | 228 ++++++++++++++++++
drivers/tty/serial/8250/8250_port.c | 8 +
drivers/tty/serial/8250/Kconfig | 9 +
drivers/tty/serial/8250/Makefile | 1 +
include/uapi/linux/serial_core.h | 1 +
10 files changed, 320 insertions(+), 3 deletions(-)
create mode 100644 Documentation/devicetree/bindings/serial/loongson,uart.yaml
create mode 100644 drivers/tty/serial/8250/8250_loongson.c

--
2.43.0