Linux Serial subsystem development
 help / color / mirror / Atom feed
From: "Kryštof Černý" <cleverline1mc@gmail.com>
To: Rob Herring <robh@kernel.org>
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: Thu, 26 Nov 2026 17:26:40 +0100	[thread overview]
Message-ID: <ef3ccabd-5093-4ee6-ac21-20e08b97b510@gmail.com> (raw)
In-Reply-To: <20261124195705.GA3075022-robh@kernel.org>

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?

> 
>>
>> Fixes: 8d479237727c ("serial: amba-pl011: add RS485 support")
>>
> 
> Drop blank line.

Since the change would then move to serial.yaml, there is no single 
commit it fixes, so I would drop the Fixes tag as well. Is that OK?

> 
>> Signed-off-by: Kryštof Černý <cleverline1mc@gmail.com>

Best regards,
Kryštof

      reply	other threads:[~2026-11-26 16:26 UTC|newest]

Thread overview: 4+ 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ý [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=ef3ccabd-5093-4ee6-ac21-20e08b97b510@gmail.com \
    --to=cleverline1mc@gmail.com \
    --cc=LinoSanfilippo@gmx.de \
    --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 \
    --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