From: Conor Dooley <conor@kernel.org>
To: Kohei Otsuka <kohei@spacemachines.com>
Cc: 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>,
Lubomir Rintel <lkundrak@v3.sk>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-serial@vger.kernel.org, conor.dooley@microchip.com
Subject: Re: [PATCH 1/2] dt-bindings: serial: 8250: add Microchip Core16550
Date: Mon, 9 Nov 2026 19:35:50 +0000 [thread overview]
Message-ID: <20261109-sheath-companion-d7063fcbdbfa@spud> (raw)
In-Reply-To: <CADMKYUAc3QPCdpH8JL9VHk4d0iETsUL2ao2i4OhoHYoZGoAnnQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]
On Mon, Nov 09, 2026 at 01:54:17PM +1100, Kohei Otsuka wrote:
> On Thu, Nov 5, 2026 at 3:20 AM Conor Dooley <conor@kernel.org> wrote:
> >
> > On Tue, Nov 03, 2026 at 11:11:31AM +1100, Kohei Otsuka wrote:
> > > Core16550 is a 16550-compatible UART soft IP core for Microchip FPGAs,
> > > including the fabric of PolarFire SoC. Its registers follow the 16550A,
> > > so ns16550a stays the fallback, but
> >
> > > it raises no interrupt on TEMT,
> > > which the driver has to know about to support RS-485 on it.
> >
> > Doesn't this exclude using the fallback to ns16550a, since it requires
> > specific interrupt handling?
> >
> Everything a plain ns16550a driver does works on
> Core16550 including transmit, receive, FIFOs, modem control and the baud rate
> divisor. The only thing that needs the specific compatible string is
> software RS-485
> (em485), which waits for a TEMT interrupt the core doesn’t raise.
> Without the patch, RS-485 direction control is missing, but the UART
> otherwise works. If you’d rather
> not have the fallback, I can match the compatible in 8250_of directly.
In my opinion, this is enough to invalidate the ns16550a fallback.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-11-09 19:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 0:11 [PATCH 0/2] serial: 8250_of: RS-485 on " Kohei Otsuka via B4 Relay
2026-11-03 0:11 ` [PATCH 1/2] dt-bindings: serial: 8250: add " Kohei Otsuka via B4 Relay
2026-11-04 14:00 ` Krzysztof Kozlowski
2026-11-04 16:20 ` Conor Dooley
2026-11-09 2:54 ` Kohei Otsuka
2026-11-09 19:35 ` Conor Dooley [this message]
2026-11-03 0:11 ` [PATCH 2/2] serial: 8250_of: drop RS-485 RTS on " Kohei Otsuka via B4 Relay
2026-11-04 16:28 ` Conor Dooley
2026-11-09 2:49 ` Kohei Otsuka
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=20261109-sheath-companion-d7063fcbdbfa@spud \
--to=conor@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=kohei@spacemachines.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=lkundrak@v3.sk \
--cc=robh@kernel.org \
/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
all inboxes | Powered by JetHome®