dt-bindings: gpio: ep9301: Add missing "#interrupt-cells" to examples
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: gpio: ep9301: Add missing "#interrupt-cells" to examples
From: Rob Herring <[email protected]>
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.
--- Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml +6 -3
@@ -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>,
Signature · 1 line
2.45.2
Hi Rob!
Thank you!
Quoted 50 lines · Rob Herring (Arm)
From: Rob Herring <[email protected]>
Enabling dtc
interrupt_providercheck 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]>---
Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml | 9 ++++++-- -1 file changed, 6 insertions(+), 3 deletions(-)Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml +4
-3@@ -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 {Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml +2
-0@@ -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>,
Quoted 9 lines · Rob Herring (Arm)
From: Rob Herring <[email protected]>
Enabling dtc
interrupt_providercheck 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]>
Quoted 41 lines
--- Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)Documentation/devicetree/bindings/gpio/gpio-ep9301.yaml +6
-3@@ -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>,Signature · 1 line
2.45.2