ARM: dts: msm: enable touchscreen on Cobalt CDP and MTP
Cobalt CDP and MTP are equipped with Synaptics S3528 touchscreen. Add in device tree information to enable touchscreen on these platforms. Change-Id: Iff4c24064312501221c1d5abfab49e11a94f9197 Signed-off-by: Chun Zhang <chunz@codeaurora.org> Signed-off-by: Jing Lin <jinglin@codeaurora.org>
This commit is contained in:
parent
971097cdf1
commit
c49f7ba4cf
3 changed files with 70 additions and 0 deletions
|
@ -103,3 +103,24 @@
|
|||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&i2c_5 {
|
||||
status = "okay";
|
||||
synaptics@20 {
|
||||
compatible = "synaptics,dsx";
|
||||
reg = <0x20>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <125 0x2008>;
|
||||
vdd-supply = <&pmcobalt_l6>;
|
||||
avdd-supply = <&pmcobalt_l28>;
|
||||
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
|
||||
pinctrl-0 = <&ts_active>;
|
||||
pinctrl-1 = <&ts_suspend>;
|
||||
synaptics,display-coords = <0 0 1599 2559>;
|
||||
synaptics,panel-coords = <0 0 1599 2703>;
|
||||
synaptics,reset-gpio = <&tlmm 89 0x00>;
|
||||
synaptics,irq-gpio = <&tlmm 125 0x2008>;
|
||||
synaptics,disable-gpios;
|
||||
synaptics,fw-name = "PR1702898-s3528t_60QHD_00400001.img";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -103,3 +103,24 @@
|
|||
status = "okay";
|
||||
};
|
||||
};
|
||||
|
||||
&i2c_5 {
|
||||
status = "okay";
|
||||
synaptics@20 {
|
||||
compatible = "synaptics,dsx";
|
||||
reg = <0x20>;
|
||||
interrupt-parent = <&tlmm>;
|
||||
interrupts = <125 0x2008>;
|
||||
vdd-supply = <&pmcobalt_l6>;
|
||||
avdd-supply = <&pmcobalt_l28>;
|
||||
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
|
||||
pinctrl-0 = <&ts_active>;
|
||||
pinctrl-1 = <&ts_suspend>;
|
||||
synaptics,display-coords = <0 0 1599 2559>;
|
||||
synaptics,panel-coords = <0 0 1599 2703>;
|
||||
synaptics,reset-gpio = <&tlmm 89 0x00>;
|
||||
synaptics,irq-gpio = <&tlmm 125 0x2008>;
|
||||
synaptics,disable-gpios;
|
||||
synaptics,fw-name = "PR1702898-s3528t_60QHD_00400001.img";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -1322,5 +1322,33 @@
|
|||
bias-disable;
|
||||
};
|
||||
};
|
||||
|
||||
ts_mux {
|
||||
ts_active: ts_active {
|
||||
mux {
|
||||
pins = "gpio89", "gpio125";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio89", "gpio125";
|
||||
drive-strength = <16>;
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
ts_suspend: ts_suspend {
|
||||
mux {
|
||||
pins = "gpio89", "gpio125";
|
||||
function = "gpio";
|
||||
};
|
||||
|
||||
config {
|
||||
pins = "gpio89", "gpio125";
|
||||
drive-strength = <2>;
|
||||
bias-disable;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue