On Tue, 26 Sep 2023 23:48:10 +0200, Linus Walleij wrote: > This rewrites the platform-data GPIO LED trigger to instead > use fwnode trigger-sources to describe the LED used. > > This will work out-of-the-box with e.g. device tree. > > Tested with real hardware by modifying a device tree adding > trigger-sources to a LED and trigger-source-cells to > a gpio chip, setting the trigger to a pushbutton. It works > like a charm, once the trigger is set to "gpio". > > [...] Applied, thanks! [2/3] dt-bindings: leds: Mention GPIO triggers commit: 4aa583f1a6b85c88e3278d2461797d592ac61fcc [3/3] leds: triggers: gpio: Rewrite to use trigger-sources commit: 1222f5dbc7723cc78741343da2e414b80de83c8f -- Lee Jones [李琼斯]