dt-bindings: gpio: st,nomadik-gpio: Add missing "#interrupt-cells" to example
authorRob Herring (Arm) <robh@kernel.org>
Wed, 25 Sep 2024 17:35:03 +0000 (12:35 -0500)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 2 Oct 2024 14:28:20 +0000 (16:28 +0200)
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>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240925173504.1906872-1-robh@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/gpio/st,nomadik-gpio.yaml

index 38d37d8f7201b1eb753c996c196600450d8f28c8..b3e8951959b52eece16e9fdb8f4680a4feb380f2 100644 (file)
@@ -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>;