summaryrefslogtreecommitdiffstats
path: root/drivers/led/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-06-23 15:38:45 -0600
committerSimon Glass <sjg@chromium.org>2015-07-21 17:39:24 -0600
commit5917112c9e9f7a60062c604b3224bd5713c41f46 (patch)
tree71c53336a056df66ac8ac1b1874f1c60f0d82a0a /drivers/led/Makefile
parent5725128507eca41bb110d702858ca2c8d7dc4085 (diff)
downloadtalos-obmc-uboot-5917112c9e9f7a60062c604b3224bd5713c41f46.tar.gz
talos-obmc-uboot-5917112c9e9f7a60062c604b3224bd5713c41f46.zip
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>
Diffstat (limited to 'drivers/led/Makefile')
-rw-r--r--drivers/led/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/led/Makefile b/drivers/led/Makefile
new file mode 100644
index 0000000000..b39b20581b
--- /dev/null
+++ b/drivers/led/Makefile
@@ -0,0 +1,8 @@
+#
+# Copyright (c) 2015 Google, Inc
+# Written by Simon Glass <sjg@chromium.org>
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-$(CONFIG_LED) += led-uclass.o
OpenPOWER on IntegriCloud