Re: [U-Boot] [PATCH v2 6/9] dm: led: Support toggling LEDs

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 : >> >> Add support for toggling an LED into the uclass interface. This can be >> efficiently implemented by the driver. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: >> - Drop the explicit as

Re: [U-Boot] [PATCH v2 6/9] dm: led: Support toggling LEDs

2017-04-12 Thread Ziping Chen
2017-04-11 1:34 GMT+08:00 Simon Glass : > Add support for toggling an LED into the uclass interface. This can be > efficiently implemented by the driver. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Drop the explicit assignment to LEDST_TOGGLE > > drivers/led/led_gpio.c | 7 +

[U-Boot] [PATCH v2 6/9] dm: led: Support toggling LEDs

2017-04-10 Thread Simon Glass
Add support for toggling an LED into the uclass interface. This can be efficiently implemented by the driver. Signed-off-by: Simon Glass --- Changes in v2: - Drop the explicit assignment to LEDST_TOGGLE drivers/led/led_gpio.c | 7 +++ include/led.h | 1 + test/dm/led.c