ARM: dts: msm: Add Atmel touch support on cape target

This change adds Atmel touch support on cape platform
for QHD+ panel.

Change-Id: Ia4f26cb9d84ce6b46203522c5840f6e4897e849e
This commit is contained in:
BIVASH KUMAR SINGH
2022-02-04 20:19:50 +05:30
parent 54fd56ff97
commit 0a97e6a5b3
2 changed files with 64 additions and 0 deletions

View File

@@ -1,2 +1,34 @@
#include "cape-cdp.dtsi"
#include "waipio-pm8008.dtsi"
&qupv3_se4_spi {
status = "disabled";
};
&qupv3_se4_i2c {
#address-cells = <1>;
#size-cells = <0>;
status = "ok";
qcom,i2c-touch-active = "atmel,maxtouch";
atmel_mxt_ts@4a {
compatible = "atmel,maxtouch";
reg = <0x4a>;
interrupt-parent = <&tlmm>;
interrupts = <21 0x2008>;
avdd-supply = <&L3C>;
vdd-supply = <&L12C>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
atmel,xy_switch;
atmel,inverty;
atmel,invertx;
reset-gpios = <&tlmm 20 0x00>;
irq-gpios = <&tlmm 21 0x2008>;
atmel,panel-coords = <0 0 479 799>;
atmel,display-coords = <0 0 339 729>;
};
};

View File

@@ -1,2 +1,34 @@
#include "cape-cdp.dtsi"
#include "waipio-pm8010-spmi.dtsi"
&qupv3_se4_spi {
status = "disabled";
};
&qupv3_se4_i2c {
#address-cells = <1>;
#size-cells = <0>;
status = "ok";
qcom,i2c-touch-active = "atmel,maxtouch";
atmel_mxt_ts@4a {
compatible = "atmel,maxtouch";
reg = <0x4a>;
interrupt-parent = <&tlmm>;
interrupts = <21 0x2008>;
avdd-supply = <&L3C>;
vdd-supply = <&L12C>;
pinctrl-names = "pmx_ts_active", "pmx_ts_suspend";
pinctrl-0 = <&ts_active>;
pinctrl-1 = <&ts_int_suspend &ts_reset_suspend>;
atmel,xy_switch;
atmel,inverty;
atmel,invertx;
reset-gpios = <&tlmm 20 0x00>;
irq-gpios = <&tlmm 21 0x2008>;
atmel,panel-coords = <0 0 479 799>;
atmel,display-coords = <0 0 339 729>;
};
};