RE: [PATCH] dt-bindings: leds: Mark label property as deprecated

Christoph Niedermaier
2022-11-29T09:04:47Z

From: Marek Vasut [mailto:marex@denx.de]
Sent: Friday, November 25, 2022 10:27 PM
> On 11/22/22 13:23, Pavel Machek wrote:
>> Hi!
>
> Hi,
>

Hi,

>>> Mark the label property as deprecated as it is mentioned
>>> in the description.
>>
>> Lets do it the other way around. Functions (etc) don't really provide
>> good enough description of LED, and label is still needed.
>
> Can you please provide a clear explanation which property or approach is
> the correct one for new DTs ?
>
> So far, the documentation states that "label" is deprecated, and users
> should replace it with "function" and "color".

I'm a little confused because the direction seems to have changed here.
Do you want label and functions (etc.) to be able to be used equally
side by side, or should one of them be preferred?

I also do DTs and it would be good to know what to go for.
Could you please provide further explanation?

Regards
Christoph