[PATCH v3 2/9] led: implement led_set_state/period_by_label

Simon Glass sjg at chromium.org
Thu Sep 19 16:14:06 CEST 2024


Hi Christian,

On Mon, 12 Aug 2024 at 12:33, Christian Marangi <ansuelsmth at gmail.com> wrote:
>
> Introduce new API led_set_state/period_by label as a shorthand to set
> LED state and LED blink period by referencing them by label.
>
> This is needed for the upcoming additional API that will declare LED in
> .confg and reference them by their LED label name.
>
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> ---
>  drivers/led/led-uclass.c | 28 ++++++++++++++++++++++++++++
>  include/led.h            | 18 ++++++++++++++++++
>  2 files changed, 46 insertions(+)
>

Can you please update test/dm/led.c for the new features in this series?

Regards,
Simon


More information about the U-Boot mailing list