worldsemi,ws2812-rpi_pico-pio

Vendor: Worldsemi Co., Limited

Description

Worldsemi WS2812 LED strip driver based on RaspberryPi Pico's PIO

This driver not configure output pin.
Need to configure the pins with pinctrl in parent node.

Properties

Properties not inherited from the base binding file.

Name

Type

Details

output-pin

int

Set the pin number to output.

This property is required.

frequency

int

Specify the number of times a waveform representing 1 bit is
transmitted per second. It is same meaning as bit-per-seconds.
WS2812 works with 800000.
Set the value 400000 for WS2811, 2000000 for WS2813 and WS2815.

chain-length

int

The number of devices in the daisy-chain.

This property is required.

color-mapping

array

Channel to color mapping (or pixel order).

For example a GRB channel to color mapping would be

   color-mapping = <LED_COLOR_ID_GREEN
                    LED_COLOR_ID_RED
                    LED_COLOR_ID_BLUE>;

This property is required.

reset-delay

int

Minimum delay to wait (in microseconds) to make sure that the strip has
latched the signal. If omitted, a default value of 8 microseconds is used.
This default is good for the WS2812 controllers. Note that despite the
WS2812 datasheet states that a 50 microseconds delay is required, it seems
6 microseconds is enough. The default is set to 8 microseconds just to be
safe.

Default value: 8