zephyr/drivers/led
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
..
CMakeLists.txt drivers: led: add driver for PWM LEDs 2020-10-28 10:44:46 -05:00
Kconfig drivers: led: add driver for PWM LEDs 2020-10-28 10:44:46 -05:00
Kconfig.ht16k33 dts/Kconfig: Remove HAS_DTS_I2C 2020-09-18 13:34:44 -05:00
Kconfig.lp503x drivers: led: add driver for TI LP503x controllers 2020-08-28 15:04:35 +02:00
Kconfig.lp3943
Kconfig.lp5562
Kconfig.pca9633
Kconfig.pwm drivers: led: add driver for PWM LEDs 2020-10-28 10:44:46 -05:00
ht16k33.c drivers: led: Fix device instance const qualifier loss in HT16K33 2020-09-02 13:48:13 +02:00
led_context.h
led_handlers.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
led_pwm.c drivers: led: add driver for PWM LEDs 2020-10-28 10:44:46 -05:00
led_shell.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lp503x.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lp3943.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
lp5562.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
pca9633.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00