From: Álvaro Fernández Rojas Date: Sat, 27 Jan 2024 23:05:35 +0000 (+0100) Subject: bcm27xx: add isp-bcm2835 kernel module X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2047a626847cb92cb038fdfebf0d425843a5bf6a;p=openwrt%2Fstaging%2Fjow.git bcm27xx: add isp-bcm2835 kernel module kmod-isp-bcm2835 enables ISP HW on the Raspberry Pi. Signed-off-by: Álvaro Fernández Rojas --- diff --git a/target/linux/bcm27xx/modules/video.mk b/target/linux/bcm27xx/modules/video.mk index 5846616f83..c9b9555b04 100644 --- a/target/linux/bcm27xx/modules/video.mk +++ b/target/linux/bcm27xx/modules/video.mk @@ -65,6 +65,24 @@ endef $(eval $(call KernelPackage,drm-vc4)) +define KernelPackage/isp-bcm2835 + TITLE:=BCM2835 ISP + KCONFIG:= \ + CONFIG_VIDEO_ISP_BCM2835 + FILES:= \ + $(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-isp/bcm2835-isp.ko + AUTOLOAD:=$(call AutoLoad,67,bcm2835-isp) + $(call AddDepends/video,@TARGET_bcm27xx +kmod-vchiq-mmal-bcm2835 +kmod-video-dma) +endef + +define KernelPackage/isp-bcm2835/description + V4L2 driver for the Broadcom BCM2835 ISP hardware. + This operates over the VCHIQ interface to a service running on VideoCore. +endef + +$(eval $(call KernelPackage,isp-bcm2835)) + + define KernelPackage/vc-sm-cma TITLE:=VideoCore Shared Memory (CMA) driver KCONFIG:= \