1# Copyright (c) 2022 Jonathan Rico
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Worldsemi WS2812 LED strip, I2S binding
6
7  Driver bindings for controlling a WS2812 or compatible LED
8  strip with an I2S master.
9
10compatible: "worldsemi,ws2812-i2s"
11
12include: [i2s-device.yaml, ws2812.yaml]
13
14properties:
15
16  out-active-low:
17    type: boolean
18    description: True if the output pin is active low.
19
20  nibble-one:
21    type: int
22    default: 0x0E
23    description: 4-bit value to shift out for a 1 pulse.
24
25  nibble-zero:
26    type: int
27    default: 0x08
28    description: 4-bit value to shift out for a 0 pulse.
29
30  lrck-period:
31    type: int
32    default: 10
33    description: LRCK (left/right clock) period in microseconds.
34
35  extra-wait-time:
36    type: int
37    default: 300
38    description: Extra microseconds to wait for the driver to flush its I2S queue.
39