Skip to contentSkip to conversation

dt-bindings: leds: Document "rc-feedback" trigger

PATCH Applied Heiko Stuebner 4 participants 8 messages Oct 7, 2024 – Oct 10, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: leds: Document "rc-feedback" trigger

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")

---
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(+)
Documentation/devicetree/bindings/leds/common.yaml +2 -0
index bf9a101e4d42..9cd89f30fa7c 100644
@@ -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
Signature · 1 line
2.43.0
maintainer Acked-by on v2 1/1
#1 lore raw
Quoted 7 lines · Heiko Stuebner

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")

Quoted 8 lines

---
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 on v2 1/1
#2 lore raw
In reply to Heiko Stuebner
Quoted 8 lines · Heiko Stuebner

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")

Quoted 13 lines
Documentation/devicetree/bindings/leds/common.yaml +2 -0
index bf9a101e4d42..9cd89f30fa7c 100644
@@ -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
Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.
maintainer
#3 lore raw
In reply to Heiko Stuebner
Quoted 20 lines · Heiko Stuebner

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")

---
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(+)
Documentation/devicetree/bindings/leds/common.yaml +0 -0
index bf9a101e4d42..9cd89f30fa7c 100644

Documentation/devicetree/bindings/leds/common.yaml properties: · line 122

Quoted 5 lines
Documentation/devicetree/bindings/leds/common.yaml +2 -0
@@ -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

?

Quoted 6 lines
Documentation/devicetree/bindings/leds/common.yaml +0 -0
             # LED indicates camera torch state
           - torch
             # LED indicates USB gadget activity
Signature · 1 line
2.43.0
Signature · 1 line
Lee Jones [李琼斯]
#4 lore raw

Hi Lee,

Am Mittwoch, 9. Oktober 2024, 16:48:36 CEST schrieb Lee Jones:

Quoted 30 lines · Heiko Stuebner
Quoted 21 lines

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")

---
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(+)
Documentation/devicetree/bindings/leds/common.yaml +0 -0
index bf9a101e4d42..9cd89f30fa7c 100644

Documentation/devicetree/bindings/leds/common.yaml properties: · line 122

Quoted 5 lines
Documentation/devicetree/bindings/leds/common.yaml +2 -0
@@ -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?

Quoted 3 lines

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

maintainer
#5 lore raw
Quoted 37 lines · Heiko Stübner

Hi Lee,

Am Mittwoch, 9. Oktober 2024, 16:48:36 CEST schrieb Lee Jones:

Quoted 30 lines · Heiko Stuebner
Quoted 21 lines

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")

---
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(+)
Documentation/devicetree/bindings/leds/common.yaml +0 -0
index bf9a101e4d42..9cd89f30fa7c 100644

Documentation/devicetree/bindings/leds/common.yaml properties: · line 122

Quoted 5 lines
Documentation/devicetree/bindings/leds/common.yaml +2 -0
@@ -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?

Quoted 3 lines

How about we people some (look-up) time and say:

- remote-control-feedback

Quoted 7 lines

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. :(

Signature · 1 line
Lee Jones [李琼斯]
#6 lore raw

Am Donnerstag, 10. Oktober 2024, 10:37:38 CEST schrieb Lee Jones:

Quoted 43 lines · Heiko Stübner
Quoted 42 lines

Hi Lee,

Am Mittwoch, 9. Oktober 2024, 16:48:36 CEST schrieb Lee Jones:

Quoted 30 lines · Heiko Stuebner
Quoted 21 lines

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")

---
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(+)
Documentation/devicetree/bindings/leds/common.yaml +0 -0
index bf9a101e4d42..9cd89f30fa7c 100644

Documentation/devicetree/bindings/leds/common.yaml properties: · line 122

Quoted 5 lines
Documentation/devicetree/bindings/leds/common.yaml +2 -0
@@ -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?

Quoted 3 lines

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.

Quoted 6 lines
Quoted 3 lines

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 :-) .

maintainer Applied
#7 lore raw

Re: (subset) [PATCH v2] dt-bindings: leds: Document "rc-feedback" trigger

In reply to Heiko Stuebner
Quoted 8 lines · Heiko Stuebner

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 [李琼斯]