diff options
author | Peter Robinson | 2020-04-20 20:27:33 +0100 |
---|---|---|
committer | Kever Yang | 2020-05-31 20:44:23 +0800 |
commit | 5b13c1030d410b6eb9483ca5826afc77c696d75f (patch) | |
tree | 16126b4157d014b88ba3b2e67c9fdc4cf80472a9 /include | |
parent | 63a3c89855cabc173c76a9958053408d34d33dc2 (diff) |
dt-bindings: input: adopt Linux gpio-keys binding constants
Sync the gpio-keys input bindings from linux 5.7-rc1.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/dt-bindings/input/gpio-keys.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/dt-bindings/input/gpio-keys.h b/include/dt-bindings/input/gpio-keys.h new file mode 100644 index 00000000000..8962df79e75 --- /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 */ |