dm: led: Add support for blinking LEDs
authorSimon Glass <sjg@chromium.org>
Mon, 10 Apr 2017 17:34:57 +0000 (11:34 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 01:38:57 +0000 (19:38 -0600)
commit53378dac8dc33e3fd5f07d60bd7a5f8258ac7a20
tree13613de1ea3ed6d991b440f0797cb25a671da40d
parent9413ad4f0def2e06a5042106a6e1650a1aa03a5a
dm: led: Add support for blinking LEDs

Allow LEDs to be blinked if the driver supports it. Enable this for
sandbox so that the tests run.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ziping Chen <techping.chan@gmail.com>
configs/sandbox_defconfig
configs/sandbox_noblk_defconfig
configs/sandbox_spl_defconfig
drivers/led/Kconfig
drivers/led/led-uclass.c
include/led.h
test/dm/led.c