Skip to contentSkip to conversation

dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible

PATCH Applied Varshini Rajendran 2 participants 2 messages Jul 28, 2023

Subsystems (3)

v3 of 8 Applied Latest is v8 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/50 dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x60, sam9x7 compatible

Add sam9x60, sam9x7 compatible string support in the schema file.

---
 .../soc/microchip/atmel,at91rm9200-tcb.yaml   | 21 ++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +14 -7
index a46411149571..912aea5abcf0 100644
@@ -15,13 +15,20 @@ description: |
 
 properties:
   compatible:
-    items:
-      - enum:
-          - atmel,at91rm9200-tcb
-          - atmel,at91sam9x5-tcb
-          - atmel,sama5d2-tcb
-      - const: simple-mfd
-      - const: syscon
+    oneOf:
+      - items:
+          - enum:
+              - atmel,at91rm9200-tcb
+              - atmel,at91sam9x5-tcb
+              - atmel,sama5d2-tcb
+              - microchip,sam9x60-tcb
+          - const: simple-mfd
+          - const: syscon
+      - items:
+          - const: microchip,sam9x7-tcb
+          - const: atmel,sama5d2-tcb
+          - const: simple-mfd
+          - const: syscon
 
   reg:
     maxItems: 1
Signature · 1 line
2.25.1
#1 lore raw
Quoted 19 lines · Varshini Rajendran

Add sam9x60, sam9x7 compatible string support in the schema file.

---
 .../soc/microchip/atmel,at91rm9200-tcb.yaml   | 21 ++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)
Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +0 -4
index a46411149571..912aea5abcf0 100644
@@ -15,13 +15,20 @@ description: |
 
 properties:
   compatible:
-    items:
-      - enum:
-          - atmel,at91rm9200-tcb
-          - atmel,at91sam9x5-tcb

Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml description: | · line 24

Quoted 10 lines
Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml +7 -3
-          - atmel,sama5d2-tcb
-      - const: simple-mfd
-      - const: syscon
+    oneOf:
+      - items:
+          - enum:
+              - atmel,at91rm9200-tcb
+              - atmel,at91sam9x5-tcb
+              - atmel,sama5d2-tcb
+              - microchip,sam9x60-tcb

That's not matching existing DTS.

Best regards,
Krzysztof