aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/other.mk
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-04-23 09:21:55 +0000
committerJonas Gorski <jogo@openwrt.org>2013-04-23 09:21:55 +0000
commit49799d344da6a497c0931fec535ad4a07ca054c8 (patch)
tree0f9b33a67416ca2ece3c058ae79eedb4467496fc /package/kernel/modules/other.mk
parent4e8f7f37edc7c0e1088d002cbb16f76509f4151c (diff)
downloadupstream-49799d344da6a497c0931fec535ad4a07ca054c8.tar.gz
upstream-49799d344da6a497c0931fec535ad4a07ca054c8.tar.bz2
upstream-49799d344da6a497c0931fec535ad4a07ca054c8.zip
kernel: add kmod-mcp23s08 package
Package up the Microchip MCP23S08 I/O expander driver. Needed on the CalAmp LMU5000 board. Signed-off-by: Adam Porter <porter.adam@gmail.com> [jogo@openwrt.org: fix subject] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36393
Diffstat (limited to 'package/kernel/modules/other.mk')
-rw-r--r--package/kernel/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index d1c21572d5..f282014a30 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -132,6 +132,22 @@ endef
$(eval $(call KernelPackage,gpio-dev))
+define KernelPackage/gpio-mcp23s08
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Microchip MCP23xxx I/O expander
+ DEPENDS:=@GPIO_SUPPORT
+ KCONFIG:=CONFIG_GPIO_MCP23S08
+ FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko
+ AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08)
+endef
+
+define KernelPackage/gpio-mcp23s08/description
+ Kernel module for Microchip MCP23xxx SPI/I2C I/O expander
+endef
+
+$(eval $(call KernelPackage,gpio-mcp23s08))
+
+
define KernelPackage/gpio-nxp-74hc164
SUBMENU:=$(OTHER_MENU)
TITLE:=NXP 74HC164 GPIO expander support