zephyr/dts/bindings/led_strip
Martí Bolívar 1d2a551c65 drivers: led_strip: modernize and fix up ws2812 drivers/sample
Convert the GPIO based driver to the new GPIO API. (Only the
gpio_configure() call is affected).

Move configuration to DT where appropriate for both SPI and GPIO
drivers, only leaving the SPI vs. GPIO decision in Kconfig (in
addition to the basic enable for the driver.) Move some files around
to clean up as a result of this change.

led_ws2812 sample changes:

- make the pattern easier to look at by emitting less light

- use led_strip alias from DT to get strip device, allocate
  appropriate struct led_rgb buffer, etc.

- move the pins around and remove 96b_carbon support (I have no board
  to test with)

GPIO driver specific changes:

- str is required to write OUTSET/OUTCLR, not strb. The registers
  are word-sized.

- the str[b] registers must all be in r0-r7, so "l" is the correct GCC
  inline assembly constraint for both "base" and "pin"

SPI driver specific changes:

- match the GPIO driver in not supporting the update_channels API
  method, which never made sense for this type of strip

- return -ENOMEM when the user tries to send more pixel data
  than we have buffer space for instead of -EINVAL

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-02-05 12:00:36 +01:00
..
apa,apa-102.yaml dts: bindings: Remove 'title:' and put all info. into 'description:' 2019-12-18 11:52:45 +01:00
colorway,lpd8803.yaml dts: bindings: Remove 'title:' and put all info. into 'description:' 2019-12-18 11:52:45 +01:00
colorway,lpd8806.yaml dts: bindings: Remove 'title:' and put all info. into 'description:' 2019-12-18 11:52:45 +01:00
worldsemi,ws2812-gpio.yaml drivers: led_strip: modernize and fix up ws2812 drivers/sample 2020-02-05 12:00:36 +01:00
worldsemi,ws2812-spi.yaml drivers: led_strip: modernize and fix up ws2812 drivers/sample 2020-02-05 12:00:36 +01:00
ws2812.yaml drivers: led_strip: modernize and fix up ws2812 drivers/sample 2020-02-05 12:00:36 +01:00