d7a435a2 | 27-Jul-2018 |
Patrick Delaunay <patrick.delaunay@st.com> |
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 whe
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 <patrick.delaunay@st.com>
show more ...
|
89945517 | 22-Mar-2018 |
Álvaro Fernández Rojas <noltari@gmail.com> |
led: bcm6328: convert to use live dt
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.c
led: bcm6328: convert to use live dt
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
show more ...
|
bc882f5d | 11-Apr-2018 |
Patrick Bruenn <p.bruenn@beckhoff.com> |
dm: led: auto probe() LEDs with "default-state"
To avoid board specificy LED activation code, automatically activate gpio-leds with "default-state" property during bind().
Signed-off-by: Patrick Br
dm: led: auto probe() LEDs with "default-state"
To avoid board specificy LED activation code, automatically activate gpio-leds with "default-state" property during bind().
Signed-off-by: Patrick Bruenn <p.bruenn@beckhoff.com>
show more ...
|
ddae9fcd | 10-Apr-2017 |
Simon Glass <sjg@chromium.org> |
dm: led: Adjust the LED uclass
At present this is very simple, supporting only on and off. We want to also support toggling and blinking. As a first step, change the name of the main method and use
dm: led: Adjust the LED uclass
At present this is very simple, supporting only on and off. We want to also support toggling and blinking. As a first step, change the name of the main method and use an enum to indicate the state.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ziping Chen <techping.chan@gmail.com>
show more ...
|
56e19871 | 10-Apr-2017 |
Simon Glass <sjg@chromium.org> |
dm: led: Rename struct led_uclass_plat
These structures are normally named with 'uc' instead of 'uclass'. Change this one for consistency.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by:
dm: led: Rename struct led_uclass_plat
These structures are normally named with 'uc' instead of 'uclass'. Change this one for consistency.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ziping Chen <techping.chan@gmail.com>
show more ...
|