zephyr,led-strip-cache

Description

LED strip cache.

A virtual LED device composed of one or more LED strip devices.

The LED strip devices are concatenated in the order specified by `led-strips`.

Examples

/ {
        led_strip_0: led-strip-0 {
                compatible = "vnd,led-strip-0";
                chain-length = <8>;
                color-mapping = <LED_COLOR_ID_RED
                                 LED_COLOR_ID_GREEN
                                 LED_COLOR_ID_BLUE>;
        };

        led_strip_1: led-strip-1 {
                compatible = "vnd,led-strip-1";
                chain-length = <10>;
                color-mapping = <LED_COLOR_ID_BLUE
                                 LED_COLOR_ID_GREEN
                                 LED_COLOR_ID_RED>;
        };

        leds {
                compatible = "zephyr,led-strip-cache";
                led-strips = <&led_strip_0>, <&led_strip_1>;
        };
};

Properties

Properties not inherited from the base binding file.

Name

Type

Details

led-strips

phandles

References to LED strip nodes.

This property is required.

Minimum length: 1