From 84482103598515edcd8699b03f4ff33bae2adf2f Mon Sep 17 00:00:00 2001 From: wangyq13 Date: Wed, 19 May 2021 23:08:05 +0800 Subject: [PATCH] arm/dt: corfup: add ft3519 touch configs arm/dt: Add ft3519 touch configs, remove goodix touch configs. Change-Id: I86ef2e83859e201d539e060c62548d61732d48b3 Signed-off-by: wangyq13 Reviewed-on: https://gerrit.mot.com/1954445 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Jun Weng Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/corfup-touchscreen.dtsi | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/qcom/corfup-touchscreen.dtsi b/qcom/corfup-touchscreen.dtsi index 7f5c0f57625a..79d299c5406f 100755 --- a/qcom/corfup-touchscreen.dtsi +++ b/qcom/corfup-touchscreen.dtsi @@ -17,20 +17,21 @@ &qupv3_se0_i2c { status = "ok"; - goodix-gtx8@5d { - compatible = "goodix,gt9886"; - goodix,avdd-name = "avdd"; - avdd-supply = <&L9E>; - goodix,iovdd-name = "iovdd"; - iovdd-supply = <&L1E>; - - reg = <0x5d>; - goodix,reset-gpio = <&tlmm 21 0x00>; - goodix,irq-gpio = <&tlmm 22 0x2008>; - goodix,irq-flags = <2>; /* 1:trigger rising, 2:trigger falling;*/ - goodix,panel-max-x = <1080>; - goodix,panel-max-y = <2400>; - goodix,panel-max-w = <255>; + focaltech@38{ + compatible = "focaltech,fts"; + reg = <0x38>; + interrupt-parent = <&tlmm>; + interrupts = <22 0x2008>; + focaltech,reset-gpio = <&tlmm 21 0x00>; + focaltech,irq-gpio = <&tlmm 22 0x2008>; + focaltech,max-touch-number = <10>; + focaltech,display-coords = <0 0 1080 2400>; + vdd-supply = <&L9E>; + pinctrl-names = "pmx_ts_active", "pmx_ts_suspend", + "pmx_ts_release"; + pinctrl-0 = <&ts_active>; + pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; + pinctrl-2 = <&pmx_ts_release>; }; };