[U-Boot] [PATCH 3/4] dm: led: move default state support in led uclass
Simon Glass
sjg at chromium.org
Mon Jul 16 05:20:58 UTC 2018
On 13 July 2018 at 09:21, Patrick Delaunay <patrick.delaunay at st.com> wrote:
> This patch save common LED property "default-state" value
> in post bind of LED uclass.
> The configuration for this default state is only performed when
> led_default_state() is called;
> It can be called in your board_init()
> or it could added in init_sequence_r[] in future.
>
> Signed-off-by: Patrick Delaunay <patrick.delaunay at st.com>
> ---
>
> drivers/led/led-uclass.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++
> drivers/led/led_gpio.c | 8 -------
> include/led.h | 23 +++++++++++++++++++++
> 3 files changed, 77 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list