]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blob - include/dt-bindings/leds/common.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-kernels.git] / include / dt-bindings / leds / common.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * This header provides macros for the common LEDs device tree bindings.
4 *
5 * Copyright (C) 2015, Samsung Electronics Co., Ltd.
6 *
7 * Author: Jacek Anaszewski <j.anaszewski@samsung.com>
8 */
9
10 #ifndef __DT_BINDINGS_LEDS_H
11 #define __DT_BINDINGS_LEDS_H
12
13 /* External trigger type */
14 #define LEDS_TRIG_TYPE_EDGE 0
15 #define LEDS_TRIG_TYPE_LEVEL 1
16
17 /* Boost modes */
18 #define LEDS_BOOST_OFF 0
19 #define LEDS_BOOST_ADAPTIVE 1
20 #define LEDS_BOOST_FIXED 2
21
22 #endif /* __DT_BINDINGS_LEDS_H */