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

Heiko Schocher hs at denx.de
Thu Jan 23 07:27:56 CET 2025


Hi Tom,

On 22.01.25 15:14, Tom Rini wrote:
> 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.

hups... Indeed ... sorry!

Look ASAP into it...

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list