From: Thomas Richard Date: Wed, 7 May 2025 18:02:29 +0000 (+0200) Subject: stm32: modules: add kmod-stm32-dcmipp package X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=774a22e00eb176d786758bbd8f7605f8109c1611;p=openwrt%2Fstaging%2Fpepe2k.git stm32: modules: add kmod-stm32-dcmipp package Add kernel module package for Digital Camera Memory Interface Pixel Processor (DCMIPP) support for kernel 6.12. Signed-off-by: Thomas Richard Link: https://github.com/openwrt/openwrt/pull/18740 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/stm32/modules.mk b/target/linux/stm32/modules.mk index 0f407008dc..ac4b9adf60 100644 --- a/target/linux/stm32/modules.mk +++ b/target/linux/stm32/modules.mk @@ -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 \