[PATCH 2/6] arm64: dts: qcom: sc8280xp-huawei-gaokun3: set GPI DMA channels

From: Icenowy Zheng

Date: Tue Jun 02 2026 - 04:36:34 EST


It's found that some GPI interfaces shouldn't be touched by HLOS,
otherwise system hang / reset happens.

The GPI interface availability information is available via the ACPI
DSDT table, as interrupt resources for \_SB_.QGP* devices.

Add such information to the device tree file.

The DSDT table is acquired at [1].

[1] https://github.com/aarch64-laptops/build/blob/2e71c8f36d0d565f01a737e9e0cd0ce3c43db0e6/misc/huawei-matebooke-go/dsdt.dsl

Signed-off-by: Icenowy Zheng <zhengxingda@xxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sc8280xp-huawei-gaokun3.dts | 3 +++
1 file changed, 3 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-huawei-gaokun3.dts b/arch/arm64/boot/dts/qcom/sc8280xp-huawei-gaokun3.dts
index 9819454abe131..f8171bd292e2a 100644
--- a/arch/arm64/boot/dts/qcom/sc8280xp-huawei-gaokun3.dts
+++ b/arch/arm64/boot/dts/qcom/sc8280xp-huawei-gaokun3.dts
@@ -582,14 +582,17 @@ &dispcc0 {
};

&gpi_dma0 {
+ dma-channel-mask = <0xb>;
status = "okay";
};

&gpi_dma1 {
+ dma-channel-mask = <0x3>;
status = "okay";
};

&gpi_dma2 {
+ dma-channel-mask = <0xb>;
status = "okay";
};

--
2.52.0