diff mbox series

[2/2] dt-bindings: arm: ti: k3: Sort the SoC definitions alphabetically

Message ID 20220830160507.7726-3-nm@ti.com (mailing list archive)
State New, archived
Headers show
Series dt-bindings: arm: ti: k3: Sort alphabetically | expand

Commit Message

Nishanth Menon Aug. 30, 2022, 4:05 p.m. UTC
Use alphabetical sort to organize the SoCs

Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Nishanth Menon <nm@ti.com>
---
 .../devicetree/bindings/arm/ti/k3.yaml        | 42 +++++++++----------
 1 file changed, 21 insertions(+), 21 deletions(-)

Comments

Krzysztof Kozlowski Aug. 30, 2022, 4:51 p.m. UTC | #1
On 30/08/2022 19:05, Nishanth Menon wrote:
> Use alphabetical sort to organize the SoCs
> 
> Reported-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Suggested-by

> Signed-off-by: Nishanth Menon <nm@ti.com>


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/ti/k3.yaml b/Documentation/devicetree/bindings/arm/ti/k3.yaml
index 7e93e87dcdf4..aeef800eb6ec 100644
--- a/Documentation/devicetree/bindings/arm/ti/k3.yaml
+++ b/Documentation/devicetree/bindings/arm/ti/k3.yaml
@@ -19,6 +19,19 @@  properties:
   compatible:
     oneOf:
 
+      - description: K3 AM625 SoC
+        items:
+          - enum:
+              - ti,am625-sk
+          - const: ti,am625
+
+      - description: K3 AM642 SoC
+        items:
+          - enum:
+              - ti,am642-evm
+              - ti,am642-sk
+          - const: ti,am642
+
       - description: K3 AM654 SoC
         items:
           - enum:
@@ -29,15 +42,6 @@  properties:
               - ti,am654-evm
           - const: ti,am654
 
-      - description: K3 J721E SoC
-        oneOf:
-          - const: ti,j721e
-          - items:
-              - enum:
-                  - ti,j721e-evm
-                  - ti,j721e-sk
-              - const: ti,j721e
-
       - description: K3 J7200 SoC
         oneOf:
           - const: ti,j7200
@@ -46,18 +50,14 @@  properties:
                   - ti,j7200-evm
               - const: ti,j7200
 
-      - description: K3 AM625 SoC
-        items:
-          - enum:
-              - ti,am625-sk
-          - const: ti,am625
-
-      - description: K3 AM642 SoC
-        items:
-          - enum:
-              - ti,am642-evm
-              - ti,am642-sk
-          - const: ti,am642
+      - description: K3 J721E SoC
+        oneOf:
+          - const: ti,j721e
+          - items:
+              - enum:
+                  - ti,j721e-evm
+                  - ti,j721e-sk
+              - const: ti,j721e
 
       - description: K3 J721s2 SoC
         items: