[PATCH] dt-bindings: gpio: fix microchip #interrupt-cells

Conor Dooley posted 1 patch 1 week ago
.../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml         | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] dt-bindings: gpio: fix microchip #interrupt-cells
Posted by Conor Dooley 1 week ago
From: Jamie Gibbons <jamie.gibbons@microchip.com>

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")
Signed-off-by: Jamie Gibbons <jamie.gibbons@microchip.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
---
This has been downstream for ages, only noticed it was missing recently
when trying to add consumers.
CC: Conor Dooley <conor.dooley@microchip.com>
CC: Daire McNamara <daire.mcnamara@microchip.com>
CC: Linus Walleij <linusw@kernel.org>
CC: Bartosz Golaszewski <brgl@kernel.org>
CC: Rob Herring <robh@kernel.org>
CC: Krzysztof Kozlowski <krzk+dt@kernel.org>
CC: linux-gpio@vger.kernel.org
CC: devicetree@vger.kernel.org
CC: linux-kernel@vger.kernel.org
---
 .../devicetree/bindings/gpio/microchip,mpfs-gpio.yaml         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
index 184432d24ea18..f42c54653d521 100644
--- a/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/microchip,mpfs-gpio.yaml
@@ -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>,
-- 
2.53.0
Re: [PATCH] dt-bindings: gpio: fix microchip #interrupt-cells
Posted by Bartosz Golaszewski 3 days, 10 hours ago
On Thu, 26 Mar 2026 17:02:34 +0000, Conor Dooley wrote:
> The GPIO controller on PolarFire SoC supports more than one type of
> interrupt and needs two interrupt cells.
> 
> 

Applied, thanks!

[1/1] dt-bindings: gpio: fix microchip #interrupt-cells
      https://git.kernel.org/brgl/c/6b5ef8c88854b343b733b574ea8754c9dab61f41

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>