led_strip: add a APA102 driver.

The APA102 is a RGB LED with integrated controller.  LEDs can be
daisy-chained and use SPI for communication.  The SPI port is
configured via Device Tree.

Tested on the Adafruit Trinket M0.

Signed-off-by: Michael Hope <mlhx@google.com>
This commit is contained in:
Michael Hope 2018-02-12 22:35:20 +01:00 committed by Anas Nashif
commit 8ee282e319
5 changed files with 137 additions and 0 deletions

View file

@ -0,0 +1,17 @@
---
title: APA102 SPI LED strip
id: apa,apa102
version: 0.1
description: APA102 SPI LED strip binding
inherits:
!include spi-device.yaml
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "apa,apa102"
...