]> Git Repo - J-linux.git/commitdiff
dt-bindings: gpio: ep9301: Add missing "#interrupt-cells" to examples
authorRob Herring <[email protected]>
Wed, 25 Sep 2024 17:35:10 +0000 (12:35 -0500)
committerArnd Bergmann <[email protected]>
Thu, 26 Sep 2024 14:23:42 +0000 (14:23 +0000)
Enabling dtc interrupt_provider check reveals the examples are missing
the "#interrupt-cells" property as it is a dependency of
"interrupt-controller".

Some of the indentation is off, so fix that too.

Signed-off-by: Rob Herring (Arm) <[email protected]>
Reviewed-by: Nikita Shubin <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml

index daadfb4926c319636e84a62099bac3b7c845bade..3a1079d6ee200c59a7ff6117e5e8863123634f2a 100644 (file)
@@ -73,9 +73,10 @@ examples:
       reg-names = "data", "dir", "intr";
       gpio-controller;
       #gpio-cells = <2>;
-        interrupt-controller;
-        interrupt-parent = <&vic1>;
-        interrupts = <27>;
+      interrupt-controller;
+      #interrupt-cells = <2>;
+      interrupt-parent = <&vic1>;
+      interrupts = <27>;
     };
 
     gpio@80840004 {
@@ -87,6 +88,7 @@ examples:
       gpio-controller;
       #gpio-cells = <2>;
       interrupt-controller;
+      #interrupt-cells = <2>;
       interrupt-parent = <&vic1>;
       interrupts = <27>;
     };
@@ -127,6 +129,7 @@ examples:
       gpio-controller;
       #gpio-cells = <2>;
       interrupt-controller;
+      #interrupt-cells = <2>;
       interrupts-extended = <&vic0 19>, <&vic0 20>,
                             <&vic0 21>, <&vic0 22>,
                             <&vic1 15>, <&vic1 16>,
This page took 0.052484 seconds and 4 git commands to generate.