TP bring up[2/4]
touch IC is synaptics Change-Id: I1eb5d98305829f3011Montana5dacf934a9f249e1fed Reviewed-on: https://gerrit.mot.com/2268411 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Wei Deng <dengwei1@motorola.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Reviewed-by: <hqjiangy@motorola.com> Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
1 parent
b7bf418c47
commit
a24444054a
1 file changed
+63
-1
@@ -64,18 +64,47 @@
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&qupv3_se2_spi_pins{
|
||||
qupv3_se2_spi_sleep: qupv3_se2_spi_sleep {
|
||||
mux {
|
||||
pins = "gpio6", "gpio7","gpio71";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio6", "gpio7","gpio71";
|
||||
drive-strength = <6>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
qupv3_se2_cs_sleep: qupv3_se2_cs_sleep {
|
||||
mux {
|
||||
pins = "gpio80";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio80";
|
||||
drive-strength = <6>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&qupv3_se2_spi {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
status = "ok"
|
||||
|
||||
pinctrl-1 = <&qupv3_se2_spi_sleep &qupv3_se2_cs_sleep>;
|
||||
|
||||
goodix-berlin@0 {
|
||||
status = "ok"
|
||||
compatible = "goodix,gt9916S";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <9600000>;
|
||||
mmi,status = "/chosen","mmi,panel_name","contains","v0","v1","v2"
|
||||
mmi,status = "/chosen","mmi,panel_name","contains","nt37701_1080x2400_655_dsc_cmd_v0","v1","v2"
|
||||
|
||||
goodix,avdd-gpio = <&tlmm 2 0x0>;
|
||||
goodix,reset-gpio = <&tlmm 86 0x0>;
|
||||
@@ -125,5 +154,38 @@
|
||||
|
||||
panel = <&mot_csot_nt37701_655_1080x2400_dsc_cmd_v9>;
|
||||
};
|
||||
|
||||
/* Synaptics S3910P device tree node */
|
||||
synaptics_tcm@2 {
|
||||
compatible = "synaptics,tcm-spi";
|
||||
reg = <2>;
|
||||
spi-max-frequency = <9600000>;
|
||||
mmi,status = "/chosen","mmi,panel_name","contains","visionox"
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <97 0x2008>;
|
||||
//synaptics,vdd-gpio = <&pm8916_l15>;
|
||||
synaptics,avdd-gpio = <&tlmm 2 0x0>;
|
||||
synaptics,avdd-name = "vdd";
|
||||
synaptics,vdd-name = "avdd";
|
||||
synaptics,power-delay-ms = <200>;
|
||||
synaptics,power-supply = <1>;
|
||||
synaptics,power-on-state = <1>;
|
||||
synaptics,irq-gpio = <&tlmm 97 0x2008>; /* IRQF_ONESHOT | IRQF_TRIGGER_LOW */
|
||||
synaptics,irq-on-state = <0>;
|
||||
synaptics,reset-gpio = <&tlmm 86 0x0>;
|
||||
synaptics,reset-on-state = <0>;
|
||||
synaptics,reset-active-ms = <20>;
|
||||
synaptics,reset-delay-ms = <200>;
|
||||
synaptics,spi-mode = <0>;
|
||||
synaptics,spi-byte-delay-us = <0>;
|
||||
synaptics,spi-block-delay-us = <0>;
|
||||
|
||||
mmi,power-off-suspend;
|
||||
mmi,enable-gestures;
|
||||
mmi,usb-charger-detection;
|
||||
|
||||
panel = <&mot_visionox_rm692e5_655_1080x2400_dsc_cmd_v0>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user