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

Simon Glass sjg at chromium.org
Sat Apr 15 16:08:02 UTC 2017


On 12 April 2017 at 02:52, Ziping Chen <techping.chan at gmail.com> wrote:
>
>
> 2017-04-11 1:34 GMT+08:00 Simon Glass <sjg at 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 at 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 at gmail.com>
>

Applied to u-boot-dm


More information about the U-Boot mailing list