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

Varshini Rajendran posted 12 patches 2 weeks, 2 days ago
[PATCH v7 02/12] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
Posted by Varshini Rajendran 2 weeks, 2 days ago
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(-)

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
Re: [PATCH v7 02/12] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
Posted by claudiu beznea 2 weeks, 1 day ago

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!
Re: [PATCH v7 02/12] dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
Posted by Rob Herring (Arm) 2 weeks, 2 days ago
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>