zephyr/drivers/led_strip
Simon Guinot 4ada0bbd6e led_strip: ws2812: allow to configure channel mapping
Some devices compatibles with the WS2812 IC have a different channel to
color mappings (e.g. RGB, BGR, RGBW, etc).

This patch introduces the "color-mapping" required property for the
WS2812 DT binding and adds support to the ws2812_gpio and ws2812_spi
drivers. This new property allows to configure the color to channel
mapping of a WS2812 compatible LED strip controller from its DT node.

Since this property also allows to know if a white channel is available,
then this patch removes the "has-white-channel" property.

Signed-off-by: Simon Guinot <simon.guinot@seagate.com>
2021-07-20 13:35:02 +02:00
..
apa102.c drivers: led_strip: remove usage of device_pm_control_nop 2021-04-28 11:25:42 -04:00
CMakeLists.txt drivers: led_strip: modernize and fix up ws2812 drivers/sample 2020-02-05 12:00:36 +01:00
Kconfig drivers: led_strip: modernize and fix up ws2812 drivers/sample 2020-02-05 12:00:36 +01:00
Kconfig.apa102 kconfig: Global whitespace/consistency cleanup 2019-11-01 15:53:23 +01:00
Kconfig.lpd880x kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
Kconfig.ws2812 kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
lpd880x.c drivers: led_strip: remove usage of device_pm_control_nop 2021-04-28 11:25:42 -04:00
ws2812_gpio.c led_strip: ws2812: allow to configure channel mapping 2021-07-20 13:35:02 +02:00
ws2812_spi.c led_strip: ws2812: allow to configure channel mapping 2021-07-20 13:35:02 +02:00