Files
t23x-public-dts/include/kernel/dt-bindings/input/gpio-keys.h
Laxman Dewangan 226419a1d4 dt-bindings: input: Add linux event codes and gpio keys header
Add linux-event-codes.h and gpio-keys.h header
under dt-bindings.

Bug 4078385

Change-Id: Iaf67da3ae2355eaf9b257a197fc69b0cacd3af0f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2892534
Reviewed-by: svcacv <svcacv@nvidia.com>
2023-04-22 10:03:17 -07:00

14 lines
358 B
C

/* 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 */