diff mbox series

[v6,05/27] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible

Message ID 20240729070649.1990427-1-varshini.rajendran@microchip.com (mailing list archive)
State New, archived
Headers show
Series Add support for sam9x7 SoC family | expand

Commit Message

Varshini Rajendran July 29, 2024, 7:06 a.m. UTC
Add support for sam9x7 device compatible.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
Changes in v6:

- New patch in v6 to document tcb compatible.
---
 .../soc/microchip/atmel,at91rm9200-tcb.yaml   | 20 ++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Comments

Rob Herring (Arm) July 30, 2024, 7:04 p.m. UTC | #1
On Mon, Jul 29, 2024 at 12:36:49PM +0530, Varshini Rajendran wrote:
> Add support for sam9x7 device compatible.

How is this device similar to sama5d2? IOW, why is the fallback 
appropriate?

> 
> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
> ---
> Changes in v6:
> 
> - New patch in v6 to document tcb compatible.
> ---
>  .../soc/microchip/atmel,at91rm9200-tcb.yaml   | 20 ++++++++++++-------
>  1 file changed, 13 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> index a46411149571..2c7275c4503b 100644
> --- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> +++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
> @@ -15,13 +15,19 @@ 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
> +          - const: simple-mfd
> +          - const: syscon
> +      - items:
> +          - const: microchip,sam9x7-tcb
> +          - const: atmel,sama5d2-tcb
> +          - const: simple-mfd
> +          - const: syscon
>  
>    reg:
>      maxItems: 1
> -- 
> 2.25.1
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
index a46411149571..2c7275c4503b 100644
--- a/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
+++ b/Documentation/devicetree/bindings/soc/microchip/atmel,at91rm9200-tcb.yaml
@@ -15,13 +15,19 @@  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
+          - const: simple-mfd
+          - const: syscon
+      - items:
+          - const: microchip,sam9x7-tcb
+          - const: atmel,sama5d2-tcb
+          - const: simple-mfd
+          - const: syscon
 
   reg:
     maxItems: 1