
15 Apr
2017
15 Apr
'17
6:07 p.m.
On 12 April 2017 at 02:52, Ziping Chen techping.chan@gmail.com wrote:
2017-04-11 1:34 GMT+08:00 Simon Glass sjg@chromium.org:
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
Changes in v2: None
drivers/led/led-uclass.c | 6 +++--- drivers/led/led_gpio.c | 6 +++--- include/led.h | 19 +++++++++++++------ test/dm/led.c | 5 +++-- 4 files changed, 22 insertions(+), 14 deletions(-)
Reviewed-by: Ziping Chen techping.chan@gmail.com
Applied to u-boot-dm