From 7777d8bf3e82bde6cdd059a50e39c40af01bd5b9 Mon Sep 17 00:00:00 2001 From: wengjun1 Date: Thu, 24 Jun 2021 18:53:10 +0800 Subject: [PATCH] cypfg: arm64/dts: Change gc7372 irq configuration - Change irq trigger type to rising. - Removed unused touch configuration. Change-Id: I1379d6b75a88f639ddc12ecd45ab7c78d0cabe42 Signed-off-by: wengjun1 Reviewed-on: https://gerrit.mot.com/1990945 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- qcom/cypfg-touchscreen.dtsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/qcom/cypfg-touchscreen.dtsi b/qcom/cypfg-touchscreen.dtsi index ad997b9def2f..96a06ad3c86b 100755 --- a/qcom/cypfg-touchscreen.dtsi +++ b/qcom/cypfg-touchscreen.dtsi @@ -85,6 +85,12 @@ status = "disabled"; }; +&qupv3_se8_i2c { + synaptics_tcm@20 { + status = "disabled"; + }; +}; + &qupv3_se0_spi { status = "ok"; ilitek@0 { @@ -107,11 +113,9 @@ compatible = "gcore,touchscreen"; reg = <0x1>; spi-max-frequency = <8000000>; - interrupt-parent = <&tlmm>; - interrupts = <22 0x2008>; panel = <&dsi_csot_gc7372_678_fhd_video>; gcore,rst-gpio = <&tlmm 21 0x00>; - gcore,irq-gpio = <&tlmm 22 0x2008>; + gcore,irq-gpio = <&tlmm 22 0x2001>; pinctrl-names = "pmx_ts_active", "pmx_ts_suspend", "pmx_ts_release"; pinctrl-0 = <&ts_active>; pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;