]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: led: Support toggling LEDs
authorSimon Glass <sjg@chromium.org>
Mon, 10 Apr 2017 17:34:56 +0000 (11:34 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 15 Apr 2017 01:38:57 +0000 (19:38 -0600)
commit9413ad4f0def2e06a5042106a6e1650a1aa03a5a
treec5c98725d3892bdda04e907ec2500502f16435b2
parent8f4b612333ee0381eedf767c1c005a830886df27
dm: led: Support toggling LEDs

Add support for toggling an LED into the uclass interface. This can be
efficiently implemented by the driver.

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