diff mbox series

[v7,02/12] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible

Message ID 20240903064233.49366-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 Sept. 3, 2024, 6:42 a.m. UTC
Add support for sam9x7 device compatible with sama5d2 compatible as the
fallback as the sam9x7 SoC uses the same tcb IP as the latter.

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

- Elaborated the commit message with justifications to the fallback.
---
 .../soc/microchip/atmel,at91rm9200-tcb.yaml   | 20 ++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

Comments

Rob Herring (Arm) Sept. 3, 2024, 3:19 p.m. UTC | #1
On Tue, 03 Sep 2024 12:12:33 +0530, Varshini Rajendran wrote:
> Add support for sam9x7 device compatible with sama5d2 compatible as the
> fallback as the sam9x7 SoC uses the same tcb IP as the latter.
> 
> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
> ---
> Changes in v7:
> 
> - Elaborated the commit message with justifications to the fallback.
> ---
>  .../soc/microchip/atmel,at91rm9200-tcb.yaml   | 20 ++++++++++++-------
>  1 file changed, 13 insertions(+), 7 deletions(-)
> 

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Claudiu Beznea Sept. 4, 2024, 7:17 a.m. UTC | #2
On 03.09.2024 09:42, Varshini Rajendran wrote:
> Add support for sam9x7 device compatible with sama5d2 compatible as the
> fallback as the sam9x7 SoC uses the same tcb IP as the latter.
> 
> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>

Applied to at91-soc, thanks!
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