diff mbox series

[v5,14/27] dt-bindings: interrupt-controller: Add support for sam9x7 aic

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

Commit Message

Varshini Rajendran July 3, 2024, 10:28 a.m. UTC
Document the support added for the Advanced interrupt controller(AIC)
chip in the sam9x7 SoC family.

Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
Changes in v5:
- Adapted the patch to the new yaml file.
- Removed the Acked-by tag due to the TXT to schema change.
---
 .../bindings/interrupt-controller/atmel,aic.yaml | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

Comments

Conor Dooley July 3, 2024, 3:39 p.m. UTC | #1
On Wed, Jul 03, 2024 at 03:58:06PM +0530, Varshini Rajendran wrote:
> Document the support added for the Advanced interrupt controller(AIC)
> chip in the sam9x7 SoC family.
> 
> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>

Acked-by: Conor Dooley <conor.dooley@microchip.com>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.yaml b/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.yaml
index d4658fe3867c..9c5af9dbcb6e 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/atmel,aic.yaml
@@ -17,12 +17,16 @@  description:
 
 properties:
   compatible:
-    enum:
-      - atmel,at91rm9200-aic
-      - atmel,sama5d2-aic
-      - atmel,sama5d3-aic
-      - atmel,sama5d4-aic
-      - microchip,sam9x60-aic
+    oneOf:
+      - enum:
+          - atmel,at91rm9200-aic
+          - atmel,sama5d2-aic
+          - atmel,sama5d3-aic
+          - atmel,sama5d4-aic
+          - microchip,sam9x60-aic
+      - items:
+          - const: microchip,sam9x7-aic
+          - const: microchip,sam9x60-aic
 
   reg:
     maxItems: 1