Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: dts: Fix dtc interrupt_map warnings

The dtc interrupt_map warning is off because its dependency,
interrupt_provider, is off by default. Fix all the warnings so it can be
enabled.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20240213-arm-dt-cleanups-v1-4-f2dee1292525@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Rob Herring and committed by
Arnd Bergmann
f02b0f0d 91adecf9

+8 -4
+2
arch/arm/boot/dts/intel/ixp/intel-ixp42x-gateway-7001.dts
··· 60 60 * We have slots (IDSEL) 1 and 2 with one assigned IRQ 61 61 * each handling all IRQs. 62 62 */ 63 + #interrupt-cells = <1>; 64 + interrupt-map-mask = <0xf800 0 0 7>; 63 65 interrupt-map = 64 66 /* IDSEL 1 */ 65 67 <0x0800 0 0 1 &gpio0 11 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 1 is irq 11 */
+2
arch/arm/boot/dts/intel/ixp/intel-ixp42x-goramo-multilink.dts
··· 89 89 * The slots have Ethernet, Ethernet, NEC and MPCI. 90 90 * The IDSELs are 11, 12, 13, 14. 91 91 */ 92 + #interrupt-cells = <1>; 93 + interrupt-map-mask = <0xf800 0 0 7>; 92 94 interrupt-map = 93 95 /* IDSEL 11 - Ethernet A */ 94 96 <0x5800 0 0 1 &gpio0 4 IRQ_TYPE_LEVEL_LOW>, /* INT A on slot 11 is irq 4 */
+4 -4
arch/arm/boot/dts/qcom/qcom-sdx55.dtsi
··· 340 340 "msi8"; 341 341 #interrupt-cells = <1>; 342 342 interrupt-map-mask = <0 0 0 0x7>; 343 - interrupt-map = <0 0 0 1 &intc 0 0 0 141 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 344 - <0 0 0 2 &intc 0 0 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 345 - <0 0 0 3 &intc 0 0 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 346 - <0 0 0 4 &intc 0 0 0 144 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 343 + interrupt-map = <0 0 0 1 &intc 0 141 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ 344 + <0 0 0 2 &intc 0 142 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ 345 + <0 0 0 3 &intc 0 143 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ 346 + <0 0 0 4 &intc 0 144 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ 347 347 348 348 clocks = <&gcc GCC_PCIE_PIPE_CLK>, 349 349 <&gcc GCC_PCIE_AUX_CLK>,