]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: Add support for LEDs
authorSimon Glass <sjg@chromium.org>
Tue, 23 Jun 2015 21:38:45 +0000 (15:38 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:36:30 +0000 (13:36 +0200)
commitfb696db26df5af3f57af0cd599899fe46d78074d
tree914537f54c65dda89bb99cf98e975eb5a63c5365
parentb8e1940146f426566bb84d949e130cd9d831a89a
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