mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
rhodep: arm64/dts: gt9916s bringup
- Add initial gt9916a dts config. - Compitable with csot and tianma panel. Change-Id: I7277dc8ad67a8c9eea6264983f015fbf302e4153 Signed-off-by: wengjun1 <wengjun1@motorola.com> Reviewed-on: https://gerrit.mot.com/2108639 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Zhihong Kang <kangzh@motorola.com> Reviewed-by: Hujun Liao <liaohj@motorola.com> Reviewed-by: Huosheng Liao <liaohs@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
7b402dec1a
commit
fceaf387c8
1 changed files with 20 additions and 12 deletions
|
|
@ -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>;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue