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> |
||
|---|---|---|
| .. | ||
| application_development/gen_inc_file | ||
| arch | ||
| benchmarks | ||
| bluetooth | ||
| boards | ||
| crypto | ||
| drivers | ||
| kernel | ||
| lib | ||
| misc/test_build | ||
| net | ||
| posix | ||
| subsys | ||
| unit | ||
| ztest | ||