diff mbox series

[2/5] dt-bindings: input: adopt Linux gpio-keys binding constants

Message ID 20200420192736.962307-3-pbrobinson@gmail.com
State Accepted
Commit 5b13c1030d410b6eb9483ca5826afc77c696d75f
Headers show
Series [1/5] video: simple_panel: add boe,nv140fhmn49 display | expand

Commit Message

Peter Robinson April 20, 2020, 7:27 p.m. UTC
Sync the gpio-keys input bindings from linux 5.7-rc1.

Signed-off-by: Peter Robinson <pbrobinson at gmail.com>
---
 include/dt-bindings/input/gpio-keys.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 include/dt-bindings/input/gpio-keys.h
diff mbox series

Patch

diff --git a/include/dt-bindings/input/gpio-keys.h b/include/dt-bindings/input/gpio-keys.h
new file mode 100644
index 0000000000..8962df79e7
--- /dev/null
+++ b/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 */