From: "Jiaxun Yang" <jiaxun.yang@flygoat.com>
To: "Rong Zhang" <rongrong@oss.cipunited.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Jiri Slaby" <jirislaby@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Huacai Chen" <chenhuacai@loongson.cn>
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
"linux-mips@vger.kernel.org" <linux-mips@vger.kernel.org>,
devicetree@vger.kernel.org, "Yao Zi" <me@ziyao.cc>,
"Icenowy Zheng" <uwu@icenowy.me>, "Rong Zhang" <i@rong.moe>
Subject: Re: [PATCH v2 0/2] serial: 8250: loongson: Add support for MIPS-based Loongson 3A4000
Date: Tue, 17 Mar 2026 10:59:15 +0000 [thread overview]
Message-ID: <f6887aca-9a79-442d-8f3a-e98ae45e488c@app.fastmail.com> (raw)
In-Reply-To: <20260315184301.412844-1-rongrong@oss.cipunited.com>
On Sun, 15 Mar 2026, at 6:42 PM, Rong Zhang wrote:
> This series targets the serial tree.
>
> The UART controller on Loongson 3A4000 is compatible with Loongson
> 2K1500, which is NS16550A-compatible with an additional fractional
> frequency divisor register.
>
> Patch 1 adds loongson,ls3a4000-uart as compatible with
> loongson,ls2k1500-uart.
>
> Patch 2 enables building 8250_loongson (loongson-uart) on MIPS
> Loongson64.
>
> Tested on Loongson-LS3A4000-7A1000-NUC-SE with a 25MHz UART clock.
> Without fractional frequency divisor, the actual baud rate was 111607
> (25MHz / 16 / 14, measured value: 111545) and some USB-to-UART
> converters couldn't work with it at all. With fractional frequency
> divisor, the measured baud rate becomes 115207, which is quite accurate.
>
> The patch for the MIPS tree to update the compatible strings in the
> loongson64g-package DTS is sent separately, as it's independant of this
> series and can be applied in any order (the compatible strings there
> still contain "ns16550a", so no regression will be introduced).
>
> Changes in v2:
> - Separated from v1 (patch 1,2):
> https://lore.kernel.org/r/20260314234143.651298-1-rongrong@oss.cipunited.com/
> (thanks Krzysztof Kozlowski)
For the series:
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Thanks!
>
> Rong Zhang (2):
> dt-bindings: serial: 8250: Add Loongson 3A4000 uart compatible
> serial: 8250: loongson: Enable building on MIPS Loongson64
>
> Documentation/devicetree/bindings/serial/8250.yaml | 1 +
> drivers/tty/serial/8250/Kconfig | 9 +++++----
> 2 files changed, 6 insertions(+), 4 deletions(-)
>
>
> base-commit: 267594792a71018788af69e836c52e34bb8054af
> --
> 2.53.0
--
- Jiaxun
prev parent reply other threads:[~2026-03-17 10:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-15 18:42 [PATCH v2 0/2] serial: 8250: loongson: Add support for MIPS-based Loongson 3A4000 Rong Zhang
2026-03-15 18:42 ` [PATCH v2 1/2] dt-bindings: serial: 8250: Add Loongson 3A4000 uart compatible Rong Zhang
2026-03-15 18:42 ` [PATCH v2 2/2] serial: 8250: loongson: Enable building on MIPS Loongson64 Rong Zhang
2026-03-17 10:59 ` Jiaxun Yang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6887aca-9a79-442d-8f3a-e98ae45e488c@app.fastmail.com \
--to=jiaxun.yang@flygoat.com \
--cc=chenhuacai@loongson.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=i@rong.moe \
--cc=jirislaby@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=me@ziyao.cc \
--cc=robh@kernel.org \
--cc=rongrong@oss.cipunited.com \
--cc=tsbogend@alpha.franken.de \
--cc=uwu@icenowy.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox