diff options
Diffstat (limited to 'kernel/include/dt-bindings/leds/common.h')
-rw-r--r-- | kernel/include/dt-bindings/leds/common.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/kernel/include/dt-bindings/leds/common.h b/kernel/include/dt-bindings/leds/common.h new file mode 100644 index 000000000..79fcef72e --- /dev/null +++ b/kernel/include/dt-bindings/leds/common.h @@ -0,0 +1,21 @@ +/* + * This header provides macros for the common LEDs device tree bindings. + * + * Copyright (C) 2015, Samsung Electronics Co., Ltd. + * + * Author: Jacek Anaszewski <j.anaszewski@samsung.com> + */ + +#ifndef __DT_BINDINGS_LEDS_H__ +#define __DT_BINDINGS_LEDS_H + +/* External trigger type */ +#define LEDS_TRIG_TYPE_EDGE 0 +#define LEDS_TRIG_TYPE_LEVEL 1 + +/* Boost modes */ +#define LEDS_BOOST_OFF 0 +#define LEDS_BOOST_ADAPTIVE 1 +#define LEDS_BOOST_FIXED 2 + +#endif /* __DT_BINDINGS_LEDS_H */ |