summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2016-01-25 15:02:56 -0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 10:00:30 +0100
commit3182d4e411578a636c5c8fc4e3cd9caeed421be3 (patch)
tree13d11b50fccbfe71419f554f45d7f86f83c18bcd
parent03c54b3976b23782d79b41b77ad10c4739c74fd8 (diff)
ARM: dts: imx7d-colibri: add AD7879 device tree node
Add device tree node for resistive touch screen controller AD7879. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--arch/arm/boot/dts/imx7d-colibri.dts12
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7d-colibri.dts b/arch/arm/boot/dts/imx7d-colibri.dts
index 0aba9f28a943..77c5704927b3 100644
--- a/arch/arm/boot/dts/imx7d-colibri.dts
+++ b/arch/arm/boot/dts/imx7d-colibri.dts
@@ -200,8 +200,18 @@
};
ad7879@2c {
- compatible = "ad7879";
+ compatible = "adi,ad7879-1";
reg = <0x2c>;
+ interrupt-parent = <&gpio1>;
+ interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
+ resistance-plate-x = <120>;
+ touchscreen-min-pressure = <0>;
+ touchscreen-max-pressure = <4096>;
+ first-conversion-delay = /bits/ 8 <3>; /* 512us */
+ acquisition-time = /bits/ 8 <1>; /* 4us */
+ median-filter-size = /bits/ 8 <2>; /* 8 measurements */
+ averaging = /bits/ 8 <1>; /* 4 middle values */
+ conversion-interval = /bits/ 8 <255>; /* 9.44ms */
};
pmic@33 {