Jacek Anaszewski | 5e23a35 | 2015-03-12 08:45:03 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This header provides macros for the common LEDs device tree bindings. |
| 3 | * |
| 4 | * Copyright (C) 2015, Samsung Electronics Co., Ltd. |
| 5 | * |
| 6 | * Author: Jacek Anaszewski <j.anaszewski@samsung.com> |
| 7 | */ |
| 8 | |
Ashley Towns | 0b4663a | 2015-11-12 20:54:17 +1100 | [diff] [blame] | 9 | #ifndef __DT_BINDINGS_LEDS_H |
Jacek Anaszewski | 5e23a35 | 2015-03-12 08:45:03 -0700 | [diff] [blame] | 10 | #define __DT_BINDINGS_LEDS_H |
| 11 | |
| 12 | /* External trigger type */ |
| 13 | #define LEDS_TRIG_TYPE_EDGE 0 |
| 14 | #define LEDS_TRIG_TYPE_LEVEL 1 |
| 15 | |
| 16 | /* Boost modes */ |
| 17 | #define LEDS_BOOST_OFF 0 |
| 18 | #define LEDS_BOOST_ADAPTIVE 1 |
| 19 | #define LEDS_BOOST_FIXED 2 |
| 20 | |
| 21 | #endif /* __DT_BINDINGS_LEDS_H */ |