# SPDX-License-Identifier: GPL-2.0

config VIDEO_SUN4I_CSI
	tristate "Allwinner A10 CMOS Sensor Interface Support"
	depends on V4L_PLATFORM_DRIVERS
	depends on VIDEO_DEV && COMMON_CLK && RESET_CONTROLLER && HAS_DMA
	depends on ARCH_SUNXI || COMPILE_TEST
	select MEDIA_CONTROLLER
	select VIDEO_V4L2_SUBDEV_API
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_FWNODE
	help
	  This is a V4L2 driver for the Allwinner A10 CSI

	  To compile this driver as a module, choose M here: the module
	  will be called sun4i_csi.
