Linux 4.16.11
[linux/fpc-iii.git] / include / dt-bindings / leds / common.h
blobe171d0a6beb269533615e15d7ac963e5753c75fb
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * This header provides macros for the common LEDs device tree bindings.
5 * Copyright (C) 2015, Samsung Electronics Co., Ltd.
7 * Author: Jacek Anaszewski <j.anaszewski@samsung.com>
8 */
10 #ifndef __DT_BINDINGS_LEDS_H
11 #define __DT_BINDINGS_LEDS_H
13 /* External trigger type */
14 #define LEDS_TRIG_TYPE_EDGE 0
15 #define LEDS_TRIG_TYPE_LEVEL 1
17 /* Boost modes */
18 #define LEDS_BOOST_OFF 0
19 #define LEDS_BOOST_ADAPTIVE 1
20 #define LEDS_BOOST_FIXED 2
22 #endif /* __DT_BINDINGS_LEDS_H */