[PATCH] drivers: led: Add WS28XX compatible LED driver

Andri Yngvason andri at yngvason.is
Tue Aug 12 18:10:12 CEST 2025


Hi Tom,

þri., 12. ágú. 2025 kl. 15:59 skrifaði Tom Rini <trini at konsulko.com>:
>
> On Tue, Aug 12, 2025 at 03:30:18PM +0000, Andri Yngvason wrote:
> > This is a new LED driver for the WS28XX family of LED controllers from
> > Worldsemi and compatible devices from other manufacturers.
> >
> > The LED chain must be connected to an SPI output. This driver uses SPI
> > to emulate the required digital signal.
> >
> > Each LED gets a fixed colour assigned to it in the device tree.
> >
> > Signed-off-by: Andri Yngvason <andri at yngvason.is>
> > ---
> >  doc/device-tree-bindings/leds/leds-ws28xx.txt |  48 ++++
>
> We have dts/upstream/Bindings/leds/ now, so this needs to be upstream
> and the driver compatible with that. If the driver is already
> compatible, we can just omit adding this file. Thanks.
>

There does not exist a compatible driver in the Linux kernel. Are you
saying that I also need to implement this for the Linux kernel for
this to be accepted into u-boot?

I have also written a driver for Linux, but I have no intention of
upstreaming it as it is much too complex to fit into the LED
subsystem.

Thanks,
Andri


More information about the U-Boot mailing list