summaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/input
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-03-20 19:19:58 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2021-03-20 19:48:38 -0700
commitae4c86a024f634d5523e048a68635ae62765fcc4 (patch)
treeb99de8d553ed143fa473221f524b274f2f62e05f /include/dt-bindings/input
parent4895bfe91199e19fd6bc9b43307cf4adb0409746 (diff)
downloadlinux-ae4c86a024f634d5523e048a68635ae62765fcc4.tar.bz2
dt-bindings: input: atmel_mxt_ts: Document atmel,wakeup-method and WAKE line GPIO
Some Atmel touchscreen controllers have a WAKE line that needs to be asserted low in order to wake up controller from a deep sleep. Document the wakeup methods and the new GPIO properties. Reviewed-by: Rob Herring <robh@kernel.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Link: https://lore.kernel.org/r/20210302102158.10533-2-digetx@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/dt-bindings/input')
-rw-r--r--include/dt-bindings/input/atmel-maxtouch.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/dt-bindings/input/atmel-maxtouch.h b/include/dt-bindings/input/atmel-maxtouch.h
new file mode 100644
index 000000000000..7345ab32224d
--- /dev/null
+++ b/include/dt-bindings/input/atmel-maxtouch.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+
+#ifndef _DT_BINDINGS_ATMEL_MAXTOUCH_H
+#define _DT_BINDINGS_ATMEL_MAXTOUCH_H
+
+#define ATMEL_MXT_WAKEUP_NONE 0
+#define ATMEL_MXT_WAKEUP_I2C_SCL 1
+#define ATMEL_MXT_WAKEUP_GPIO 2
+
+#endif /* _DT_BINDINGS_ATMEL_MAXTOUCH_H */