linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: leds: Document "netdev" trigger
@ 2024-07-05 21:52 Marek Vasut
  2024-07-07 13:49 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 5+ messages in thread
From: Marek Vasut @ 2024-07-05 21:52 UTC (permalink / raw)
  To: linux-leds
  Cc: kernel, Marek Vasut, Conor Dooley, Jacek Anaszewski,
	Krzysztof Kozlowski, Lee Jones, Pavel Machek, Rob Herring,
	devicetree

Document the "netdev" trigger which is used to control LEDs by
network device activity.

Signed-off-by: Marek Vasut <marex@denx.de>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: Lee Jones <lee@kernel.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org
Cc: linux-leds@vger.kernel.org
---
 Documentation/devicetree/bindings/leds/common.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
index 8a3c2398b10ce..bf9a101e4d420 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -113,6 +113,8 @@ properties:
             # LED indicates NAND memory activity (deprecated),
             # in new implementations use "mtd"
           - nand-disk
+            # LED indicates network activity
+          - netdev
             # No trigger assigned to the LED. This is the default mode
             # if trigger is absent
           - none
-- 
2.43.0


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

* Re: [PATCH] dt-bindings: leds: Document "netdev" trigger
  2024-07-05 21:52 [PATCH] dt-bindings: leds: Document "netdev" trigger Marek Vasut
@ 2024-07-07 13:49 ` Krzysztof Kozlowski
  2024-07-07 19:49   ` Marek Vasut
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-07 13:49 UTC (permalink / raw)
  To: Marek Vasut, linux-leds
  Cc: kernel, Conor Dooley, Jacek Anaszewski, Krzysztof Kozlowski,
	Lee Jones, Pavel Machek, Rob Herring, devicetree

On 05/07/2024 23:52, Marek Vasut wrote:
> Document the "netdev" trigger which is used to control LEDs by
> network device activity.

Instead, please propose a patch adding a comment there (in that place):
"# netdev - not accepted, please do not add it"

This is like fourth or fifth attempt.

https://lore.kernel.org/all/20230217230346.GA2217008-robh@kernel.org/


Best regards,
Krzysztof


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

* Re: [PATCH] dt-bindings: leds: Document "netdev" trigger
  2024-07-07 13:49 ` Krzysztof Kozlowski
@ 2024-07-07 19:49   ` Marek Vasut
  2024-07-08  6:18     ` Krzysztof Kozlowski
  0 siblings, 1 reply; 5+ messages in thread
From: Marek Vasut @ 2024-07-07 19:49 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-leds
  Cc: kernel, Conor Dooley, Jacek Anaszewski, Krzysztof Kozlowski,
	Lee Jones, Pavel Machek, Rob Herring, devicetree

On 7/7/24 3:49 PM, Krzysztof Kozlowski wrote:
> On 05/07/2024 23:52, Marek Vasut wrote:
>> Document the "netdev" trigger which is used to control LEDs by
>> network device activity.
> 
> Instead, please propose a patch adding a comment there (in that place):
> "# netdev - not accepted, please do not add it"
> 
> This is like fourth or fifth attempt.
> 
> https://lore.kernel.org/all/20230217230346.GA2217008-robh@kernel.org/

There is a follow up to that discussion:

https://lore.kernel.org/all/20230221014413.GA780723-robh@kernel.org/

That netdev trigger is nothing new, there are existing DTs using that 
trigger in-tree going back to 2019, this is only documenting it.

So, shall I really add a comment or update the commit message ?

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

* Re: [PATCH] dt-bindings: leds: Document "netdev" trigger
  2024-07-07 19:49   ` Marek Vasut
@ 2024-07-08  6:18     ` Krzysztof Kozlowski
  2024-07-08 11:47       ` Marek Vasut
  0 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2024-07-08  6:18 UTC (permalink / raw)
  To: Marek Vasut, linux-leds
  Cc: kernel, Conor Dooley, Jacek Anaszewski, Krzysztof Kozlowski,
	Lee Jones, Pavel Machek, Rob Herring, devicetree

On 07/07/2024 21:49, Marek Vasut wrote:
> On 7/7/24 3:49 PM, Krzysztof Kozlowski wrote:
>> On 05/07/2024 23:52, Marek Vasut wrote:
>>> Document the "netdev" trigger which is used to control LEDs by
>>> network device activity.
>>
>> Instead, please propose a patch adding a comment there (in that place):
>> "# netdev - not accepted, please do not add it"
>>
>> This is like fourth or fifth attempt.
>>
>> https://lore.kernel.org/all/20230217230346.GA2217008-robh@kernel.org/
> 
> There is a follow up to that discussion:
> 
> https://lore.kernel.org/all/20230221014413.GA780723-robh@kernel.org/
> 
> That netdev trigger is nothing new, there are existing DTs using that 
> trigger in-tree going back to 2019, this is only documenting it.
> 
> So, shall I really add a comment or update the commit message ?

I was not aware that discussion, so it seems commit will be fine, but
with updated message.

Thanks.

Best regards,
Krzysztof


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

* Re: [PATCH] dt-bindings: leds: Document "netdev" trigger
  2024-07-08  6:18     ` Krzysztof Kozlowski
@ 2024-07-08 11:47       ` Marek Vasut
  0 siblings, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2024-07-08 11:47 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-leds
  Cc: kernel, Conor Dooley, Jacek Anaszewski, Krzysztof Kozlowski,
	Lee Jones, Pavel Machek, Rob Herring, devicetree

On 7/8/24 8:18 AM, Krzysztof Kozlowski wrote:
> On 07/07/2024 21:49, Marek Vasut wrote:
>> On 7/7/24 3:49 PM, Krzysztof Kozlowski wrote:
>>> On 05/07/2024 23:52, Marek Vasut wrote:
>>>> Document the "netdev" trigger which is used to control LEDs by
>>>> network device activity.
>>>
>>> Instead, please propose a patch adding a comment there (in that place):
>>> "# netdev - not accepted, please do not add it"
>>>
>>> This is like fourth or fifth attempt.
>>>
>>> https://lore.kernel.org/all/20230217230346.GA2217008-robh@kernel.org/
>>
>> There is a follow up to that discussion:
>>
>> https://lore.kernel.org/all/20230221014413.GA780723-robh@kernel.org/
>>
>> That netdev trigger is nothing new, there are existing DTs using that
>> trigger in-tree going back to 2019, this is only documenting it.
>>
>> So, shall I really add a comment or update the commit message ?
> 
> I was not aware that discussion, so it seems commit will be fine, but
> with updated message.

V2 with slightly expanded commit message sent, thanks !

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

end of thread, other threads:[~2024-07-08 11:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-05 21:52 [PATCH] dt-bindings: leds: Document "netdev" trigger Marek Vasut
2024-07-07 13:49 ` Krzysztof Kozlowski
2024-07-07 19:49   ` Marek Vasut
2024-07-08  6:18     ` Krzysztof Kozlowski
2024-07-08 11:47       ` Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).