Skip to content

Commit e3eb39e

Browse files
robherringarndb
authored andcommitted
dt-bindings: gpio: ep9301: Add missing "#interrupt-cells" to examples
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]>
1 parent a481b9d commit e3eb39e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,10 @@ examples:
7373
reg-names = "data", "dir", "intr";
7474
gpio-controller;
7575
#gpio-cells = <2>;
76-
interrupt-controller;
77-
interrupt-parent = <&vic1>;
78-
interrupts = <27>;
76+
interrupt-controller;
77+
#interrupt-cells = <2>;
78+
interrupt-parent = <&vic1>;
79+
interrupts = <27>;
7980
};
8081
8182
gpio@80840004 {
@@ -87,6 +88,7 @@ examples:
8788
gpio-controller;
8889
#gpio-cells = <2>;
8990
interrupt-controller;
91+
#interrupt-cells = <2>;
9092
interrupt-parent = <&vic1>;
9193
interrupts = <27>;
9294
};
@@ -127,6 +129,7 @@ examples:
127129
gpio-controller;
128130
#gpio-cells = <2>;
129131
interrupt-controller;
132+
#interrupt-cells = <2>;
130133
interrupts-extended = <&vic0 19>, <&vic0 20>,
131134
<&vic0 21>, <&vic0 22>,
132135
<&vic1 15>, <&vic1 16>,

0 commit comments

Comments
 (0)