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

Rob Herring (Arm) posted 1 patch 2 months ago
.../devicetree/bindings/interrupt-controller/ti,sci-inta.yaml    | 1 +
1 file changed, 1 insertion(+)
[PATCH] dt-bindings: interrupt-controller: ti,sci-inta: Add missing "#interrupt-cells" to example
Posted by Rob Herring (Arm) 2 months ago
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(+)

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>;
-- 
2.45.2
Re: [PATCH] dt-bindings: interrupt-controller: ti,sci-inta: Add missing "#interrupt-cells" to example
Posted by Conor Dooley 2 months ago
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>