summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-07-24 19:43:06 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-07-24 19:43:06 +0000
commit3f81add464f16816eb18a9c6372c3e0ef7a53565 (patch)
tree69c95719e2f8da01396b77378f306c6263e0500c
parent598ef2a2e0ad8a28de8ec5e108d638a8c38ab2a1 (diff)
downloadmtk-20170518-3f81add464f16816eb18a9c6372c3e0ef7a53565.zip
mtk-20170518-3f81add464f16816eb18a9c6372c3e0ef7a53565.tar.gz
mtk-20170518-3f81add464f16816eb18a9c6372c3e0ef7a53565.tar.bz2
add kmod-regmap including both i2c and spi modules
This is required for quite SoC sound support SVN-Revision: 32800
-rw-r--r--package/kernel/modules/other.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk
index 773a2bc..68b8e3c 100644
--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -904,3 +904,20 @@ define KernelPackage/acpi-button/description
endef
$(eval $(call KernelPackage,acpi-button))
+
+define KernelPackage/regmap
+ SUBMENU:=$(OTHER_MENU)
+ TITLE:=Generic register map support
+ KCONFIG:=CONFIG_REGMAP=y \
+ CONFIG_REGMAP_SPI \
+ CONFIG_REGMAP_I2C
+ FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \
+ $(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko
+ AUTOLOAD:=$(call AutoLoad,10,regmap-i2c regmap-spi)
+endef
+
+define KernelPackage/regmap/description
+ Generic register map support
+endef
+
+$(eval $(call KernelPackage,regmap))