kernel: modules: video: package i.MX7 CSI driver

Create a package for i.MX7 CSI driver module, together with it's common
code for i.MX family.

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
2026-07-01 19:06:28 +02:00
committed by Robert Marko
parent da28c7a67e
commit 0f54eda2dc
2 changed files with 52 additions and 0 deletions
+51
View File
@@ -1593,6 +1593,57 @@ endef
$(eval $(call KernelPackage,video-pxp))
define KernelPackage/video-imx-mipi-csis
TITLE:=i.MX7/8 MIPI-CSI2 CSIS receiver
DEPENDS:=@TARGET_imx +kmod-video-async +kmod-video-fwnode
KCONFIG:=CONFIG_VIDEO_IMX_MIPI_CSIS
FILES:= \
$(LINUX_DIR)/drivers/media/platform/nxp/imx-mipi-csis.ko
AUTOLOAD:=$(call AutoProbe,imx-mipi-csis)
$(call AddDepends/video)
endef
define KernelPackage/video-imx-mipi-csis/description
Enable support for NXP MIPI CSI-2 CSIS receiver found on i.MX7
and i.MX8 models
endef
$(eval $(call KernelPackage,video-imx-mipi-csis))
define KernelPackage/video-imx7-csi
TITLE:=i.MX7 CSI interface
DEPENDS:=@TARGET_imx +kmod-video-dma-contig +kmod-video-fwnode
KCONFIG:=CONFIG_VIDEO_IMX7_CSI
FILES:= \
$(LINUX_DIR)/drivers/media/platform/nxp/imx7-media-csi.ko
AUTOLOAD:=$(call AutoProbe,imx7-media-csi)
$(call AddDepends/video)
endef
define KernelPackage/video-imx7-csi/description
Enable support for video4linux camera sensor interface driver
for i.MX6UL/L or i.MX7.
endef
$(eval $(call KernelPackage,video-imx7-csi))
define KernelPackage/video-imx8mq-mipi-csi2
TITLE:=i.MX8MQ MIPI CSI2 receiver
DEPENDS:=@TARGET_imx +kmod-video-fwnode
KCONFIG:=CONFIG_VIDEO_IMX8MQ_MIPI_CSI2
FILES:= \
$(LINUX_DIR)/drivers/media/platform/nxp/imx8mq-mipi-csi2.ko
AUTOLOAD:=$(call AutoProbe,imx8mq-mipi-csi2)
$(call AddDepends/video)
endef
define KernelPackage/video-imx8mq-mipi-csi2/description
Enable support for video4linux camera sensor interface driver
for i.MX8M and P series.
endef
$(eval $(call KernelPackage,video-imx8mq-mipi-csi2))
define KernelPackage/video-tw686x
TITLE:=TW686x support
DEPENDS:=@PCIE_SUPPORT +kmod-video-dma-contig +kmod-video-dma-sg +kmod-sound-core
+1
View File
@@ -479,6 +479,7 @@ CONFIG_VFPv3=y
# CONFIG_VIDEO_IMX7_CSI is not set
# CONFIG_VIDEO_IMX8MQ_MIPI_CSI2 is not set
# CONFIG_VIDEO_IMX8_ISI is not set
# CONFIG_VIDEO_IMX_MEDIA is not set
# CONFIG_VIDEO_IMX_MIPI_CSIS is not set
# CONFIG_VIDEO_ROCKCHIP_ISP1 is not set
CONFIG_VMSPLIT_2G=y