Re: [U-Boot] [PATCH v2 5/9] dm: led: Add support for getting the state of an LED

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 : >> >> It is useful to be able to read the LED as well as write it. Add this to >> the uclass and update the GPIO driver. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: None >> >> drivers/led

Re: [U-Boot] [PATCH v2 5/9] dm: led: Add support for getting the state of an LED

2017-04-12 Thread Ziping Chen
2017-04-11 1:34 GMT+08:00 Simon Glass : > It is useful to be able to read the LED as well as write it. Add this to > the uclass and update the GPIO driver. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/led/led-uclass.c | 10 ++ > drivers/led/led_gpio.c | 22 +

[U-Boot] [PATCH v2 5/9] dm: led: Add support for getting the state of an LED

2017-04-10 Thread Simon Glass
It is useful to be able to read the LED as well as write it. Add this to the uclass and update the GPIO driver. Signed-off-by: Simon Glass --- Changes in v2: None drivers/led/led-uclass.c | 10 ++ drivers/led/led_gpio.c | 22 ++ include/led.h| 16 +