linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: gpio: st,nomadik-gpio: Add missing "#interrupt-cells" to example
@ 2024-09-25 17:35 Rob Herring (Arm)
  2024-09-26 16:55 ` Conor Dooley
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Rob Herring (Arm) @ 2024-09-25 17:35 UTC (permalink / raw)
  To: Linus Walleij, Bartosz Golaszewski, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-kernel, linux-gpio, devicetree, linux-kernel

Enabling dtc interrupt_provider check reveals the example is missing the
"#interrupt-cells" property as it is a dependency of
"interrupt-controller".

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
index 38d37d8f7201..b3e8951959b5 100644
--- a/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
+++ b/Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml
@@ -89,6 +89,7 @@ examples:
         interrupts = <0 120 0x4>;
         #gpio-cells = <2>;
         gpio-controller;
+        #interrupt-cells = <2>;
         interrupt-controller;
         st,supports-sleepmode;
         gpio-bank = <1>;
-- 
2.45.2


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

end of thread, other threads:[~2024-10-02 14:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-25 17:35 [PATCH] dt-bindings: gpio: st,nomadik-gpio: Add missing "#interrupt-cells" to example Rob Herring (Arm)
2024-09-26 16:55 ` Conor Dooley
2024-10-02 13:04 ` Linus Walleij
2024-10-02 13:32   ` Bartosz Golaszewski
2024-10-02 14:22     ` Rob Herring
2024-10-02 14:29       ` Bartosz Golaszewski
2024-10-02 14:28 ` Bartosz Golaszewski

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).