Skip to content

Commit 7c6bbcb

Browse files
krzkmmind
authored andcommitted
arm64: dts: rockchip: Fix wifi interrupts flag on Sakura Pi RK3308B
GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. These are simple defines so they could be used in DTS but they will not have the same meaning: GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE. Correct the interrupt flags, assuming the author of the code wanted same logical behavior behind the name "ACTIVE_xxx", this is: ACTIVE_HIGH => IRQ_TYPE_LEVEL_HIGH Fixes: 79f2a17 ("arm64: dts: rockchip: add DTs for Sakura Pi RK3308B") Cc: stable+noautosel@kernel.org # Needs testing, because actual level is just a guess Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Acked-by: Chiyuki Akatsuki <thesnowfield@sakurapi.org> Link: https://patch.msgid.link/20251217091808.38253-2-krzysztof.kozlowski@oss.qualcomm.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 5497ffe commit 7c6bbcb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3308-sakurapi-rk3308b.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
compatible = "brcm,bcm43455-fmac", "brcm,bcm4329-fmac";
200200
reg = <1>;
201201
interrupt-parent = <&gpio0>;
202-
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
202+
interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
203203
interrupt-names = "host-wake";
204204
pinctrl-names = "default";
205205
pinctrl-0 = <&wifi_host_wake>;

0 commit comments

Comments
 (0)