Skip to content

Commit

Permalink
media: imx: Decouple imx8mq-mipi-csi2 from imx7-media-csi
Browse files Browse the repository at this point in the history
The imx8mq-mipi-csi2 driver targets SoCs that also run the
imx7-media-csi driver, but they are distinct. Decouple them in Kconfig
to prepare for destaging of the imx7-media-csi driver.

Signed-off-by: Laurent Pinchart <[email protected]>
Reviewed-by: Paul Elder <[email protected]>
Tested-by: Alexander Stein <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
pinchartl authored and mchehab committed Nov 25, 2022
1 parent cccc08a commit 6593222
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions drivers/staging/media/imx/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,13 @@ config VIDEO_IMX7_CSI
i.MX6UL/L, i.MX7 or i.MX8M.
endmenu
endif

config VIDEO_IMX8MQ_MIPI_CSI2
tristate "NXP i.MX8MQ MIPI CSI-2 receiver"
depends on ARCH_MXC || COMPILE_TEST
depends on VIDEO_DEV
select MEDIA_CONTROLLER
select V4L2_FWNODE
select VIDEO_V4L2_SUBDEV_API
help
V4L2 driver for the MIPI CSI-2 receiver found in the i.MX8MQ SoC.
2 changes: 1 addition & 1 deletion drivers/staging/media/imx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-media-csi.o
obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-mipi-csi2.o

obj-$(CONFIG_VIDEO_IMX7_CSI) += imx7-media-csi.o
obj-$(CONFIG_VIDEO_IMX7_CSI) += imx8mq-mipi-csi2.o
obj-$(CONFIG_VIDEO_IMX8MQ_MIPI_CSI2) += imx8mq-mipi-csi2.o

0 comments on commit 6593222

Please sign in to comment.