zephyr/drivers/led/Kconfig
Simon Guinot 525a588db4 drivers: led: add driver for PWM LEDs
This driver supports the PWM driven LEDs. The devices are created from
the DT nodes with a compatible property matching "pwm-leds". For each
child node a LED is created and its "pwms" phandle's node is used to
retrieve the PWM configuration: channel, period and flags. If some of
this properties are missing (it is the case for some PWM controllers),
then reasonable default values are used.

This driver implements the following LED API methods:

- led_on
- led_off
- led_blink
- led_set_brightness

Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
2020-10-28 10:44:46 -05:00

37 lines
760 B
Plaintext

# Copyright (c) 2018 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
# Top-level configuration file for LED drivers.
menuconfig LED
bool "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.
source "drivers/led/Kconfig.ht16k33"
source "drivers/led/Kconfig.lp3943"
source "drivers/led/Kconfig.lp503x"
source "drivers/led/Kconfig.lp5562"
source "drivers/led/Kconfig.pca9633"
source "drivers/led/Kconfig.pwm"
endif # LED