worldsemi,ws2812-bflb-wo

Description

WS2812 and similar on BFLB GPIO FIFO / WO

Use the Bouffalolab GPIO FIFO / Wire Out to drive addressable RGB leds by producing
specifications-accurate pulse widths bits.

Properties

Node specific properties

Properties not inherited from the base binding file.

Name

Type

Details

time-t0h

int

How long the output signal has to stay high to signify a 0 bit.
The default is the time for WS2812B (0.4us +/- 150ns).

Default value: 400

time-t1h

int

How long the output signal has to stay high to signify a 1 bit.
The default is the time for WS2812B (0.8us +/- 150ns).

Default value: 800

time-total

int

How long a bit, a pulse containing a high and a low part, should be.
The default is the time for WS2812B (1.25us +/- 600ns).

Default value: 1250

frequency

int

Frequency at which the bits are sent. This or time-total must be defined.

gpios

phandle-array

GPIO phandle and specifier for the pin connected to the
led-strip. Exactly one pin should be given.

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

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.

Deprecated node specific properties

Deprecated properties not inherited from the base binding file.

(None)

Base properties

Properties inherited from the base binding file, which defines common properties that may be set on many nodes. Not all of these may apply to the “worldsemi,ws2812-bflb-wo” compatible.

(None)