mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
ARM: dts: msm: Add touch support for shima target
Add focaltech touch support for shima target. Change-Id: Ice841f553e449dadd85d4d868a2929701ba44fc6
This commit is contained in:
parent
5ff7cfded8
commit
770c95d0e5
2 changed files with 90 additions and 0 deletions
|
|
@ -130,4 +130,34 @@
|
|||
qcom,thermal-mitigation = <3000000 1500000 1000000 500000>;
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
status = "ok"
|
||||
qcom,i2c-touch-active = "focaltech,fts_ts";
|
||||
|
||||
focaltech@38 {
|
||||
compatible = "focaltech,fts_ts";
|
||||
reg = <0x38>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <23 0x2008>;
|
||||
focaltech,reset-gpio = <&tlmm 22 0x00>;
|
||||
focaltech,irq-gpio = <&tlmm 23 0x2008>;
|
||||
focaltech,max-touch-number = <5>;
|
||||
focaltech,display-coords = <0 0 1080 2340>;
|
||||
|
||||
vdd-supply = <&L3C>;
|
||||
vcc_i2c-supply = <&L8C>;
|
||||
|
||||
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>;
|
||||
|
||||
panel = <&dsi_r66451_amoled_cmd
|
||||
&dsi_r66451_amoled_video>;
|
||||
};
|
||||
};
|
||||
|
||||
#include "camera/shima-camera-sensor-idp.dtsi"
|
||||
|
|
|
|||
|
|
@ -2917,6 +2917,66 @@
|
|||
};
|
||||
};
|
||||
|
||||
pmx_ts_active {
|
||||
ts_active: ts_active {
|
||||
mux {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio22", "gpio23";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_reset_suspend {
|
||||
ts_reset_suspend: ts_reset_suspend {
|
||||
mux {
|
||||
pins = "gpio22";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio22";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_int_suspend {
|
||||
ts_int_suspend: ts_int_suspend {
|
||||
mux {
|
||||
pins = "gpio23";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio23";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_release {
|
||||
ts_release: ts_release {
|
||||
mux {
|
||||
pins = "gpio22", "gpio23";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio22", "gpio23";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cnss_pins {
|
||||
cnss_wlan_en_active: cnss_wlan_en_active {
|
||||
mux {
|
||||
|
|
|
|||
Loading…
Reference in a new issue