zephyr/drivers/led
Simon Guinot ffbb8f981a drivers: led: lp50xx: check the number of LED colors
The current code assumes (especially in the lp50xx_set_color function)
that the number of LED colors defined in DT is not greater than 3. But
since this is not checked, then this is not necessarily the case...

This patch consolidates the initialization of the lp50xx LED driver by
checking the number of colors for each LED found in DT.

Signed-off-by: Simon Guinot <simon.guinot@sequanux.org>
2025-02-13 16:44:39 +01:00
..
CMakeLists.txt
ht16k33.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
is31fl3194.c drivers: led: is31fl3194.c fix uninitialized scalar variable 2024-12-11 07:59:41 +01:00
is31fl3216a.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
is31fl3733.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
Kconfig
Kconfig.gpio drivers: led: gpio: select the GPIO Kconfig option 2025-01-16 14:41:12 +01:00
Kconfig.ht16k33
Kconfig.is31fl3194
Kconfig.is31fl3216a
Kconfig.is31fl3733
Kconfig.lp50xx
Kconfig.lp3943
Kconfig.lp5562
Kconfig.lp5569
Kconfig.ncp5623
Kconfig.npm1300
Kconfig.pca9633
Kconfig.pwm
Kconfig.tlc59108
Kconfig.xec drivers: microchip xec: select PINCTRL 2024-11-29 05:41:53 +01:00
led_context.h
led_gpio.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
led_handlers.c
led_mchp_xec.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
led_npm1300.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
led_pwm.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
led_shell.c drivers: drop few redundant device_is_ready 2025-01-22 05:40:11 +01:00
lp50xx.c drivers: led: lp50xx: check the number of LED colors 2025-02-13 16:44:39 +01:00
lp3943.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
lp5562.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
lp5569.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
ncp5623.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
pca9633.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00
tlc59108.c drivers: led: Place API into iterable section 2024-12-02 22:07:36 +00:00