[PATCH] dt-bindings: mmc: meson-gx: fix interrupt binding

Heiner Kallweit hkallweit1 at gmail.com
Thu Feb 16 03:49:09 PST 2023


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 at gmail.com>
---
 .../devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml         | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml
index c8c30300d..cd3f75821 100644
--- a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml
+++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml
@@ -28,7 +28,11 @@ properties:
     maxItems: 1
 
   interrupts:
+    minItems: 1
     maxItems: 2
+    description:
+      mmc controller instance interrupt
+      optional card detect interrupt
 
   clocks:
     maxItems: 3
-- 
2.39.1




More information about the linux-amlogic mailing list