[PATCH 1/4] dt-bindings: leds: Document "gpio" trigger
Heiko Stuebner
heiko at sntech.de
Wed Jul 15 12:39:43 PDT 2026
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 at 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
> ---
>
> 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
>
More information about the Linux-rockchip
mailing list