[PATCH v1] led: add function naming option from linux
Tom Rini
trini at konsulko.com
Sat Jan 18 17:29:43 CET 2025
On Sat, Jan 18, 2025 at 02:22:34PM +0100, Heiko Schocher wrote:
> in linux we have the option to create the name of a led
> optionally through the following properties:
>
> - function
> - color
> - function-enumerator
>
> This patch adds support for parsing this properties if there
> is no label property.
>
> To be as close as possible to linux import the following files
> from it:
>
> include/dt-bindings/leds/common.h
We get this, and the binding, for free from dts/upstream now. Please
rebase / rework to make use of that. Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250118/2c67bd32/attachment.sig>
More information about the U-Boot
mailing list