Hi Samuel,
Am Samstag, 11. Juli 2026, 21:28:25 Mitteleuropäische Sommerzeit schrieb Samuel Holland:
The "gpio" trigger is used to control LEDs by the level of a GPIO input
referenced by the trigger-sources property. This is already documented
in the trigger-sources property description and is used in at least one
devicetree (am335x-regor.dtsi). Document it so validation of those and
future DTs will pass.
Signed-off-by: Samuel Holland <samuel@sholland.org>
having Lee only in Cc in a longer patch series might make it difficult
to notice this change.
I guess this patch needs to be applied or at least "Acked-by" by them.
Heiko
quoted hunk ↗ jump to hunk
---
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 f4e44b33f56d..e148b4277a6f 100644
--- a/Documentation/devicetree/bindings/leds/common.yaml
+++ b/Documentation/devicetree/bindings/leds/common.yaml
@@ -106,6 +106,8 @@ properties:
- bluetooth-power
# LED indicates camera flash state
- flash
+ # LED indicates level of GPIO input referenced by trigger-sources
+ - gpio
# LED indicated keyboard capslock
- kbd-capslock
# LED indicates MTD memory activity