diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2016-01-25 15:02:56 -0800 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-06-24 14:46:15 +0200 |
commit | 2b475cb21b2d05bff252fe4fcc82f5a673377519 (patch) | |
tree | d3708b23dfeac834991a476655def8af277435c0 /arch/arm/boot/dts | |
parent | 7d717b69cc43ee4ba307f9ccaf2f41039f724af1 (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>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r-- | arch/arm/boot/dts/imx7d-colibri.dts | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx7d-colibri.dts b/arch/arm/boot/dts/imx7d-colibri.dts index 3cb54b846d70..f6fb6d4ebb17 100644 --- a/arch/arm/boot/dts/imx7d-colibri.dts +++ b/arch/arm/boot/dts/imx7d-colibri.dts @@ -200,8 +200,17 @@ }; ad7879@2c { - compatible = "ad7879"; + compatible = "adi,ad7879-1"; reg = <0x2c>; + interrupt-parent = <&gpio1>; + interrupts = <13 IRQ_TYPE_EDGE_FALLING>; + touchscreen-max-pressure = <4096>; + adi,resistance-plate-x = <120>; + adi,first-conversion-delay = /bits/ 8 <3>; + adi,acquisition-time = /bits/ 8 <1>; + adi,median-filter-size = /bits/ 8 <2>; + adi,averaging = /bits/ 8 <1>; + adi,conversion-interval = /bits/ 8 <255>; }; pmic@33 { |