Multi-led configuration in dts

sri d srid.11486 at gmail.com
Thu Mar 24 23:56:07 AEDT 2022


Hi Team,

I am working on implementing Power and system identification LEDs, in which
LEDs are connected to GPIO pins directly. I need to handle two colors (blue
& yellow) for LEDs in *.dts file.
In phosphor-led-sysfs repo, whether multi-led configuration is handled ?
https://github.com/torvalds/linux/blob/master/Documentation/devicetree/bindings/leds/leds-class-multicolor.yaml

As far as I analyzed, multi-led seems to work for dedicated LED controllers
and not for GPIO pins directly. Is there a way we can make it work for
directly connected GPIOs ?
https://www.phoronix.com/scan.php?page=news_item&px=Linux-5.9-Multi-Color-LEDs

Thanks,
Jayashree
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220324/009328a9/attachment.htm>


More information about the openbmc mailing list