All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: leds: mark label as depected to match description
@ 2024-05-09 11:05 Frank Wunderlich
  2024-05-09 11:46 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Wunderlich @ 2024-05-09 11:05 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Frank Wunderlich, linux-leds, devicetree, linux-kernel,
	AngeloGioacchino Del Regno

From: Frank Wunderlich <frank-w@public-files.de>

The description for property 'label' describes it as deprected, so
add a option to mark it like that. Future devicetrees should use
function and color properties.

Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Fixes: 24a71afe05a8 ("dt-bindings: leds: Convert common LED binding to schema")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
---
 Documentation/devicetree/bindings/leds/common.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 8a3c2398b10c..2d7331bba1fc 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -58,6 +58,7 @@ properties:
       no other LED class device can be assigned the same label. This property is
       deprecated - use 'function' and 'color' properties instead.
       function-enumerator has no effect when this property is present.
+    deprecated: true
 
   default-state:
     description:
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: leds: mark label as depected to match description
  2024-05-09 11:05 [PATCH] dt-bindings: leds: mark label as depected to match description Frank Wunderlich
@ 2024-05-09 11:46 ` Krzysztof Kozlowski
  2024-05-09 12:39   ` AngeloGioacchino Del Regno
  0 siblings, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-05-09 11:46 UTC (permalink / raw)
  To: Frank Wunderlich, Pavel Machek, Lee Jones, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Frank Wunderlich, linux-leds, devicetree, linux-kernel,
	AngeloGioacchino Del Regno

On 09/05/2024 13:05, Frank Wunderlich wrote:
> From: Frank Wunderlich <frank-w@public-files.de>
> 
> The description for property 'label' describes it as deprected, so

Typos here and in subject.


> add a option to mark it like that. Future devicetrees should use
> function and color properties.
> 
> Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> Fixes: 24a71afe05a8 ("dt-bindings: leds: Convert common LED binding to schema")

Nooo, that's not a fix.

I don't think there was conclusion to make it deprecated on last attempt:

https://lore.kernel.org/all/20221122111124.6828-1-cniedermaier@dh-electronics.com/

Best regards,
Krzysztof


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: leds: mark label as depected to match description
  2024-05-09 11:46 ` Krzysztof Kozlowski
@ 2024-05-09 12:39   ` AngeloGioacchino Del Regno
  2024-05-09 16:55     ` Pavel Machek
  0 siblings, 1 reply; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-05-09 12:39 UTC (permalink / raw)
  To: Krzysztof Kozlowski, Frank Wunderlich, Pavel Machek, Lee Jones,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: Frank Wunderlich, linux-leds, devicetree, linux-kernel

Il 09/05/24 13:46, Krzysztof Kozlowski ha scritto:
> On 09/05/2024 13:05, Frank Wunderlich wrote:
>> From: Frank Wunderlich <frank-w@public-files.de>
>>
>> The description for property 'label' describes it as deprected, so
> 
> Typos here and in subject.
> 
> 
>> add a option to mark it like that. Future devicetrees should use
>> function and color properties.
>>
>> Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
>> Fixes: 24a71afe05a8 ("dt-bindings: leds: Convert common LED binding to schema")
> 
> Nooo, that's not a fix.
> 
> I don't think there was conclusion to make it deprecated on last attempt:
> 
> https://lore.kernel.org/all/20221122111124.6828-1-cniedermaier@dh-electronics.com/
> 

It's not a fix, agreed.

But that property being deprecated deserves to be marked as deprecated, anyway.
Otherwise the documentation shouldn't say in words that it is such.

Cheers,
Angelo


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: leds: mark label as depected to match description
  2024-05-09 12:39   ` AngeloGioacchino Del Regno
@ 2024-05-09 16:55     ` Pavel Machek
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Machek @ 2024-05-09 16:55 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: Krzysztof Kozlowski, Frank Wunderlich, Lee Jones, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Frank Wunderlich, linux-leds,
	devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]

On Thu 2024-05-09 14:39:36, AngeloGioacchino Del Regno wrote:
> Il 09/05/24 13:46, Krzysztof Kozlowski ha scritto:
> > On 09/05/2024 13:05, Frank Wunderlich wrote:
> > > From: Frank Wunderlich <frank-w@public-files.de>
> > > 
> > > The description for property 'label' describes it as deprected, so
> > 
> > Typos here and in subject.
> > 
> > 
> > > add a option to mark it like that. Future devicetrees should use
> > > function and color properties.
> > > 
> > > Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
> > > Fixes: 24a71afe05a8 ("dt-bindings: leds: Convert common LED binding to schema")
> > 
> > Nooo, that's not a fix.
> > 
> > I don't think there was conclusion to make it deprecated on last attempt:
> > 
> > https://lore.kernel.org/all/20221122111124.6828-1-cniedermaier@dh-electronics.com/
> > 
> 
> It's not a fix, agreed.
> 
> But that property being deprecated deserves to be marked as deprecated, anyway.
> Otherwise the documentation shouldn't say in words that it is such.

Fix the docs. We are not ready to deprecate that.

Best regards,
								Pavel

-- 
People of Russia, stop Putin before his war on Ukraine escalates.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-05-09 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-09 11:05 [PATCH] dt-bindings: leds: mark label as depected to match description Frank Wunderlich
2024-05-09 11:46 ` Krzysztof Kozlowski
2024-05-09 12:39   ` AngeloGioacchino Del Regno
2024-05-09 16:55     ` Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.