aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-02-23 11:09:03 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-02-23 11:09:03 +0000
commitd3d69d8a8cee37835d99487e65bb5156ef916dc5 (patch)
treeae4d6ad73a43db3586bf9862a3bc4bd28abe3b35 /package
parent9ea776fdf5a9dd205be78a1317c35a876ba9ef80 (diff)
downloadmaster-187ad058-d3d69d8a8cee37835d99487e65bb5156ef916dc5.tar.gz
master-187ad058-d3d69d8a8cee37835d99487e65bb5156ef916dc5.tar.bz2
master-187ad058-d3d69d8a8cee37835d99487e65bb5156ef916dc5.zip
leds: package the NXP PCA963x driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44510 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 5a5c76a6d9..3e345e84d4 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -183,6 +183,22 @@ endef
$(eval $(call KernelPackage,ledtrig-oneshot))
+define KernelPackage/leds-pca963x
+ SUBMENU:=$(LEDS_MENU)
+ TITLE:=PCA963x LED support
+ DEPENDS:=+kmod-i2c-core
+ KCONFIG:=CONFIG_LEDS_PCA963X
+ FILES:=$(LINUX_DIR)/drivers/leds/leds-pca963x.ko
+ AUTOLOAD:=$(call AutoLoad,60,leds-pca963x,1)
+endef
+
+define KernelPackage/leds-pca963x/description
+ Driver for the NXP PCA963x I2C LED controllers.
+endef
+
+$(eval $(call KernelPackage,leds-pca963x))
+
+
define KernelPackage/leds-tlc59116
SUBMENU:=$(LEDS_MENU)
TITLE:=TLC59116 LED support