Re: [PATCH] dt-bindings: serial: pl011: Reference rs485.yaml
From: Kryštof Černý
Date: Thu Nov 26 2026 - 11:26:47 EST
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@xxxxxxxxx>
Best regards,
Kryštof