Skip to contentSkip to conversation

dt-bindings: gpio: fix microchip #interrupt-cells

PATCH Applied Conor Dooley 2 participants 2 messages Mar 26 – Mar 30

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

PATCH 1/1 dt-bindings: gpio: fix microchip #interrupt-cells

From: Jamie Gibbons <[email protected]>

The GPIO controller on PolarFire SoC supports more than one type of interrupt and needs two interrupt cells.

Fixes 735806d8a68e9 ("dt-bindings: gpio: add bindings for microchip mpfs gpio")

---
This has been downstream for ages, only noticed it was missing recently when trying to add consumers.
CC: Conor Dooley <[email protected]>
CC: Daire McNamara <[email protected]>
CC: Linus Walleij <[email protected]>
CC: Bartosz Golaszewski <[email protected]>
CC: Rob Herring <[email protected]>
CC: Krzysztof Kozlowski <[email protected]>
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 .../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml +2 -2
index 184432d24ea18..f42c54653d521 100644
@@ -37,7 +37,7 @@ properties:
     const: 2
 
   "#interrupt-cells":
-    const: 1
+    const: 2
 
   ngpios:
     description:
@@ -86,7 +86,7 @@ examples:
         gpio-controller;
         #gpio-cells = <2>;
         interrupt-controller;
-        #interrupt-cells = <1>;
+        #interrupt-cells = <2>;
         interrupts = <53>, <53>, <53>, <53>,
                      <53>, <53>, <53>, <53>,
                      <53>, <53>, <53>, <53>,
Signature · 1 line
2.53.0