devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: mmc: meson-gx: fix interrupt binding
@ 2023-02-16 19:50 Heiner Kallweit
  2023-02-17  8:47 ` Krzysztof Kozlowski
  2023-02-17 10:26 ` Ulf Hansson
  0 siblings, 2 replies; 3+ messages in thread
From: Heiner Kallweit @ 2023-02-16 19:50 UTC (permalink / raw)
  To: Rob Herring, Ulf Hansson, Krzysztof Kozlowski, Neil Armstrong,
	Kevin Hilman, Jerome Brunet, Martin Blumenstingl
  Cc: linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	open list:ARM/Amlogic Meson..., devicetree@vger.kernel.org

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>
---
v2:
- omit maxItems and use items
---
 .../devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml        | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml
index c8c30300d..bc403ae9e 100644
--- a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml
+++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx-mmc.yaml
@@ -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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-17 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-16 19:50 [PATCH v2] dt-bindings: mmc: meson-gx: fix interrupt binding Heiner Kallweit
2023-02-17  8:47 ` Krzysztof Kozlowski
2023-02-17 10:26 ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).