aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/modules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/modules.mk')
-rw-r--r--target/linux/brcm2708/modules.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index d7ce7ea24c..2802c1d758 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -289,6 +289,25 @@ endef
$(eval $(call KernelPackage,spi-bcm2835))
+define KernelPackage/spi-bcm2835-aux
+ SUBMENU:=$(SPI_MENU)
+ TITLE:=BCM2835 Aux SPI controller driver
+ KCONFIG:=\
+ CONFIG_BCM2708_SPIDEV=n \
+ CONFIG_SPI=y \
+ CONFIG_SPI_BCM2835AUX \
+ CONFIG_SPI_MASTER=y
+ FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835aux.ko
+ AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835aux)
+ DEPENDS:=@TARGET_brcm2708
+endef
+
+define KernelPackage/spi-bcm2835-aux/description
+ This package contains the Broadcom 2835 Aux SPI master controller driver
+endef
+
+$(eval $(call KernelPackage,spi-bcm2835-aux))
+
define KernelPackage/hwmon-bcm2835
TITLE:=BCM2835 HWMON driver