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

Simon Glass sjg at chromium.org
Sat Apr 15 16:07:43 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>:
>>
>> 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 <sjg at chromium.org>
>> ---
>>
>> Changes in v2: None
>>
>>  drivers/led/led-uclass.c |  6 +++---
>>  drivers/led/led_gpio.c   |  6 +++---
>>  include/led.h            | 19 +++++++++++++------
>>  test/dm/led.c            |  5 +++--
>>  4 files changed, 22 insertions(+), 14 deletions(-)
>>
>
> Reviewed-by: Ziping Chen <techping.chan at gmail.com>

Applied to u-boot-dm


More information about the U-Boot mailing list