[openwrt/openwrt] bcm27xx/bcm2712: add RP1 camera front-end
LEDE Commits
lede-commits at lists.infradead.org
Wed Jan 1 11:36:27 PST 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ae0fd926997e789e7244443dba6cb07f6b43053a
commit ae0fd926997e789e7244443dba6cb07f6b43053a
Author: John Audia <therealgraysky at proton.me>
AuthorDate: Sat Dec 28 11:59:51 2024 -0500
bcm27xx/bcm2712: add RP1 camera front-end
Add kmod for RP1 camera front-end for RPi5B
Build system: x86/64
Build-tested: bcm2712/RPi5B
Run-tested: bcm2712/RPi5B
Signed-off-by: John Audia <therealgraysky at proton.me>
Link: https://github.com/openwrt/openwrt/pull/17412
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/bcm27xx/modules/video.mk | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/target/linux/bcm27xx/modules/video.mk b/target/linux/bcm27xx/modules/video.mk
index 8e2b19bd87..dddf13e0f4 100644
--- a/target/linux/bcm27xx/modules/video.mk
+++ b/target/linux/bcm27xx/modules/video.mk
@@ -20,6 +20,25 @@ endef
$(eval $(call KernelPackage,camera-bcm2835))
+define KernelPackage/rp1-cfe
+ TITLE:=RP1 Camera Front-End
+ SUBMENU:=$(VIDEO_MENU)
+ KCONFIG:= \
+ CONFIG_VIDEO_RP1_CFE \
+ CONFIG_VIDEO_BCM2835
+ FILES:=$(LINUX_DIR)/drivers/media/platform/raspberrypi/rp1_cfe/rp1-cfe.ko
+ AUTOLOAD:=$(call AutoLoad,67,rp1-cfe)
+ DEPENDS:=@TARGET_bcm27xx_bcm2712 +kmod-video-core +kmod-video-fwnode +kmod-video-dma-contig +kmod-video-async
+endef
+
+define KernelPackage/rp1-cfe/description
+ Driver for the Camera Serial Interface (CSI) to capture video
+ streams from connected cameras.
+endef
+
+$(eval $(call KernelPackage,rp1-cfe))
+
+
define KernelPackage/codec-bcm2835
TITLE:=BCM2835 Video Codec
KCONFIG:= \
More information about the lede-commits
mailing list