Devicetree
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: serial: 8250: Add Aspeed AST2600 and AST2700 uart compatible
@ 2026-07-21  1:44 Yu-Che Hsieh
  2026-08-03 13:23 ` Rob Herring (Arm)
  0 siblings, 1 reply; 2+ messages in thread
From: Yu-Che Hsieh @ 2026-07-21  1:44 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Lubomir Rintel, devicetree
  Cc: linux-kernel, linux-serial, Yu-Che Hsieh

The AST2600 and AST2700 VUART controllers are identical to the AST2500
VUART controller.

Add the "aspeed,ast2600-vuart" and "aspeed,ast2700-vuart" compatible
strings and fall back to "aspeed,ast2500-vuart" for compatibility with
the existing driver.

Signed-off-by: Yu-Che Hsieh <yc_hsieh@aspeedtech.com>
---
 Documentation/devicetree/bindings/serial/8250.yaml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml
index bb7b9c87a807..8c2c177faf89 100644
--- a/Documentation/devicetree/bindings/serial/8250.yaml
+++ b/Documentation/devicetree/bindings/serial/8250.yaml
@@ -23,7 +23,8 @@ allOf:
     then:
       properties:
         compatible:
-          const: aspeed,ast2500-vuart
+          contains:
+            const: aspeed,ast2500-vuart
   - if:
       properties:
         compatible:
@@ -188,6 +189,11 @@ properties:
               - loongson,ls2k2000-uart
           - const: loongson,ls2k1500-uart
           - const: ns16550a
+      - items:
+          - enum:
+              - aspeed,ast2600-vuart
+              - aspeed,ast2700-vuart
+          - const: aspeed,ast2500-vuart
 
   reg:
     maxItems: 1

---
base-commit: da7b5fd4e17f8e44c5590f2d603c01d499f056e6
change-id: 20260717-upstream-ast2700-vuart-support-d21b85ce1a52

Best regards,
-- 
Yu-Che Hsieh <yc_hsieh@aspeedtech.com>


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

* Re: [PATCH] dt-bindings: serial: 8250: Add Aspeed AST2600 and AST2700 uart compatible
  2026-07-21  1:44 [PATCH] dt-bindings: serial: 8250: Add Aspeed AST2600 and AST2700 uart compatible Yu-Che Hsieh
@ 2026-08-03 13:23 ` Rob Herring (Arm)
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2026-08-03 13:23 UTC (permalink / raw)
  To: Yu-Che Hsieh
  Cc: Jiri Slaby, Conor Dooley, devicetree, Greg Kroah-Hartman,
	Krzysztof Kozlowski, Lubomir Rintel, linux-kernel, linux-serial


On Tue, 21 Jul 2026 09:44:23 +0800, Yu-Che Hsieh wrote:
> The AST2600 and AST2700 VUART controllers are identical to the AST2500
> VUART controller.
> 
> Add the "aspeed,ast2600-vuart" and "aspeed,ast2700-vuart" compatible
> strings and fall back to "aspeed,ast2500-vuart" for compatibility with
> the existing driver.
> 
> Signed-off-by: Yu-Che Hsieh <yc_hsieh@aspeedtech.com>
> ---
>  Documentation/devicetree/bindings/serial/8250.yaml | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring (Arm) <robh@kernel.org>


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

end of thread, other threads:[~2026-08-03 13:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-21  1:44 [PATCH] dt-bindings: serial: 8250: Add Aspeed AST2600 and AST2700 uart compatible Yu-Che Hsieh
2026-08-03 13:23 ` Rob Herring (Arm)

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