arm/dt: corfuq: add touch focaltech configs

arm/dt:
Add touch panel focaltech configs, rename ldo from pm6150
to pm6375.

Change-Id: I42fa125f41e76d86d9443659dbab03582524d61f
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2001051
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
wangyq13 2021-07-02 22:31:03 +08:00 • committed by panyq6
commit 5f6d81fd66

42
qcom/corfuq-touchscreen.dtsi Executable file
View file

@ -0,0 +1,42 @@
/*
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
&qupv3_se0_spi {
status = "disabled";
};
&qupv3_se0_i2c {
status = "ok"
focaltech@38{
compatible = "focaltech,fts";
reg = <0x38>;
interrupt-parent = <&tlmm>;
interrupts = <22 0x2008>;
focaltech,reset-gpio = <&tlmm 21 0x00>;
focaltech,irq-gpio = <&tlmm 22 0x2008>;
focaltech,max-touch-number = <10>;
focaltech,display-coords = <0 0 1080 2400>;
vdd-supply = <&L22A>;
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 = <&dsi_vtdr6110c_visionox_video>;
/* touchscreen_mmi class entries*/
mmi,usb-charger-detection;
mmi,class-entry-name = "ft3519";
};
};