mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-14 19:01:55 +00:00
The led-controller DT binding gathers some common properties for LED controllers and for the LED child nodes. One notable property is "color-mapping" which allows to define a channel to color mapping for multicolor LEDs. Signed-off-by: Simon Guinot <simon.guinot@seagate.com> Signed-off-by: Maxime Bittan <maxime.bittan@seagate.com>
21 lines
571 B
C
21 lines
571 B
C
/*
|
|
* Copyright (c) 2020 Seagate Technology LLC
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_LED_LED_H_
|
|
#define ZEPHYR_INCLUDE_DT_BINDINGS_LED_LED_H_
|
|
|
|
/* Standard LED colors */
|
|
#define LED_COLOR_ID_WHITE 0
|
|
#define LED_COLOR_ID_RED 1
|
|
#define LED_COLOR_ID_GREEN 2
|
|
#define LED_COLOR_ID_BLUE 3
|
|
#define LED_COLOR_ID_AMBER 4
|
|
#define LED_COLOR_ID_VIOLET 5
|
|
#define LED_COLOR_ID_YELLOW 6
|
|
#define LED_COLOR_ID_IR 7
|
|
#define LED_COLOR_ID_MAX 8
|
|
|
|
#endif /* ZEPHYR_INCLUDE_DT_BINDINGS_LED_LED_H_ */
|