On 15/03/2026 17:26, Barnabás Czémán wrote:
There are variants from MSM8917 wingtech xiaomis what
are using goodix touch controller instead of focaltech.
Add goodix node for make it able to use touch on all
variants.

Signed-off-by: Barnabás Czémán <[email protected]>
---
  arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi | 16 ++++++++++++++++

The file is not in the linux-next or linus tree.

If this patch depends on another series, it should be stated here and preferably also reference (can be done with b4 tool).

David

  1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi 
b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
index 714e75de014b..69eda5f42c06 100644
--- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi
@@ -102,6 +102,22 @@ edt_ft5306: touchscreen@38 {
status = "disabled";
        };
+
+       goodix_gt911: touchscreen@5d {
+               compatible = "goodix,gt911";
+               reg = <0x5d>;
+               interrupts-extended = <&tlmm 65 IRQ_TYPE_LEVEL_LOW>;
+               irq-gpios = <&tlmm 65 GPIO_ACTIVE_HIGH>;
+               reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
+               pinctrl-0 = <&tsp_int_rst_default>;
+               pinctrl-names = "default";
+               AVDD28-supply = <&pm8937_l10>;
+               VDDIO-supply = <&pm8937_l5>;
+               touchscreen-size-x = <720>;
+               touchscreen-size-y = <1280>;
+
+               status = "disabled";
+       };
  };
&pm8937_gpios {


--
David Heidelberg


Reply via email to