dt-bindings: irqchip: ti,sci-inta: Fix warning for missing #interrupt-cells
authorApurva Nandan <a-nandan@ti.com>
Fri, 19 Aug 2022 19:07:27 +0000 (00:37 +0530)
committerMarc Zyngier <maz@kernel.org>
Thu, 29 Sep 2022 10:10:10 +0000 (11:10 +0100)
commitd9fc272bfd76acadf0537901549d07a1b81dbeed
treea5ba1956da1bcc3c4dadbf2f01933489c454e0da
parent612d5494aef9bd2ab68d585a8c0ac2b16d12d520
dt-bindings: irqchip: ti,sci-inta: Fix warning for missing #interrupt-cells

ti,sci-inta nodes, or else we will have following warning when building
device tree files with W=2 warning level.

arch/arm64/boot/dts/ti/k3-j721e-main.dtsi:147.51-156.5: Warning (interrupt_provider): /bus@100000/main-navss/interrupt-controller@33d00000: Missing #interrupt-cells in interrupt provider

And further, #interrupt-cells is required to be in yaml bindings as well
to prevent following schema warnings:

k3-j721e-common-proc-board.dtb: interrupt-controller@33d00000: Unevaluated properties are not allowed ('#interrupt-cells' was unexpected)
>From schema: linux/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml

Add #interrupt-cells property in ti,sci-inta.yaml

Signed-off-by: Apurva Nandan <a-nandan@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220819190729.32358-2-a-nandan@ti.com
Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml