1# Copyright (c) 2019, Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4description: |
5  Worldsemi WS2812 LED strip, SPI binding
6
7  Driver bindings for controlling a WS2812 or compatible LED
8  strip with a SPI master.
9
10  The SPI driver should be usable as long as a zephyr SPI API driver
11  is available for your board. Hardware specific tuning is required
12  using these properties:
13
14    - spi-max-frequency
15    - spi-zero-frame
16    - spi-one-frame.
17
18  Use of this driver implies an 8x internal memory overhead (1 byte of
19  driver RAM overhead per bit of pixel data).
20
21compatible: "worldsemi,ws2812-spi"
22
23include: [spi-device.yaml, ws2812.yaml]
24
25properties:
26
27  spi-one-frame:
28    type: int
29    required: true
30    description: 8-bit SPI frame to shift out for a 1 pulse.
31
32  spi-zero-frame:
33    type: int
34    required: true
35    description: 8-bit SPI frame to shift out for a 0 pulse.
36