mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
arm/dts: Bangkok TP bring up
add bangkok focaltech tp driver,add the focaltech driver dtsi condfig. Change-Id: Ie0ef617bc2d4f0a99025e1dae6eab42e167d9666 Signed-off-by: LiZidong <tnlizd@motorola.com> Reviewed-on: https://gerrit.mot.com/2551043 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wei Deng <dengwei1@motorola.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
ee536d6d7a
commit
3eea82b5f2
1 changed files with 23 additions and 14 deletions
|
|
@ -71,23 +71,32 @@
|
|||
|
||||
&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>;
|
||||
novatek@0{
|
||||
compatible = "novatek,NVT-ts-spi";
|
||||
|
||||
focaltech@0{
|
||||
compatible = "focaltech,fts";
|
||||
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;
|
||||
novatek,edge_cmd = /bits/ 8 <0x72 0x01 0x00>;
|
||||
novatek,panel-supplier = "tianma","tm","csot";
|
||||
//mmi,status = "/chosen","vtdr6115"
|
||||
mmi,status = "/chosen","mmi,panel_name","contains","vtdr6115"
|
||||
spi-max-frequency = <6000000>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <22 0x2008>;
|
||||
focaltech,vdd-gpio = <&tlmm 11 0x00>;
|
||||
focaltech,reset-gpio = <&tlmm 21 0x00>;
|
||||
focaltech,irq-gpio = <&tlmm 22 0x02008>;
|
||||
vcc_i2c-supply = <&L13A>;
|
||||
focaltech,max-touch-number = <10>;
|
||||
focaltech,display-coords = <0 0 17280 38400>;
|
||||
|
||||
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>;
|
||||
|
||||
panel = <&mot_csot_vtdr6115_655_1080x2400_dsc_vid>;
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue