This driver supports multi-color LEDs built with several monochromatic LEDs. ->set_color is the only LED driver API method implemented. Instead of calling led_set_brightness() for each monochromatic LED, led_set_color() can be called on the leds-group-multicolor device to set all colors at once. See the leds-group-multicolor DT binding for details. Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
52 lines
1.3 KiB
Plaintext
52 lines
1.3 KiB
Plaintext
# Copyright (c) 2018 Linaro Limited
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Top-level configuration file for LED drivers.
|
|
|
|
menuconfig LED
|
|
bool "Light-Emitting Diode (LED) drivers"
|
|
help
|
|
Include LED drivers in the system configuration.
|
|
|
|
if LED
|
|
|
|
module = LED
|
|
module-str = led
|
|
source "subsys/logging/Kconfig.template.log_config"
|
|
|
|
config LED_INIT_PRIORITY
|
|
int "LED initialization priority"
|
|
default 90
|
|
help
|
|
System initialization priority for LED drivers.
|
|
|
|
config LED_SHELL
|
|
bool "LED shell"
|
|
depends on SHELL
|
|
help
|
|
Enable LED shell for testing.
|
|
|
|
# zephyr-keep-sorted-start
|
|
source "drivers/led/Kconfig.axp192"
|
|
source "drivers/led/Kconfig.dac"
|
|
source "drivers/led/Kconfig.gpio"
|
|
source "drivers/led/Kconfig.ht16k33"
|
|
source "drivers/led/Kconfig.is31fl3194"
|
|
source "drivers/led/Kconfig.is31fl3216a"
|
|
source "drivers/led/Kconfig.is31fl3733"
|
|
source "drivers/led/Kconfig.leds-group-multicolor"
|
|
source "drivers/led/Kconfig.lp3943"
|
|
source "drivers/led/Kconfig.lp50xx"
|
|
source "drivers/led/Kconfig.lp5562"
|
|
source "drivers/led/Kconfig.lp5569"
|
|
source "drivers/led/Kconfig.modulino"
|
|
source "drivers/led/Kconfig.ncp5623"
|
|
source "drivers/led/Kconfig.npm13xx"
|
|
source "drivers/led/Kconfig.pca9633"
|
|
source "drivers/led/Kconfig.pwm"
|
|
source "drivers/led/Kconfig.tlc59108"
|
|
source "drivers/led/Kconfig.xec"
|
|
# zephyr-keep-sorted-stop
|
|
|
|
endif # LED
|