2022-08-30 16:21:16

by Nishanth Menon

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

Use alphabetical sort to organize the SoCs

Reported-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
---
.../devicetree/bindings/arm/ti/k3.yaml | 42 +++++++++----------
1 file changed, 21 insertions(+), 21 deletions(-)

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:
--
2.31.1


2022-08-30 16:59:46

by Krzysztof Kozlowski

[permalink] [raw]
Subject: Re: [PATCH 2/2] dt-bindings: arm: ti: k3: Sort the SoC definitions alphabetically

On 30/08/2022 19:05, Nishanth Menon wrote:
> Use alphabetical sort to organize the SoCs
>
> Reported-by: Krzysztof Kozlowski <[email protected]>

Suggested-by

> Signed-off-by: Nishanth Menon <[email protected]>


Acked-by: Krzysztof Kozlowski <[email protected]>


Best regards,
Krzysztof