summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/other.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-09-25 18:00:33 +0000
committerGabor Juhos <juhosg@openwrt.org>2013-09-25 18:00:33 +0000
commit6ac0dfb2803a77b19acd98a73f8991f23f846f76 (patch)
treec568478dbd3872bdeb6b4eef3b69feae480ff2fc /package/kernel/linux/modules/other.mk
parentcbcd3024dce4c7df45f5374be0ed534bcbeb1fd4 (diff)
downloadmtk-20170518-6ac0dfb2803a77b19acd98a73f8991f23f846f76.zip
mtk-20170518-6ac0dfb2803a77b19acd98a73f8991f23f846f76.tar.gz
mtk-20170518-6ac0dfb2803a77b19acd98a73f8991f23f846f76.tar.bz2
package/kernel: move I2C-GPIO drivers from i2c.mk to other.mk
Move pca953x support from i2c.mk to other.mk, where other GPIO drivers are located. Remove duplicate pcf857x support from i2c.mk. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> [juhosg: update subject, and reformat commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38185
Diffstat (limited to 'package/kernel/linux/modules/other.mk')
-rw-r--r--package/kernel/linux/modules/other.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index 15c9120..b2d5956 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/package/kernel/linux/modules/other.mk
@@ -162,6 +162,22 @@ endef
$(eval $(call KernelPackage,gpio-nxp-74hc164))
+define KernelPackage/gpio-pca953x
+ SUBMENU:=$(OTHER_MENU)
+ DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core
+ TITLE:=PCA95xx, TCA64xx, and MAX7310 I/O ports
+ KCONFIG:=CONFIG_GPIO_PCA953X
+ FILES:=$(LINUX_DIR)/drivers/gpio/gpio-pca953x.ko
+ AUTOLOAD:=$(call AutoLoad,55,gpio-pca953x)
+endef
+
+define KernelPackage/gpio-pca953x/description
+ Kernel module for MAX731{0,2,3,5}, PCA6107, PCA953{4-9}, PCA955{4-7},
+ PCA957{4,5} and TCA64{08,16} I2C GPIO expanders
+endef
+
+$(eval $(call KernelPackage,gpio-pca953x))
+
define KernelPackage/gpio-pcf857x
SUBMENU:=$(OTHER_MENU)
DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core