dt-bindings: mmc: meson-gx: fix interrupt binding
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 16 Feb 2023 19:50:22 +0000 (20:50 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 17 Feb 2023 10:25:51 +0000 (11:25 +0100)
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")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/c1437eb6-0c01-809f-422b-cb1109489355@gmail.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml

index c8c3030..bc403ae 100644 (file)
@@ -28,7 +28,10 @@ properties:
     maxItems: 1
 
   interrupts:
-    maxItems: 2
+    minItems: 1
+    items:
+      - description: mmc controller instance
+      - description: card detect
 
   clocks:
     maxItems: 3