kernel: modules: video: package video-mux

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>
This commit is contained in:
Lech Perczak 2023-11-14 19:42:45 +01:00 committed by Robert Marko
parent ac39016898
commit 16a7c79ae8

View 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