aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-24 09:10:05 +0000
committerJohn Crispin <john@openwrt.org>2015-07-24 09:10:05 +0000
commit2eab9e03cc26e3c31a89df90d78c1736b206749d (patch)
tree6e631312693b73083242c484547e433995b61fd9 /target
parent889afbca2e2f1de85f78b4e59ebd15cf1e5bfa34 (diff)
downloadupstream-2eab9e03cc26e3c31a89df90d78c1736b206749d.tar.gz
upstream-2eab9e03cc26e3c31a89df90d78c1736b206749d.tar.bz2
upstream-2eab9e03cc26e3c31a89df90d78c1736b206749d.zip
brcm2708: add kmod-video-bcm2835 support
This adds BCM2835 camera interface driver as a kernel module. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 46460
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm2708/modules.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index 3f9c118654..cad1a64c3b 100644
--- a/target/linux/brcm2708/modules.mk
+++ b/target/linux/brcm2708/modules.mk
@@ -140,3 +140,20 @@ define KernelPackage/i2c-bcm2835/description
endef
$(eval $(call KernelPackage,i2c-bcm2835))
+
+
+define KernelPackage/video-bcm2835
+ TITLE:=Broadcom BCM2835 camera interface driver
+ KCONFIG:= \
+ CONFIG_VIDEO_BCM2835=y \
+ CONFIG_VIDEO_BCM2835_MMAL
+ FILES:= $(LINUX_DIR)/drivers/media/platform/bcm2835/bcm2835-v4l2.ko
+ AUTOLOAD:=$(call AutoLoad,65,bcm2835-v4l2)
+ $(call AddDepends/video,@TARGET_brcm2708 +kmod-video-videobuf2)
+endef
+
+define KernelPackage/video-bcm2835/description
+ This is a V4L2 driver for the Broadcom 2835 MMAL camera host interface
+endef
+
+$(eval $(call KernelPackage,video-bcm2835))