diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-03-21 03:19:58 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2021-03-21 03:48:38 +0100 |
commit | ae4c86a024f634d5523e048a68635ae62765fcc4 (patch) | |
tree | b99de8d553ed143fa473221f524b274f2f62e05f /include | |
parent | Input: lpc32xx_ts - convert to use BIT() (diff) | |
download | linux-ae4c86a024f634d5523e048a68635ae62765fcc4.tar.xz linux-ae4c86a024f634d5523e048a68635ae62765fcc4.zip |
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')
-rw-r--r-- | include/dt-bindings/input/atmel-maxtouch.h | 10 |
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 */ |