summaryrefslogtreecommitdiff
path: root/target/linux/brcm2708/modules.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-03-08 18:11:49 +0000
committerJohn Crispin <john@openwrt.org>2016-03-08 18:11:49 +0000
commitcd2114e19ceffb17b0f093718334148859f1adac (patch)
tree62158040bf861945a26eafea53f100f9db69b202 /target/linux/brcm2708/modules.mk
parent7099b6c416c511fb943d2f32ef7daf8abcda858c (diff)
downloadmtk-20170518-cd2114e19ceffb17b0f093718334148859f1adac.zip
mtk-20170518-cd2114e19ceffb17b0f093718334148859f1adac.tar.gz
mtk-20170518-cd2114e19ceffb17b0f093718334148859f1adac.tar.bz2
brcm2708: update linux 4.4 patches to latest version
As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48966
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 d7ce7ea..2802c1d 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