This allows for multiple apa102 strips on multiple spi ports.
For example:
```
&spi1 {
led_strip_0: apa102@0 {
compatible = "apa,apa102";
reg = <0>;
spi-max-frequency = <5250000>;
};
};
&spi2 {
led_strip_1: apa102@0 {
compatible = "apa,apa102";
reg = <0>;
spi-max-frequency = <5250000>;
};
};
```
Signed-off-by: Francois Gervais <francoisgervais@gmail.com>
|
||
|---|---|---|
| .. | ||
| apa102.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.apa102 | ||
| Kconfig.lpd880x | ||
| Kconfig.tlc5971 | ||
| Kconfig.ws2812 | ||
| lpd880x.c | ||
| tlc5971.c | ||
| ws2812_gpio.c | ||
| ws2812_i2s.c | ||
| ws2812_spi.c | ||