Browse Source

bcm27xx: add isp-bcm2835 kernel module

kmod-isp-bcm2835 enables ISP HW on the Raspberry Pi.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas 1 year ago
parent
commit
2047a62684
1 changed files with 18 additions and 0 deletions
  1. 18 0
      target/linux/bcm27xx/modules/video.mk

+ 18 - 0
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:= \