Re: [PATCH] dt-bindings: serial: pl011: Reference rs485.yaml

From: Rob Herring

Date: Mon Nov 30 2026 - 09:08:26 EST


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