[OpenWrt-Devel] [PATCH 1/4] brcm2708: add kmod-video-bcm2835 support

Álvaro Fernández Rojas noltari at gmail.com
Tue Jul 21 08:27:20 EDT 2015


This adds BCM2835 camera interface driver as a kernel module.

Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/brcm2708/modules.mk | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/target/linux/brcm2708/modules.mk b/target/linux/brcm2708/modules.mk
index 3f9c118..cad1a64 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, at 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))
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list