aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorThomas Richard <thomas.richard@bootlin.com>2024-11-05 11:13:34 +0100
committerPetr Štetiar <ynezz@true.cz>2024-11-28 18:48:49 +0000
commit4eb85c47bddda48aea3e6ee8dd87e5214938f0fa (patch)
tree7bc843b41bbf8ed0f835fe0c83c9f2adad2fa9a3 /package/kernel/linux/modules
parente654d55446a505dd59c1deb1b0a3f87a983dfdf4 (diff)
downloadupstream-4eb85c47bddda48aea3e6ee8dd87e5214938f0fa.tar.gz
upstream-4eb85c47bddda48aea3e6ee8dd87e5214938f0fa.tar.bz2
upstream-4eb85c47bddda48aea3e6ee8dd87e5214938f0fa.zip
kernel: package v4l2-async and v4l2-fwnode drivers
These packages are needed for the stm32/stm32mp1 subtarget. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/16716 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit e109831e07e398cc50839a30a1cf18c4436983f4) Link: https://github.com/openwrt/openwrt/pull/17097 Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/video.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/video.mk b/package/kernel/linux/modules/video.mk
index 486b9b9ab1f..9bb030bf57f 100644
--- a/package/kernel/linux/modules/video.mk
+++ b/package/kernel/linux/modules/video.mk
@@ -680,6 +680,25 @@ endef
$(eval $(call KernelPackage,video-videobuf2))
+define KernelPackage/video-async
+ TITLE:=V4L2 ASYNC support
+ KCONFIG:=CONFIG_V4L2_ASYNC
+ FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-async.ko
+ $(call AddDepends/video)
+ AUTOLOAD:=$(call AutoProbe,v4l2-async)
+endef
+
+$(eval $(call KernelPackage,video-async))
+
+define KernelPackage/video-fwnode
+ TITLE:=V4L2 FWNODE support
+ KCONFIG:=CONFIG_V4L2_FWNODE
+ FILES:=$(LINUX_DIR)/drivers/media/$(V4L2_DIR)/v4l2-fwnode.ko
+ $(call AddDepends/video,+kmod-video-async)
+ AUTOLOAD:=$(call AutoProbe,v4l2-fwnode)
+endef
+
+$(eval $(call KernelPackage,video-fwnode))
define KernelPackage/video-cpia2
TITLE:=CPIA2 video driver