Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: serial: 8250: add marvell,armada-38x-uart compatible
@ 2026-09-01  0:42 Rosen Penev
  2026-09-01  0:49 ` sashiko-bot
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rosen Penev @ 2026-09-01  0:42 UTC (permalink / raw)
  To: linux-serial
  Cc: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Lubomir Rintel, in file,
	open list:TTY LAYER AND SERIAL DRIVERS

The Armada 38x and 98DX3236 SoCs use this compatible, either paired
with "ns16550a" (armada-38x.dtsi) or on its own
(armada-xp-98dx3236.dtsi). Neither form is covered by the 8250
binding, so dtbs_check reports:

  serial@12000: failed to match any schema with compatible:
  ['marvell,armada-38x-uart', 'ns16550a']

Add a standalone const entry and a two-string variant paired with
"ns16550a".

Validated with make dt_binding_check (8250.yaml) and dt-validate on
armada-38x and armada-xp 98DX3236 boards: the UART schema errors are
gone.

Assisted-by: opencode:big-pickle
Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 Documentation/devicetree/bindings/serial/8250.yaml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index 8c2c177faf89..f71c6afe02f2 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -109,6 +109,7 @@ properties:
       - const: aspeed,ast2500-vuart
       - const: intel,xscale-uart
       - const: mrvl,pxa-uart
+      - const: marvell,armada-38x-uart
       - const: nuvoton,wpcm450-uart
       - const: nuvoton,npcm750-uart
       - const: nvidia,tegra20-uart
@@ -119,6 +120,9 @@ properties:
               - exar,xr16l2551
               - exar,xr16l2550
           - const: ns8250
+      - items:
+          - const: marvell,armada-38x-uart
+          - const: ns16550a
       - items:
           - enum:
               - altr,16550-FIFO32
-- 
2.55.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-09-03 18:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-01  0:42 [PATCH] dt-bindings: serial: 8250: add marvell,armada-38x-uart compatible Rosen Penev
2026-09-01  0:49 ` sashiko-bot
2026-09-01 10:16 ` Krzysztof Kozlowski
2026-09-01 17:51 ` Conor Dooley
2026-09-02 21:34   ` Rosen Penev
2026-09-03 15:42     ` Conor Dooley
2026-09-03 18:58       ` Rosen Penev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox