Skip to content
Commit 59628309 authored by Francois Gervais's avatar Francois Gervais Committed by Fabio Baltieri
Browse files

drivers: led_strip: apa102: add multi instances support



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: default avatarFrancois Gervais <francoisgervais@gmail.com>
parent 2921fc9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment