aboutsummaryrefslogtreecommitdiff
path: root/Bindings/input/touchscreen/eeti.txt
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-11-10 20:44:37 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-11-10 20:44:37 +0000
commit0bf7de3125ed8dcfbeaa112994b25101fa9b96c6 (patch)
treeae8484d3cc1ff07575b83cc7a4592c9a33bd1dcc /Bindings/input/touchscreen/eeti.txt
parentc4fc09e238494b428e1e0abfd881425a86d8bfe7 (diff)
dts: Update our copy to Linux 4.19vendor/device-tree/4.19
Notes
Notes: svn path=/vendor/device-tree/dist/; revision=340335 svn path=/vendor/device-tree/4.19/; revision=340336; tag=vendor/device-tree/4.19
Diffstat (limited to 'Bindings/input/touchscreen/eeti.txt')
-rw-r--r--Bindings/input/touchscreen/eeti.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/Bindings/input/touchscreen/eeti.txt b/Bindings/input/touchscreen/eeti.txt
new file mode 100644
index 000000000000..32b3712c916e
--- /dev/null
+++ b/Bindings/input/touchscreen/eeti.txt
@@ -0,0 +1,30 @@
+Bindings for EETI touchscreen controller
+
+Required properties:
+- compatible: should be "eeti,exc3000-i2c"
+- reg: I2C address of the chip. Should be set to <0xa>
+- interrupts: interrupt to which the chip is connected
+
+Optional properties:
+- attn-gpios: A handle to a GPIO to check whether interrupt is still
+ latched. This is necessary for platforms that lack
+ support for level-triggered IRQs.
+
+The following optional properties described in touchscreen.txt are
+also supported:
+
+- touchscreen-inverted-x
+- touchscreen-inverted-y
+- touchscreen-swapped-x-y
+
+Example:
+
+i2c-master {
+ touchscreen@a {
+ compatible = "eeti,exc3000-i2c";
+ reg = <0xa>;
+ interrupt-parent = <&gpio>;
+ interrupts = <123 IRQ_TYPE_EDGE_RISING>;
+ attn-gpios = <&gpio 123 GPIO_ACTIVE_HIGH>;
+ };
+};