]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: modules: video: package video-mux
authorLech Perczak <lech.perczak@gmail.com>
Tue, 14 Nov 2023 18:42:45 +0000 (19:42 +0100)
committerRobert Marko <robert.marko@sartura.hr>
Wed, 1 Jul 2026 17:06:28 +0000 (19:06 +0200)
Package the video-mux module, required by PICO-PI-IMX7D board, to
support included OV5645 camera.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17606
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
package/kernel/linux/modules/video.mk

index b54fb8a00ec40fe27cfe5b28a9048d15c83bebf2..4f9a44f53dc9456da36a88e8cd2e06996b4d6310 100644 (file)
@@ -1644,6 +1644,21 @@ endef
 
 $(eval $(call KernelPackage,video-imx8mq-mipi-csi2))
 
+define KernelPackage/video-mux
+  TITLE:=Video Multiplexer
+  DEPENDS:=@(TARGET_imx&&TARGET_imx_cortexa7) +kmod-video-async +kmod-mux-core
+  KCONFIG:=CONFIG_VIDEO_MUX
+  FILES:=$(LINUX_DIR)/drivers/media/platform/video-mux.ko
+  AUTOLOAD:=$(call AutoProbe,video-mux)
+  $(call AddDepends/video)
+endef
+
+define KernelPackage/video-mux/description
+ This driver provides support for N:1 video bus multiplexers.
+endef
+
+$(eval $(call KernelPackage,video-mux))
+
 define KernelPackage/video-tw686x
   TITLE:=TW686x support
   DEPENDS:=@PCIE_SUPPORT +kmod-video-dma-contig +kmod-video-dma-sg +kmod-sound-core