mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-01-27 14:44:08 +00:00
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:
@@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user