Skip to content

serial: 8250: Add Loongson-2K0300 and Loongson-2K3000 UART support

Binbin Zhou linux-devicetree linux-serial loongarch sashiko-reviews 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: serial: 8250: Document Loongson-2K0300 UART compatibleDocumentation/devicetree/bindings/serial/8250.yaml+1 -01 reply
2/3dt-bindings: serial: 8250: Add dedicated Loongson-2K3000 UART compatibleDocumentation/devicetree/bindings/serial/8250.yaml+3 -01 reply
3/3serial: 8250_loongson: Add Loongson-2K3000 UART supportdrivers/tty/serial/8250/8250_loongson.c+7 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHuacai ChenRob Herring (Arm)
SeriesR-b
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] serial: 8250: Add Loongson-2K0300 and Loongson-2K3000 UART support

Hi all:

This series adds UART support for two Loongson SoCs.

The Loongson-2K0300 UART is the same as the one found on the Loongson-2K1500, so it is documented as falling back to "loongson,ls2k1500-uart" and then "ns16550a". No driver changes are needed.

The Loongson-2K3000 UART differs from earlier Loongson UARTs in that it does not require MCR/MSR signal inversion. It also supports a fractional baud rate divisor. A dedicated compatible and driver data are added so the driver can distinguish it.

Thanks.
Binbin

Binbin Zhou (3):
dt-bindings: serial: 8250: Document Loongson-2K0300 UART compatible
dt-bindings: serial: 8250: Add dedicated Loongson-2K3000 UART
compatible
serial: 8250_loongson: Add Loongson-2K3000 UART support

 Documentation/devicetree/bindings/serial/8250.yaml | 4 ++++
 drivers/tty/serial/8250/8250_loongson.c            | 7 +++++++
 2 files changed, 11 insertions(+)

base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4

Signature · 1 line
2.52.0