Re: [PATCH 1/4] dt-bindings: leds: Document "gpio" trigger
Heiko Stuebner <[email protected]> Wed, 15 Jul 2026 21:39:43 +0200
| Newsgroups | org.kernel.vger.linux-leds,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <5188715.0VBMTVartN@phil> |
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 <[email protected]> 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 >