From: Rob Herring <robh@kernel.org>
To: "Kryštof Černý" <cleverline1mc@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Lino Sanfilippo <LinoSanfilippo@gmx.de>,
Matous Hybl <hyblmatous@gmail.com>,
Miroslav Ondra <ondra@faster.cz>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: serial: pl011: Reference rs485.yaml
Date: Mon, 30 Nov 2026 08:08:19 -0600 [thread overview]
Message-ID: <20261130140819.GA3839021-robh@kernel.org> (raw)
In-Reply-To: <ef3ccabd-5093-4ee6-ac21-20e08b97b510@gmail.com>
On Thu, Nov 26, 2026 at 05:26:40PM +0100, Kryštof Černý wrote:
> Hello Rob,
> thank you for the answer.
> > On Sat, Nov 21, 2026 at 04:10:33PM +0100, Kryštof Černý wrote:
> > > The amba-pl011 driver supports RS-485 and parses the generic RS-485
> > > properties with uart_get_rs485_mode(), but the binding does not allow
> > > them. Reference rs485.yaml.
> >
> > Is supporting RS-485 really specific to the UART? Can't pretty much any
> > UART support it? Whether a driver does or doesn't doesn't matter. If so,
> > then serial.yaml should probably just reference rs485.yaml.
>
> You are right. Some hardware might not be able to support it properly, as it
> could lack essential registers (you need to know when the transmission is
> done to switch the direction pin), but I do not know of any. As I understand
> it, these properties describe the attached transceiver and its wiring rather
> than the UART itself, so they belong in serial.yaml.
>
> In the next version, should I then reference rs485.yaml in serial.yaml and
> remove it from all of the other bindings?
Yes.
Rob
prev parent reply other threads:[~2026-11-30 14:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 15:10 [PATCH] dt-bindings: serial: pl011: Reference rs485.yaml Kryštof Černý via B4 Relay
2026-11-21 15:15 ` sashiko-bot
2026-11-24 19:57 ` Rob Herring
2026-11-26 16:26 ` Kryštof Černý
2026-11-30 14:08 ` Rob Herring [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=20261130140819.GA3839021-robh@kernel.org \
--to=robh@kernel.org \
--cc=LinoSanfilippo@gmx.de \
--cc=cleverline1mc@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=hyblmatous@gmail.com \
--cc=jirislaby@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=ondra@faster.cz \
/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