]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Add support for LEDs
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:45 +0000 (15:38 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 21 Jul 2015 23:39:24 +0000 (17:39 -0600)
commit5917112c9e9f7a60062c604b3224bd5713c41f46
tree71c53336a056df66ac8ac1b1874f1c60f0d82a0a
parent5725128507eca41bb110d702858ca2c8d7dc4085
dm: Add support for LEDs

Add a simple uclass for LEDs, so that these can be controlled by the device
tree and activated when needed. LEDs are referred to by their label.

This implementation requires a driver for each type of LED (e.g GPIO, I2C).

Signed-off-by: Simon Glass <sjg@chromium.org>
doc/device-tree-bindings/leds/common.txt [new file with mode: 0644]
drivers/Kconfig
drivers/Makefile
drivers/led/Kconfig [new file with mode: 0644]
drivers/led/Makefile [new file with mode: 0644]
drivers/led/led-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/led.h [new file with mode: 0644]
scripts/Makefile.spl