zephyr/drivers/led/Kconfig.pwm
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

9 lines
174 B
Plaintext

# Copyright (c) 2020 Seagate Technology LLC
# SPDX-License-Identifier: Apache-2.0
config LED_PWM
bool "PWM LED driver"
depends on PWM
help
Enable driver for PWM LEDs.