[PATCH v2] Documentation: dt-bindings: leds: document 'default-on' trigger

Sascha Hauer sha at pengutronix.de
Wed Nov 22 07:25:46 PST 2023


On Wed, Nov 22, 2023 at 10:51:14AM +0100, Roland Hieber wrote:
> The default-on trigger has been supported in barebox since commit
> 767c6b4a814a2a000f3b (2014-02-28, Sascha Hauer: "led: Add default-on
> trigger").
> 
> Signed-off-by: Roland Hieber <rhi at pengutronix.de>
> ---
> PATCH v2:
>  * change U+2013 EN DASH to U+002D HYPHEN-MINUS to be consistent
>    with the rest of the list (feedback from Ulrich Ölmann)
> 
> PATCH v1: https://lore.barebox.org/barebox/20231121162009.160644-1-rhi@pengutronix.de
> ---
>  Documentation/devicetree/bindings/leds/common.rst | 1 +
>  1 file changed, 1 insertion(+)

Applied, thanks

Sascha

> 
> diff --git a/Documentation/devicetree/bindings/leds/common.rst b/Documentation/devicetree/bindings/leds/common.rst
> index 09b4e401bc2c..8bf41f0d649b 100644
> --- a/Documentation/devicetree/bindings/leds/common.rst
> +++ b/Documentation/devicetree/bindings/leds/common.rst
> @@ -9,6 +9,7 @@ Common leds properties
>      * ``net`` - LED indicates network activity (tx and rx)
>      * ``net-rx`` - LED indicates network activity (rx only)
>      * ``net-tx`` - LED indicates network activity (tx only)
> +    * ``default-on`` - LED is switched on by default
>  
>  * ``label``: The label for this LED. If omitted, the label is taken
>    from the node name (excluding the unit address).
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list