From fa0db887ae591a5f0d94e500cd86ed5ce0aebaa1 Mon Sep 17 00:00:00 2001 From: wangyq13 Date: Tue, 30 Nov 2021 21:15:13 +0800 Subject: [PATCH] arm/dt: corfur: add goodix gt9885 touch configs - Add goodix gt9885 touch configs - Enable focal dynamic load feature, if panel don't match, don't enter probe process Change-Id: I44c0e35463197066446384ea2d8697f3a8f08b13 Signed-off-by: wangyq13 Reviewed-on: https://gerrit.mot.com/2131081 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jun Weng Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/corfuq-touchscreen.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/qcom/corfuq-touchscreen.dtsi b/qcom/corfuq-touchscreen.dtsi index c0f52887f4d9..61454fc17fee 100755 --- a/qcom/corfuq-touchscreen.dtsi +++ b/qcom/corfuq-touchscreen.dtsi @@ -34,6 +34,7 @@ pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>; pinctrl-2 = <&pmx_ts_release>; panel = <&dsi_vtdr6110c_visionox_video>; + mmi,status = "/chosen","mmi,panel_name","contains","vtdr6110c"; /* touchscreen_mmi class entries*/ mmi,enable-gestures; @@ -41,4 +42,23 @@ mmi,class-entry-name = "ft3519"; mmi,reset-on-resume = <0x01>; }; + + goodix-gtx8@5d { + compatible = "goodix,gt9885"; + + goodix,avdd-name = "avdd"; + avdd-supply = <&L22A>; + goodix,iovdd-name = "iovdd"; + iovdd-supply = <&L13A>; + + reg = <0x5d>; + mmi,status = "/chosen","mmi,panel_name","contains","rm692c9"; + 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>; + panel = <&dsi_rm692c9_visionox_video>; + }; };