]> Git Repo - J-u-boot.git/commit
dm: led: move default state support in led uclass
authorPatrick Delaunay <[email protected]>
Fri, 27 Jul 2018 14:37:07 +0000 (16:37 +0200)
committerTom Rini <[email protected]>
Fri, 10 Aug 2018 14:27:32 +0000 (10:27 -0400)
commitd7a435a2ce3591b7d0b408d8710586415d797e58
treee01b3d1bfdb753cd47cafbb08b4eb5ac682fb490
parent1f6d81fe3398309cacd79f0fdc809502552d3e0c
dm: led: move default state support in led uclass

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 <[email protected]>
drivers/led/led-uclass.c
drivers/led/led_gpio.c
include/led.h
This page took 0.035073 seconds and 4 git commands to generate.