diff mbox series

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

Message ID c1437eb6-0c01-809f-422b-cb1109489355@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v2] dt-bindings: mmc: meson-gx: fix interrupt binding | expand

Commit Message

Heiner Kallweit Feb. 16, 2023, 7:50 p.m. UTC
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(-)

Comments

Krzysztof Kozlowski Feb. 17, 2023, 8:47 a.m. UTC | #1
On 16/02/2023 20:50, Heiner Kallweit wrote:
> 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>

Best regards,
Krzysztof
Ulf Hansson Feb. 17, 2023, 10:26 a.m. UTC | #2
On Thu, 16 Feb 2023 at 20:50, Heiner Kallweit <hkallweit1@gmail.com> wrote:
>
> 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>

Applied for next, thanks!

Kind regards
Uffe

> ---
> 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
>
diff mbox series

Patch

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