Skip to contentSkip to conversation

dt-bindings: mmc: meson-gx: fix interrupt binding

PATCH In review Heiner Kallweit 3 participants 3 messages Feb 16, 2023 – Feb 17, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: mmc: meson-gx: fix interrupt binding

Reflect in the binding that the cd interrupt is optional, and add a description of the interrupts.

Fixes 09b31a610328 ("dt-bindings: mmc: meson-gx: support specifying cd interrupt")

---
v2:
- omit maxItems and use items

---
 .../devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml +4 -1
index c8c30300d..bc403ae9e 100644
@@ -28,7 +28,10 @@ properties:
     maxItems: 1
 
   interrupts:
-    maxItems: 2
+    minItems: 1
+    items:
+      - description: mmc controller instance
+      - description: card detect
 
   clocks:
     maxItems: 3
Signature · 1 line
2.39.1
#2 lore raw
In reply to Heiner Kallweit
Quoted 6 lines · Heiner Kallweit

Reflect in the binding that the cd interrupt is optional, and add a description of the interrupts.

Fixes 09b31a610328 ("dt-bindings: mmc: meson-gx: support specifying cd interrupt")

Applied for next, thanks!

Kind regards
Uffe

Quoted 26 lines

---
v2:
- omit maxItems and use items

---
 .../devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml +4 -2
index c8c30300d..bc403ae9e 100644
@@ -28,7 +28,10 @@ properties:
     maxItems: 1
 
   interrupts:
-    maxItems: 2
+    minItems: 1
+    items:
+      - description: mmc controller instance
+      - description: card detect
 
   clocks:
     maxItems: 3
--

2.39.1