[PATCH v2] led: add function naming option from linux

Tom Rini trini at konsulko.com
Wed Jan 22 15:14:55 CET 2025


On Wed, Jan 22, 2025 at 01:12:01PM +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
> include/linux/uapi/linux/uleds.h

I think you missed my message on v1 saying we need to just use
dts/upstream/ for these.

-- 
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/20250122/e456a4b1/attachment.sig>


More information about the U-Boot mailing list