mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
ARM: dts: msm: add touch support on yupik target
This change adds touch support for yupik IDP platform. Change-Id: I9ec6adacf1f1c2bfb8a8266819bc4de01bc90a90
This commit is contained in:
parent
eac80d6025
commit
960a89d0fb
2 changed files with 87 additions and 0 deletions
|
|
@ -259,3 +259,30 @@
|
|||
|
||||
status = "ok"
|
||||
};
|
||||
|
||||
&qupv3_se13_i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
status = "ok"
|
||||
qcom,i2c-touch-active="novatek,NVT-ts";
|
||||
|
||||
novatek@62 {
|
||||
compatible = "novatek,NVT-ts";
|
||||
reg = <0x62>;
|
||||
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <81 0x2008>;
|
||||
|
||||
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>;
|
||||
|
||||
novatek,reset-gpio = <&tlmm 105 0x00>;
|
||||
novatek,irq-gpio = <&tlmm 81 0x2008>;
|
||||
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2868,5 +2868,65 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_active {
|
||||
ts_active: ts_active {
|
||||
mux {
|
||||
pins = "gpio105", "gpio81";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio105", "gpio81";
|
||||
drive-strength = <8>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_reset_suspend {
|
||||
ts_reset_suspend: ts_reset_suspend {
|
||||
mux {
|
||||
pins = "gpio105";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio105";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_int_suspend {
|
||||
ts_int_suspend: ts_int_suspend {
|
||||
mux {
|
||||
pins = "gpio81";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio81";
|
||||
drive-strength = <2>;
|
||||
bias-pull-down;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmx_ts_release {
|
||||
ts_release: ts_release {
|
||||
mux {
|
||||
pins = "gpio105", "gpio81";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio105", "gpio81";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue