From 2047a626847cb92cb038fdfebf0d425843a5bf6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= Date: Sun, 28 Jan 2024 00:05:35 +0100 Subject: [PATCH] bcm27xx: add isp-bcm2835 kernel module MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit kmod-isp-bcm2835 enables ISP HW on the Raspberry Pi. Signed-off-by: Álvaro Fernández Rojas --- target/linux/bcm27xx/modules/video.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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:= \ -- 2.30.2