drivers: led_strip: Add length function

Adds a length function which returns the length of the LED strip

Signed-off-by: Jamie McCrae <spam@helper3000.net>
This commit is contained in:
Jamie McCrae 2024-04-17 19:10:22 +01:00 committed by Henrik Brix Andersen
commit 4bea96b68b
11 changed files with 97 additions and 4 deletions

View file

@ -2,4 +2,4 @@ description: APA102 SPI LED strip
compatible: "apa,apa102"
include: spi-device.yaml
include: [spi-device.yaml, led-strip.yaml]

View file

@ -5,4 +5,4 @@ description: GreeLed LPD8803 SPI LED strip
compatible: "greeled,lpd8803"
include: spi-device.yaml
include: [spi-device.yaml, led-strip.yaml]

View file

@ -5,4 +5,4 @@ description: GreeLed LPD8806 SPI LED strip
compatible: "greeled,lpd8806"
include: spi-device.yaml
include: [spi-device.yaml, led-strip.yaml]