From ac343beafa26b0661ad3f72f71e8ddb1d855106c Mon Sep 17 00:00:00 2001 From: Yu Wu Date: Wed, 8 May 2024 16:41:59 +0800 Subject: [PATCH] ARM: dts: msm: set touch irq flag for sun platform Set touch irq flag for sun platform. Signed-off-by: Yu Wu --- qcom/sun-cdp.dtsi | 2 ++ qcom/sun-mtp.dtsi | 1 + qcom/sun-qrd.dtsi | 1 + qcom/sun-vm-cdp.dtsi | 2 ++ qcom/sun-vm-mtp-v8.dtsi | 1 + qcom/sun-vm-mtp.dtsi | 1 + qcom/sun-vm-qrd.dtsi | 1 + 7 files changed, 9 insertions(+) diff --git a/qcom/sun-cdp.dtsi b/qcom/sun-cdp.dtsi index 3e00c2c8..03aee785 100644 --- a/qcom/sun-cdp.dtsi +++ b/qcom/sun-cdp.dtsi @@ -229,6 +229,7 @@ pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; st,irq-gpio = <&tlmm 162 0x2008>; + st,irq-flags = <8>; st,reset-gpio = <&tlmm 161 0x00>; st,regulator_dvdd = "vdd"; st,regulator_avdd = "avdd"; @@ -264,6 +265,7 @@ pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; st,irq-gpio = <&tlmm 88 0x2008>; + st,irq-flags = <8>; st,reset-gpio = <&tlmm 100 0x00>; st,regulator_dvdd = "vdd"; st,regulator_avdd = "avdd"; diff --git a/qcom/sun-mtp.dtsi b/qcom/sun-mtp.dtsi index bdea7207..1cacdede 100644 --- a/qcom/sun-mtp.dtsi +++ b/qcom/sun-mtp.dtsi @@ -314,6 +314,7 @@ pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; st,irq-gpio = <&tlmm 162 0x2008>; + st,irq-flags = <8>; st,reset-gpio = <&tlmm 161 0x00>; st,regulator_dvdd = "vdd"; st,regulator_avdd = "avdd"; diff --git a/qcom/sun-qrd.dtsi b/qcom/sun-qrd.dtsi index 31d7dc91..36307a31 100644 --- a/qcom/sun-qrd.dtsi +++ b/qcom/sun-qrd.dtsi @@ -309,6 +309,7 @@ pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; st,irq-gpio = <&tlmm 162 0x2008>; + st,irq-flags = <8>; st,reset-gpio = <&tlmm 161 0x00>; st,regulator_dvdd = "vdd"; st,regulator_avdd = "avdd"; diff --git a/qcom/sun-vm-cdp.dtsi b/qcom/sun-vm-cdp.dtsi index 18111b77..27b65c84 100644 --- a/qcom/sun-vm-cdp.dtsi +++ b/qcom/sun-vm-cdp.dtsi @@ -12,6 +12,7 @@ st_fts@49 { compatible = "st,fts"; reg = <0x49>; + st,irq-flags = <8>; st,touch-type = "primary"; st,qts_en; @@ -33,6 +34,7 @@ st_fts@49 { compatible = "st,fts2"; reg = <0x49>; + st,irq-flags = <8>; st,touch-type = "secondary"; st,qts_en; diff --git a/qcom/sun-vm-mtp-v8.dtsi b/qcom/sun-vm-mtp-v8.dtsi index 72a4ff8f..dec759d7 100644 --- a/qcom/sun-vm-mtp-v8.dtsi +++ b/qcom/sun-vm-mtp-v8.dtsi @@ -12,6 +12,7 @@ st_fts@49 { compatible = "st,fts"; reg = <0x49>; + st,irq-flags = <8>; st,touch-type = "primary"; st,qts_en; diff --git a/qcom/sun-vm-mtp.dtsi b/qcom/sun-vm-mtp.dtsi index 72a4ff8f..dec759d7 100644 --- a/qcom/sun-vm-mtp.dtsi +++ b/qcom/sun-vm-mtp.dtsi @@ -12,6 +12,7 @@ st_fts@49 { compatible = "st,fts"; reg = <0x49>; + st,irq-flags = <8>; st,touch-type = "primary"; st,qts_en; diff --git a/qcom/sun-vm-qrd.dtsi b/qcom/sun-vm-qrd.dtsi index e4960fd8..295bd63c 100644 --- a/qcom/sun-vm-qrd.dtsi +++ b/qcom/sun-vm-qrd.dtsi @@ -13,6 +13,7 @@ st_fts@0 { compatible = "st,fts"; reg = <0x0>; + st,irq-flags = <8>; spi-max-frequency = <1000000>; st,touch-type = "primary";