
15 Apr
2017
15 Apr
'17
6:08 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:
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 sjg@chromium.org
Changes in v2: None
drivers/led/led-uclass.c | 10 ++++++++++ drivers/led/led_gpio.c | 22 ++++++++++++++++++++++ include/led.h | 16 ++++++++++++++++ test/dm/led.c | 2 ++ 4 files changed, 50 insertions(+)
Reviewed-by: Ziping Chen techping.chan@gmail.com
Applied to u-boot-dm