Re: [U-Boot] [PATCH v2 4/9] dm: led: Adjust the LED uclass

2017-04-15 Thread Simon Glass
On 12 April 2017 at 02:52, Ziping Chen wrote: > > > 2017-04-11 1:34 GMT+08:00 Simon Glass : >> >> 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 sta

Re: [U-Boot] [PATCH v2 4/9] dm: led: Adjust the LED uclass

2017-04-12 Thread Ziping Chen
2017-04-11 1:34 GMT+08:00 Simon Glass : > 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 > --- > > Changes in v

[U-Boot] [PATCH v2 4/9] dm: led: Adjust the LED uclass

2017-04-10 Thread Simon Glass
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 --- Changes in v2: None drivers/led/led-uclass.c | 6 +++--- drivers