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>
This commit is contained in:
Simon Glass
2015-06-23 15:38:45 -06:00
parent 5725128507
commit 5917112c9e
9 changed files with 152 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ source "drivers/net/Kconfig"
source "drivers/input/Kconfig"
source "drivers/led/Kconfig"
source "drivers/serial/Kconfig"
source "drivers/tpm/Kconfig"