Skip to contentSkip to conversation

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

PATCH Superseded Heiko Stuebner 2 participants 3 messages Oct 7, 2024

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

---
 Documentation/devicetree/bindings/leds/common.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/leds/common.yaml +2 -0
index bf9a101e4d42..32f9116e03a2 100644
@@ -119,6 +119,8 @@ properties:
             # if trigger is absent
           - none
             # LED indicates camera torch state
+          - rc-feedback
+            # LED indicates remote control feedback
           - torch
             # LED indicates USB gadget activity
           - usb-gadget
Signature · 1 line
2.43.0
#1 lore raw
Quoted 11 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")

index bf9a101e4d42..32f9116e03a2 100644

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

Quoted 8 lines
Documentation/devicetree/bindings/leds/common.yaml +2 -0
@@ -119,6 +119,8 @@ properties:
             # if trigger is absent
           - none
             # LED indicates camera torch state
+          - rc-feedback
+            # LED indicates remote control feedback
           - torch
             # LED indicates USB gadget activity
           - usb-gadget

NAK. Wrongly placed comment.
Pavel

Signature · 1 line
People of Russia, stop Putin before his war on Ukraine escalates.
#2 lore raw

Am Montag, 7. Oktober 2024, 20:01:27 CEST schrieb Pavel Machek:

Quoted 8 lines · Heiko Stuebner
Quoted 6 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")

Quoted 14 lines

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

Quoted 12 lines

index bf9a101e4d42..32f9116e03a2 100644

Documentation/devicetree/bindings/leds/common.yaml +2 -0
@@ -119,6 +119,8 @@ properties:
             # if trigger is absent
           - none
             # LED indicates camera torch state
+          - rc-feedback
+            # LED indicates remote control feedback
           - torch
             # LED indicates USB gadget activity
           - usb-gadget

NAK. Wrongly placed comment.

you're right, and it even messed up the torch comment + entry Will send a v2

Heiko