[PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch

Barnabás Czémán posted 6 patches 3 weeks, 5 days ago
[PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
Posted by Barnabás Czémán 3 weeks, 5 days ago
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 <barnabas.czeman@mainlining.org>
---
 arch/arm64/boot/dts/qcom/msm8917-xiaomi-wingtech.dtsi | 16 ++++++++++++++++
 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 {

-- 
2.53.0

Re: [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
Posted by David Heidelberg 3 weeks, 5 days ago
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 <barnabas.czeman@mainlining.org>
> ---
>   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

Re: [PATCH v3 3/6] arm64: dts: qcom: msm8917-xiaomi-wingtech: Add goodix touch
Posted by Dmitry Baryshkov 3 weeks, 5 days ago
On Sun, Mar 15, 2026 at 08:58:01PM +0100, David Heidelberg wrote:
> 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 <barnabas.czeman@mainlining.org>
> > ---
> >   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).

It is added in the previous patch.

> 
> David
> 
> >   1 file changed, 16 insertions(+)
> > 

-- 
With best wishes
Dmitry