:orphan:
.. raw:: html
.. dtcompatible:: worldsemi,ws2812-rpi_pico-pio
.. _dtbinding_worldsemi_ws2812_rpi_pico_pio:
worldsemi,ws2812-rpi_pico-pio
#############################
Vendor: :ref:`Worldsemi Co., Limited `
Description
***********
.. code-block:: none
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
**********
.. tabs::
.. group-tab:: Node specific properties
Properties not inherited from the base binding file.
.. list-table::
:widths: 1 1 4
:header-rows: 1
* - Name
- Type
- Details
* - ``output-pin``
- ``int``
- .. code-block:: none
Set the pin number to output.
This property is **required**.
* - ``frequency``
- ``int``
- .. code-block:: none
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``
- .. code-block:: none
The number of devices in the daisy-chain.
This property is **required**.
* - ``color-mapping``
- ``array``
- .. code-block:: none
Channel to color mapping (or pixel order).
For example a GRB channel to color mapping would be
color-mapping = ;
This property is **required**.
* - ``reset-delay``
- ``int``
- .. code-block:: none
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``
.. group-tab:: Deprecated node specific properties
Deprecated properties not inherited from the base binding file.
(None)
.. group-tab:: 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-rpi_pico-pio" compatible.
(None)