diff mbox series

dt-bindings: interrupt-controller: ti,sci-inta: Add missing "#interrupt-cells" to example

Message ID 20240925173432.1906168-1-robh@kernel.org (mailing list archive)
State New, archived
Headers show
Series dt-bindings: interrupt-controller: ti,sci-inta: Add missing "#interrupt-cells" to example | expand

Commit Message

Rob Herring (Arm) Sept. 25, 2024, 5:34 p.m. UTC
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>
---
 .../devicetree/bindings/interrupt-controller/ti,sci-inta.yaml    | 1 +
 1 file changed, 1 insertion(+)

Comments

Conor Dooley Sept. 26, 2024, 4:58 p.m. UTC | #1
On Wed, Sep 25, 2024 at 12:34:31PM -0500, Rob Herring (Arm) wrote:
> 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>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml
index 6a49d74b992a..5449266f258a 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml
@@ -109,6 +109,7 @@  examples:
             compatible = "ti,sci-inta";
             reg = <0x0 0x33d00000 0x0 0x100000>;
             interrupt-controller;
+            #interrupt-cells = <0>;
             msi-controller;
             interrupt-parent = <&main_navss_intr>;
             ti,sci = <&dmsc>;