From ad721353a3616755a22f12e157c046fe2f89fa33 Mon Sep 17 00:00:00 2001 From: qiutong Date: Mon, 31 Jul 2023 12:09:43 +0800 Subject: [PATCH] dts:2st NT36528_TXD_ TP bringup for fogo5G_NA product. 1.Delete chipone dts node.Add novatek dts node. 2.Modify ilitek panel name. module:USB Bug or AR ID:NA Feature or Bugfix:Feature Test(FactoryVer/UserVer/bootloader):pass/pass/NA TscodeCheck: pass Change-Id: I81cb6a703674b484748310a6e5cd89c0ef54eaa6 Reviewed-on: https://gerrit.mot.com/2694301 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Jun Weng Reviewed-by: Hujun Liao Submit-Approved: Jira Key --- qcom/fogo-touchscreen.dtsi | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/qcom/fogo-touchscreen.dtsi b/qcom/fogo-touchscreen.dtsi index 357726f6acb7..356270e26ef5 100755 --- a/qcom/fogo-touchscreen.dtsi +++ b/qcom/fogo-touchscreen.dtsi @@ -161,31 +161,25 @@ &qupv3_se0_spi { status = "ok"; - pinctrl-0 = <&qupv3_se0_spi_active &qupv3_se0_spi_cs_active>; pinctrl-1 = <&qupv3_se0_spi_sleep &qupv3_se0_spi_cs_sleep>; - chipone_tddi@0 { - compatible = "chipone-tddi"; + novatek@0 { + compatible = "novatek,NVT-ts-spi"; reg = <0x0>; - spi-max-frequency = <8000000>; + + spi-max-frequency = <9600000>; interrupt-parent = <&tlmm>; interrupts = <22 0x2001>; - spi-cpha; - spi-cpol; - chipone,rst-gpio = <&tlmm 21 0x00>; - chipone,irq-gpio = <&tlmm 22 0x2001>; - chipone,x-res = <720>; - chipone,y-res = <1600>; - chipone,def-build-id = <0x0101>; - chipone,def-config-id = <0x0001>; - pinctrl-names = "pmx_ts_int_active","pmx_ts_int_suspend_high"; - pinctrl-3 = <&ts_active>; - pinctrl-4 = <&ts_int_suspend_high>; - panel = <&dsi_boe_ili9883c_656_hd_plus_120_video>; - mmi,status = "/chosen","mmi,panel_name","contains","icnl9916c"; + novatek,reset-gpio = <&tlmm 21 0x00>; + novatek,irq-gpio = <&tlmm 22 0x2001>; + novatek,def-max-resolution = <720 1612>; + panel = <&dsi_txd_nt36528_656_hd_plus_120_video>; + novatek,swrst-n8-addr = <0x03F0FE>; + novatek,spi-rd-fast-addr = <0x03F310>; status = "ok"; }; + ilitek@1 { compatible = "tchip,ilitek"; reg = <0x1>;