summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/input/gpio-keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'dts/include/dt-bindings/input/gpio-keys.h')
-rw-r--r--dts/include/dt-bindings/input/gpio-keys.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/dts/include/dt-bindings/input/gpio-keys.h b/dts/include/dt-bindings/input/gpio-keys.h
new file mode 100644
index 0000000..8962df7
--- /dev/null
+++ b/dts/include/dt-bindings/input/gpio-keys.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * This header provides constants for gpio keys bindings.
+ */
+
+#ifndef _DT_BINDINGS_GPIO_KEYS_H
+#define _DT_BINDINGS_GPIO_KEYS_H
+
+#define EV_ACT_ANY 0x00 /* asserted or deasserted */
+#define EV_ACT_ASSERTED 0x01 /* asserted */
+#define EV_ACT_DEASSERTED 0x02 /* deasserted */
+
+#endif /* _DT_BINDINGS_GPIO_KEYS_H */