aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-04-03 10:00:36 +0000
committerJohn Crispin <blogic@openwrt.org>2013-04-03 10:00:36 +0000
commitb2423179aad52c386aaf451f36155f20ab29afeb (patch)
tree9d1988c78f84188a76b0c7c1c6743dba0b30a22f
parent4eae09723deb70a23b8020d4294a33948e2b26aa (diff)
downloadupstream-b2423179aad52c386aaf451f36155f20ab29afeb.tar.gz
upstream-b2423179aad52c386aaf451f36155f20ab29afeb.tar.bz2
upstream-b2423179aad52c386aaf451f36155f20ab29afeb.zip
[kernel] add pcf857x kernel module
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36180 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/other.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index f9937bee47..d1c21572d5 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -146,6 +146,21 @@ endef
$(eval $(call KernelPackage,gpio-nxp-74hc164))
+define KernelPackage/gpio-pcf857x
+ SUBMENU:=$(OTHER_MENU)
+ DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
+ TITLE:=PCX857x, PCA967x and MAX732X I2C GPIO expanders
+ KCONFIG:=CONFIG_GPIO_PCF857X
+ FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pcf857x.ko
+ AUTOLOAD:=$(call AutoLoad,55,gpio-pcf857x)
+endef
+
+define KernelPackage/gpio-pcf857x/description
+ Kernel module for PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders
+endef
+
+$(eval $(call KernelPackage,gpio-pcf857x))
+
define KernelPackage/lp
SUBMENU:=$(OTHER_MENU)
TITLE:=Parallel port and line printer support