Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
23 lines
519 B
C
23 lines
519 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* 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 */
|