summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2014-06-17 15:15:05 +0000
committerImre Kaloz <kaloz@openwrt.org>2014-06-17 15:15:05 +0000
commit9bbbcf60b30c3b1968660a17a2bea5c3e0aa5bed (patch)
treeb99711361b6bfc865c659740a5072a4c4f33f1cb
parent85812e21f9af31b03f0d89f9fa2d9828a7a109c7 (diff)
downloadmtk-20170518-9bbbcf60b30c3b1968660a17a2bea5c3e0aa5bed.zip
mtk-20170518-9bbbcf60b30c3b1968660a17a2bea5c3e0aa5bed.tar.gz
mtk-20170518-9bbbcf60b30c3b1968660a17a2bea5c3e0aa5bed.tar.bz2
package the TLC59116 led driver
SVN-Revision: 41235
-rw-r--r--package/kernel/linux/modules/leds.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index 84ef298..24a03dd 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -166,3 +166,19 @@ define KernelPackage/ledtrig-oneshot/description
endef
$(eval $(call KernelPackage,ledtrig-oneshot))
+
+
+define KernelPackage/leds-tlc59116
+ SUBMENU:=$(LEDS_MENU)
+ TITLE:=TLC59116 LED support
+ DEPENDS:=@TARGET_mvebu kmod-i2c-core
+ KCONFIG:=CONFIG_LEDS_TLC59116
+ FILES:=$(LINUX_DIR)/drivers/leds/leds-tlc59116.ko
+ AUTOLOAD:=$(call AutoLoad,60,leds-tlc59116,1)
+endef
+
+define KernelPackage/leds-tlc59116/description
+ Kernel module for LEDs on TLC59116
+endef
+
+$(eval $(call KernelPackage,leds-tlc59116))