diff mbox series

[V2] dt-bindings: serial: Add a new compatible string for UMS9632

Message ID 20250120032212.3579184-1-Wenhua.Lin@unisoc.com
State New
Headers show
Series [V2] dt-bindings: serial: Add a new compatible string for UMS9632 | expand

Commit Message

Wenhua Lin Jan. 20, 2025, 3:22 a.m. UTC
The sc9632-uart is incompatible
with sc9836-uart, Add sc9632-uart dedicated compatible
for representing uart of the new project UMS9632 SoC.

Change in V2:
-Change commit message in PATCH 2/2.
-Modify the compatible string of enum in PATCH 2/2.

Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
---
 Documentation/devicetree/bindings/serial/sprd-uart.yaml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/serial/sprd-uart.yaml b/Documentation/devicetree/bindings/serial/sprd-uart.yaml
index a2a5056eba04..83582aa6c750 100644
--- a/Documentation/devicetree/bindings/serial/sprd-uart.yaml
+++ b/Documentation/devicetree/bindings/serial/sprd-uart.yaml
@@ -17,13 +17,17 @@  properties:
     oneOf:
       - items:
           - enum:
-              - sprd,sc9632-uart
               - sprd,sc9860-uart
               - sprd,sc9863a-uart
               - sprd,ums512-uart
               - sprd,ums9620-uart
           - const: sprd,sc9836-uart
       - const: sprd,sc9836-uart
+      - items:
+          - enum:
+              - sprd,ums9632-uart
+          - const: sprd,sc9632-uart
+      - const: sprd,sc9632-uart
 
   reg:
     maxItems: 1