* [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
@ 2024-10-07 20:53 Heiko Stuebner
2024-10-08 14:36 ` Rob Herring (Arm)
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Heiko Stuebner @ 2024-10-07 20:53 UTC (permalink / raw)
To: lee; +Cc: robh, krzk+dt, conor+dt, linux-leds, devicetree, linux-kernel,
heiko
Document the "rc-feedback" trigger which is used to control LEDs by
remote control device activity. This is an existing trigger used in
existing DTs, document it so validation of those DTs would pass.
It was originally introduced into the Linux kernel in 2013 with
commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
changes in v2:
- put the entry in the correct position and comment above it (Pavel)
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 bf9a101e4d42..9cd89f30fa7c 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -118,6 +118,8 @@ properties:
# No trigger assigned to the LED. This is the default mode
# if trigger is absent
- none
+ # LED indicates remote control feedback
+ - rc-feedback
# LED indicates camera torch state
- torch
# LED indicates USB gadget activity
--
2.43.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
2024-10-07 20:53 [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger Heiko Stuebner
@ 2024-10-08 14:36 ` Rob Herring (Arm)
2024-10-08 19:14 ` Pavel Machek
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Rob Herring (Arm) @ 2024-10-08 14:36 UTC (permalink / raw)
To: Heiko Stuebner
Cc: devicetree, linux-leds, conor+dt, lee, linux-kernel, krzk+dt
On Mon, 07 Oct 2024 22:53:15 +0200, Heiko Stuebner wrote:
> Document the "rc-feedback" trigger which is used to control LEDs by
> remote control device activity. This is an existing trigger used in
> existing DTs, document it so validation of those DTs would pass.
>
> It was originally introduced into the Linux kernel in 2013 with
> commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> changes in v2:
> - put the entry in the correct position and comment above it (Pavel)
>
> Documentation/devicetree/bindings/leds/common.yaml | 2 ++
> 1 file changed, 2 insertions(+)
>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
2024-10-07 20:53 [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger Heiko Stuebner
2024-10-08 14:36 ` Rob Herring (Arm)
@ 2024-10-08 19:14 ` Pavel Machek
2024-10-09 14:48 ` Lee Jones
2024-10-10 8:38 ` (subset) " Lee Jones
3 siblings, 0 replies; 8+ messages in thread
From: Pavel Machek @ 2024-10-08 19:14 UTC (permalink / raw)
To: Heiko Stuebner
Cc: lee, robh, krzk+dt, conor+dt, linux-leds, devicetree,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1248 bytes --]
On Mon 2024-10-07 22:53:15, Heiko Stuebner wrote:
> Document the "rc-feedback" trigger which is used to control LEDs by
> remote control device activity. This is an existing trigger used in
> existing DTs, document it so validation of those DTs would pass.
>
> It was originally introduced into the Linux kernel in 2013 with
> commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Pavel Machek <pavel@ucw.cz>
> diff --git a/Documentation/devicetree/bindings/leds/common.yaml b/Documentation/devicetree/bindings/leds/common.yaml
> index bf9a101e4d42..9cd89f30fa7c 100644
> --- a/Documentation/devicetree/bindings/leds/common.yaml
> +++ b/Documentation/devicetree/bindings/leds/common.yaml
> @@ -118,6 +118,8 @@ properties:
> # No trigger assigned to the LED. This is the default mode
> # if trigger is absent
> - none
> + # LED indicates remote control feedback
> + - rc-feedback
> # LED indicates camera torch state
> - torch
> # LED indicates USB gadget activity
--
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] 8+ messages in thread
* Re: [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
2024-10-07 20:53 [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger Heiko Stuebner
2024-10-08 14:36 ` Rob Herring (Arm)
2024-10-08 19:14 ` Pavel Machek
@ 2024-10-09 14:48 ` Lee Jones
2024-10-09 16:50 ` Heiko Stübner
2024-10-10 8:38 ` (subset) " Lee Jones
3 siblings, 1 reply; 8+ messages in thread
From: Lee Jones @ 2024-10-09 14:48 UTC (permalink / raw)
To: Heiko Stuebner
Cc: robh, krzk+dt, conor+dt, linux-leds, devicetree, linux-kernel
On Mon, 07 Oct 2024, Heiko Stuebner wrote:
> Document the "rc-feedback" trigger which is used to control LEDs by
> remote control device activity. This is an existing trigger used in
> existing DTs, document it so validation of those DTs would pass.
>
> It was originally introduced into the Linux kernel in 2013 with
> commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> changes in v2:
> - put the entry in the correct position and comment above it (Pavel)
>
> 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 bf9a101e4d42..9cd89f30fa7c 100644
> --- a/Documentation/devicetree/bindings/leds/common.yaml
> +++ b/Documentation/devicetree/bindings/leds/common.yaml
> @@ -118,6 +118,8 @@ properties:
> # No trigger assigned to the LED. This is the default mode
> # if trigger is absent
> - none
> + # LED indicates remote control feedback
> + - rc-feedback
Is 'rc' a recognised and well known abbreviation for remote control?
How about we people some (look-up) time and say:
- remote-control-feedback
?
> # LED indicates camera torch state
> - torch
> # LED indicates USB gadget activity
> --
> 2.43.0
>
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
2024-10-09 14:48 ` Lee Jones
@ 2024-10-09 16:50 ` Heiko Stübner
2024-10-10 8:37 ` Lee Jones
0 siblings, 1 reply; 8+ messages in thread
From: Heiko Stübner @ 2024-10-09 16:50 UTC (permalink / raw)
To: Lee Jones; +Cc: robh, krzk+dt, conor+dt, linux-leds, devicetree, linux-kernel
Hi Lee,
Am Mittwoch, 9. Oktober 2024, 16:48:36 CEST schrieb Lee Jones:
> On Mon, 07 Oct 2024, Heiko Stuebner wrote:
>
> > Document the "rc-feedback" trigger which is used to control LEDs by
> > remote control device activity. This is an existing trigger used in
> > existing DTs, document it so validation of those DTs would pass.
> >
> > It was originally introduced into the Linux kernel in 2013 with
> > commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
> >
> > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > ---
> > changes in v2:
> > - put the entry in the correct position and comment above it (Pavel)
> >
> > 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 bf9a101e4d42..9cd89f30fa7c 100644
> > --- a/Documentation/devicetree/bindings/leds/common.yaml
> > +++ b/Documentation/devicetree/bindings/leds/common.yaml
> > @@ -118,6 +118,8 @@ properties:
> > # No trigger assigned to the LED. This is the default mode
> > # if trigger is absent
> > - none
> > + # LED indicates remote control feedback
> > + - rc-feedback
>
> Is 'rc' a recognised and well known abbreviation for remote control?
>
> How about we people some (look-up) time and say:
>
> - remote-control-feedback
The issue being that this exact trigger rc-feedback is in the kernel for
11 years already - see the commit link in the description, and used in
a number of boards in the wild since then.
So the naming-ship has sailed for a while now, and this change
"simply" documents the status quo. And judging from Rob's Ack
it looks like he's okay with the naming too.
Heiko
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
2024-10-09 16:50 ` Heiko Stübner
@ 2024-10-10 8:37 ` Lee Jones
2024-10-10 8:43 ` Heiko Stübner
0 siblings, 1 reply; 8+ messages in thread
From: Lee Jones @ 2024-10-10 8:37 UTC (permalink / raw)
To: Heiko Stübner
Cc: robh, krzk+dt, conor+dt, linux-leds, devicetree, linux-kernel
On Wed, 09 Oct 2024, Heiko Stübner wrote:
> Hi Lee,
>
> Am Mittwoch, 9. Oktober 2024, 16:48:36 CEST schrieb Lee Jones:
> > On Mon, 07 Oct 2024, Heiko Stuebner wrote:
> >
> > > Document the "rc-feedback" trigger which is used to control LEDs by
> > > remote control device activity. This is an existing trigger used in
> > > existing DTs, document it so validation of those DTs would pass.
> > >
> > > It was originally introduced into the Linux kernel in 2013 with
> > > commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
> > >
> > > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > > ---
> > > changes in v2:
> > > - put the entry in the correct position and comment above it (Pavel)
> > >
> > > 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 bf9a101e4d42..9cd89f30fa7c 100644
> > > --- a/Documentation/devicetree/bindings/leds/common.yaml
> > > +++ b/Documentation/devicetree/bindings/leds/common.yaml
> > > @@ -118,6 +118,8 @@ properties:
> > > # No trigger assigned to the LED. This is the default mode
> > > # if trigger is absent
> > > - none
> > > + # LED indicates remote control feedback
> > > + - rc-feedback
> >
> > Is 'rc' a recognised and well known abbreviation for remote control?
> >
> > How about we people some (look-up) time and say:
> >
> > - remote-control-feedback
>
> The issue being that this exact trigger rc-feedback is in the kernel for
> 11 years already - see the commit link in the description, and used in
> a number of boards in the wild since then.
>
> So the naming-ship has sailed for a while now, and this change
> "simply" documents the status quo. And judging from Rob's Ack
> it looks like he's okay with the naming too.
This is why it's important for people to document things when they're
introduced. :(
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: (subset) [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
2024-10-07 20:53 [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger Heiko Stuebner
` (2 preceding siblings ...)
2024-10-09 14:48 ` Lee Jones
@ 2024-10-10 8:38 ` Lee Jones
3 siblings, 0 replies; 8+ messages in thread
From: Lee Jones @ 2024-10-10 8:38 UTC (permalink / raw)
To: lee, Heiko Stuebner
Cc: robh, krzk+dt, conor+dt, linux-leds, devicetree, linux-kernel
On Mon, 07 Oct 2024 22:53:15 +0200, Heiko Stuebner wrote:
> Document the "rc-feedback" trigger which is used to control LEDs by
> remote control device activity. This is an existing trigger used in
> existing DTs, document it so validation of those DTs would pass.
>
> It was originally introduced into the Linux kernel in 2013 with
> commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
>
> [...]
Applied, thanks!
[1/1] dt-bindings: leds: Document "rc-feedback" trigger
commit: 267f1ad6fa0c45ba39d60c33949605820f791ae7
--
Lee Jones [李琼斯]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger
2024-10-10 8:37 ` Lee Jones
@ 2024-10-10 8:43 ` Heiko Stübner
0 siblings, 0 replies; 8+ messages in thread
From: Heiko Stübner @ 2024-10-10 8:43 UTC (permalink / raw)
To: Lee Jones; +Cc: robh, krzk+dt, conor+dt, linux-leds, devicetree, linux-kernel
Am Donnerstag, 10. Oktober 2024, 10:37:38 CEST schrieb Lee Jones:
> On Wed, 09 Oct 2024, Heiko Stübner wrote:
>
> > Hi Lee,
> >
> > Am Mittwoch, 9. Oktober 2024, 16:48:36 CEST schrieb Lee Jones:
> > > On Mon, 07 Oct 2024, Heiko Stuebner wrote:
> > >
> > > > Document the "rc-feedback" trigger which is used to control LEDs by
> > > > remote control device activity. This is an existing trigger used in
> > > > existing DTs, document it so validation of those DTs would pass.
> > > >
> > > > It was originally introduced into the Linux kernel in 2013 with
> > > > commit 153a60bb0fac ("[media] rc: add feedback led trigger for rc keypresses")
> > > >
> > > > Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> > > > ---
> > > > changes in v2:
> > > > - put the entry in the correct position and comment above it (Pavel)
> > > >
> > > > 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 bf9a101e4d42..9cd89f30fa7c 100644
> > > > --- a/Documentation/devicetree/bindings/leds/common.yaml
> > > > +++ b/Documentation/devicetree/bindings/leds/common.yaml
> > > > @@ -118,6 +118,8 @@ properties:
> > > > # No trigger assigned to the LED. This is the default mode
> > > > # if trigger is absent
> > > > - none
> > > > + # LED indicates remote control feedback
> > > > + - rc-feedback
> > >
> > > Is 'rc' a recognised and well known abbreviation for remote control?
> > >
> > > How about we people some (look-up) time and say:
> > >
> > > - remote-control-feedback
> >
> > The issue being that this exact trigger rc-feedback is in the kernel for
> > 11 years already - see the commit link in the description, and used in
> > a number of boards in the wild since then.
> >
> > So the naming-ship has sailed for a while now, and this change
> > "simply" documents the status quo. And judging from Rob's Ack
> > it looks like he's okay with the naming too.
>
> This is why it's important for people to document things when they're
> introduced. :(
I fully agree with you on that :-) .
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-10-10 8:44 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-07 20:53 [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger Heiko Stuebner
2024-10-08 14:36 ` Rob Herring (Arm)
2024-10-08 19:14 ` Pavel Machek
2024-10-09 14:48 ` Lee Jones
2024-10-09 16:50 ` Heiko Stübner
2024-10-10 8:37 ` Lee Jones
2024-10-10 8:43 ` Heiko Stübner
2024-10-10 8:38 ` (subset) " Lee Jones
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).