summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2026-07-11 14:28:25 -0500
committerLee Jones <lee@kernel.org>2026-07-16 11:23:23 +0100
commit4d8da7e3dc0d4512e5e6f29df3ca136d7a90d464 (patch)
tree8056130c4014cffceae778a709360eb1773ff987
parent96fa4d69958cf90740d756d1e45cdb02cface41b (diff)
downloadlinux-4d8da7e3dc0d4512e5e6f29df3ca136d7a90d464.tar.gz
linux-4d8da7e3dc0d4512e5e6f29df3ca136d7a90d464.zip
dt-bindings: leds: Document "gpio" trigger
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> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://patch.msgid.link/20260711192842.845048-2-samuel@sholland.org Signed-off-by: Lee Jones <lee@kernel.org>
-rw-r--r--Documentation/devicetree/bindings/leds/common.yaml2
1 files changed, 2 insertions, 0 deletions
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