]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
stm32: modules: add kmod-stm32-dcmipp package
authorThomas Richard <thomas.richard@bootlin.com>
Wed, 7 May 2025 18:02:29 +0000 (20:02 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 21 Jun 2025 12:28:42 +0000 (14:28 +0200)
Add kernel module package for Digital Camera Memory Interface Pixel
Processor (DCMIPP) support for kernel 6.12.

Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/stm32/modules.mk

index 0f407008dcf90f4650a54b152ecb41d6d44ef3e1..ac4b9adf600badda56b9ed6874ac750950cccd2e 100644 (file)
@@ -190,6 +190,21 @@ endef
 $(eval $(call KernelPackage,stm32-dcmi))
 
 
+define KernelPackage/stm32-dcmipp
+  TITLE:=STM32 Digital Camera Memory Interface Pixel Processor (DCMIPP) support
+  KCONFIG:=CONFIG_VIDEO_STM32_DCMIPP
+  FILES:=$(LINUX_DIR)/drivers/media/platform/st/stm32/stm32-dcmipp/stm32-dcmipp.ko
+  AUTOLOAD:=$(call AutoProbe,stm32-dcmipp)
+  $(call AddDepends/video,@TARGET_stm32 \
+         @!LINUX_6_6 \
+         +kmod-video-videobuf2 \
+         +kmod-video-dma-contig \
+         +kmod-video-fwnode)
+endef
+
+$(eval $(call KernelPackage,stm32-dcmipp))
+
+
 define KernelPackage/stm32-dfsdm-adc
   TITLE:=STM32 DFSDM ADC
   KCONFIG:=CONFIG_STM32_DFSDM_CORE \