input touch init Change-Id: I438532f1413391fd6d466bb853dMontanadba9d9f236 Signed-off-by: dengwei1 <dengwei1@motorola.com> Reviewed-on: https://gerrit.mot.com/2108469 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Wang Wang <wangwang1@lenovo.com> Submit-Approved: Jira Key
99 lines
1.9 KiB
Devicetree
99 lines
1.9 KiB
Devicetree
&tlmm{
|
|
pmx_ts_active {
|
|
ts_active: ts_active {
|
|
mux {
|
|
pins = "gpio69", "gpio86";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio69", "gpio86";
|
|
drive-strength = <8>;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
};
|
|
|
|
pmx_ts_reset_suspend {
|
|
ts_reset_suspend: ts_reset_suspend {
|
|
mux {
|
|
pins = "gpio86";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio86";
|
|
drive-strength = <2>;
|
|
bias-pull-down;
|
|
};
|
|
};
|
|
};
|
|
|
|
pmx_ts_int_suspend {
|
|
ts_int_suspend: ts_int_suspend {
|
|
mux {
|
|
pins = "gpio69";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio69";
|
|
drive-strength = <2>;
|
|
bias-pull-down;
|
|
};
|
|
};
|
|
};
|
|
|
|
pmx_ts_release {
|
|
ts_release: ts_release {
|
|
mux {
|
|
pins = "gpio69", "gpio86";
|
|
function = "gpio";
|
|
};
|
|
|
|
config {
|
|
pins = "gpio69", "gpio86";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
&qupv3_se2_i2c {
|
|
status = "disabled";
|
|
};
|
|
|
|
&qupv3_se2_spi {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
status = "ok"
|
|
|
|
goodix-berlin@0 {
|
|
status = "ok"
|
|
compatible = "goodix,gt9916S";
|
|
reg = <0>;
|
|
spi-max-frequency = <1000000>;
|
|
mmi,status = "/chosen","mmi,panel_name","contains","nt37701"
|
|
|
|
goodix,avdd-gpio = <&pm6125_gpios 1 GPIO_ACTIVE_LOW>;
|
|
goodix,reset-gpio = <&tlmm 86 0x0>;
|
|
goodix,irq-gpio = <&tlmm 69 0x2002>;
|
|
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 = <&ts_release>;
|
|
mmi,power-off-suspend;
|
|
};
|
|
};
|
|
|