aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2020-08-30 03:04:42 +0200
committerChristian Lamparter <chunkeey@gmail.com>2020-09-25 19:32:34 +0200
commit1291274335ed6053caf6288c9e15f9d74474a393 (patch)
tree1e2757f5dba522d08f43258dc33f4a37732641f7
parentabe46d50021a132c987943f95af86b09ffae89d5 (diff)
downloadupstream-1291274335ed6053caf6288c9e15f9d74474a393.tar.gz
upstream-1291274335ed6053caf6288c9e15f9d74474a393.tar.bz2
upstream-1291274335ed6053caf6288c9e15f9d74474a393.zip
kernel: package bcm53xx i2c module
The BCM5301x SoCs do have i2c. Since this is only being used by the Meraki MR32, this will be packaged as a module. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
-rw-r--r--target/linux/bcm53xx/modules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/modules.mk b/target/linux/bcm53xx/modules.mk
index b3bb42578c..ab3bab3f15 100644
--- a/target/linux/bcm53xx/modules.mk
+++ b/target/linux/bcm53xx/modules.mk
@@ -35,3 +35,18 @@ define KernelPackage/phy-bcm-ns-usb3/description
endef
$(eval $(call KernelPackage,phy-bcm-ns-usb3))
+
+define KernelPackage/i2c-bcm-iproc
+ TITLE:=Broadcom iProc I2C controller
+ KCONFIG:=CONFIG_I2C_BCM_IPROC
+ DEPENDS:=@TARGET_bcm53xx +kmod-i2c-core
+ SUBMENU:=(I2C_MENU)
+ FILES:=$(LINUX_DIR)/drivers/i2c/busses/i2c-bcm-iproc.ko
+ AUTOLOAD:=$(call AutoLoad,59,i2c-bcm-iproc,1)
+endef
+
+define KernelPackage/i2c-bcm-iproc/description
+ Kernel module for the Broadcom iProc I2C controller.
+endef
+
+$(eval $(call KernelPackage,i2c-bcm-iproc))