From: "Kryštof Černý via B4 Relay" <devnull+cleverline1mc.gmail.com@kernel.org>
To: 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>,
Lino Sanfilippo <LinoSanfilippo@gmx.de>
Cc: "Matous Hybl" <hyblmatous@gmail.com>,
"Miroslav Ondra" <ondra@faster.cz>,
linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
devicetree@vger.kernel.org,
"Kryštof Černý" <cleverline1mc@gmail.com>
Subject: [PATCH] dt-bindings: serial: pl011: Reference rs485.yaml
Date: Sat, 21 Nov 2026 16:10:33 +0100 [thread overview]
Message-ID: <20261121-pl011-rs485-v1-1-0d18008f4a12@gmail.com> (raw)
From: Kryštof Černý <cleverline1mc@gmail.com>
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.
Fixes: 8d479237727c ("serial: amba-pl011: add RS485 support")
Signed-off-by: Kryštof Černý <cleverline1mc@gmail.com>
---
The PL011 driver has supported RS-485 since v5.15, added in
https://git.kernel.org/torvalds/c/8d479237727c, but dtbs_check rejects
properties such as linux,rs485-enabled-at-boot-time on PL011 nodes.
We hit this on a BCM2711 (CM4) board using two PL011 UARTs for RS-485.
An AI assistant (Claude) helped check the driver and write commit message.
---
Documentation/devicetree/bindings/serial/pl011.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/serial/pl011.yaml b/Documentation/devicetree/bindings/serial/pl011.yaml
index 3fcf2d042372..3c5f35eed04a 100644
--- a/Documentation/devicetree/bindings/serial/pl011.yaml
+++ b/Documentation/devicetree/bindings/serial/pl011.yaml
@@ -12,6 +12,7 @@ maintainers:
allOf:
- $ref: /schemas/arm/primecell.yaml#
- $ref: serial.yaml#
+ - $ref: rs485.yaml#
# Need a custom select here or 'arm,primecell' will match on lots of nodes
select:
---
base-commit: 909ef7a9a30fa139e69e555e3606680f5cca7726
change-id: 20261121-pl011-rs485-6e5113a8faad
Best regards,
--
Kryštof Černý <cleverline1mc@gmail.com>
next reply other threads:[~2026-11-21 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 15:10 Kryštof Černý via B4 Relay [this message]
2026-11-24 19:57 ` Rob Herring
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=20261121-pl011-rs485-v1-1-0d18008f4a12@gmail.com \
--to=devnull+cleverline1mc.gmail.com@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 \
--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®