Skip to contentSkip to conversation

arm64: dts: rockchip: Fix Gru WLAN sideband interrupt

PATCH Applied Fabio Estevam 2 participants 2 messages Jul 21 – Jul 28

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: Fix Gru WLAN sideband interrupt

The Marvell WLAN host wake interrupt is wired to GPIO0 8 and is not one of the PCI INTx interrupts. The PCI device schema therefore interprets the two-cell GPIO interrupt specifier as an invalid PCI interrupt and reports dtbs_check warnings:

pcie@0,0: wifi@0,0:interrupts:0:0: 8 is not one of [1, 2, 3, 4] pcie@0,0: wifi@0,0:interrupts:0: [8, 8] is too long

Describe the sideband interrupt with interrupts-extended, which explicitly carries the interrupt controller and removes the ambiguity.

Fixes 48f4d9796d99 ("arm64: dts: rockchip: add Gru/Kevin DTS")
---
 arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/rockchip/rk3399-gru-chromebook.dtsi +1 -2
index 3f3cb0eb5809..5435fbc27095 100644
@@ -505,8 +505,7 @@ &pci_rootport {
 	mvl_wifi: wifi@0,0 {
 		compatible = "pci1b4b,2b42";
 		reg = <0x0000 0x0 0x0 0x0 0x0>;
-		interrupt-parent = <&gpio0>;
-		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
+		interrupts-extended = <&gpio0 8 IRQ_TYPE_LEVEL_LOW>;
 		pinctrl-names = "default";
 		pinctrl-0 = <&wlan_host_wake_l>;
 		wakeup-source;
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 9 lines · Fabio Estevam

The Marvell WLAN host wake interrupt is wired to GPIO0 8 and is not one of the PCI INTx interrupts. The PCI device schema therefore interprets the two-cell GPIO interrupt specifier as an invalid PCI interrupt and reports dtbs_check warnings:

pcie@0,0: wifi@0,0:interrupts:0:0: 8 is not one of [1, 2, 3, 4] pcie@0,0: wifi@0,0:interrupts:0: [8, 8] is too long

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: Fix Gru WLAN sideband interrupt

      commit: a761818d9ee11183df0aefd16bf9fe46cc1c4c6d

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>