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: dts: Update UART driver to Loongson-2K0500, Loongson-2K1000 and Loongson-2K2000. .../bindings/serial/loongson,ls7a-uart.yaml | 74 +++++++ MAINTAINERS | 7 + arch/loongarch/boot/dts/loongson-2k0500.dtsi | 6 +- arch/loongarch/boot/dts/loongson-2k1000.dtsi | 6 +- arch/loongarch/boot/dts/loongson-2k2000.dtsi | 5 +- drivers/tty/serial/8250/8250_loongson.c | 208 ++++++++++++++++++ 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, 322 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/serial/loongson,ls7a-uart.yaml create mode 100644 drivers/tty/serial/8250/8250_loongson.c -- 2.43.0