diff --git a/qcom/rhodep-touchscreen.dtsi b/qcom/rhodep-touchscreen.dtsi index b384e8cb0171..18b0b3da96e9 100755 --- a/qcom/rhodep-touchscreen.dtsi +++ b/qcom/rhodep-touchscreen.dtsi @@ -73,19 +73,27 @@ status = "ok"; pinctrl-0 = <&qupv3_se0_spi_active &qupv3_se0_spi_cs_active>; pinctrl-1 = <&qupv3_se0_spi_sleep &qupv3_se0_spi_cs_sleep>; - novatek@0{ - compatible = "novatek,NVT-ts-spi"; - reg = <0x0>; - spi-max-frequency = <9600000>; /* 4800000,9600000,15000000,19200000 */ - novatek,reset-gpio = <&tlmm 21 0x00>; - novatek,irq-gpio = <&tlmm 22 0x2001>; - novatek,def-max-resolution = <1080 2460>; - novatek,swrst-n8-addr = <0x03F0FE>; - novatek,spi-rd-fast-addr = <0x03F310>; - novatek,report_gesture_key; - novatek,usb_charger; - panel = <&dsi_tm_nt36672e_678_fhdp_120_video>; - status = "ok"; - }; + goodix_ts_spi@0 { + status = "ok"; + compatible = "goodix,gt9916S"; + reg = <0x0>; + mmi,status = "/chosen","mmi,panel_name","contains","nt37701"; + spi-max-frequency = <9600000>; /* 4800000,9600000,15000000,19200000 */ + goodix,reset-gpio = <&tlmm 21 0x0>; + goodix,irq-gpio = <&tlmm 22 0x2002>; + goodix,avdd-gpio = <&tlmm 92 0x0>; + goodix,irq-flags = <0x2002>; /* 1:trigger rising, 2:trigger falling;*/ + goodix,panel-max-id = <10>; + goodix,panel-max-x = <1080>; + goodix,panel-max-y = <2400>; + goodix,panel-max-w = <255>; + goodix,panel-max-p = <4096>; + panel = <&mot_csot_nt37701_655_1080x2400_dsc_cmd_v0 + &mot_tm_nt37701_655_1080x2400_dsc_cmd_v0>; + 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>; + }; };