diff options
author | Apurva Nandan <a-nandan@ti.com> | 2022-08-19 21:07:27 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-09-29 12:10:10 +0200 |
commit | d9fc272bfd76acadf0537901549d07a1b81dbeed (patch) | |
tree | a5ba1956da1bcc3c4dadbf2f01933489c454e0da /Documentation/devicetree | |
parent | irqchip: Make irqchip_init() usable on pure ACPI systems (diff) | |
download | linux-d9fc272bfd76acadf0537901549d07a1b81dbeed.tar.xz linux-d9fc272bfd76acadf0537901549d07a1b81dbeed.zip |
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
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml index 88c46e61732e..1151518859bd 100644 --- a/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml +++ b/Documentation/devicetree/bindings/interrupt-controller/ti,sci-inta.yaml @@ -59,6 +59,9 @@ properties: interrupt-controller: true + '#interrupt-cells': + const: 0 + msi-controller: true ti,interrupt-ranges: |