1# SPDX-License-Identifier: GPL-2.0-only
2config VIDEO_SUN6I_MIPI_CSI2
3	tristate "Allwinner A31 MIPI CSI-2 Controller Driver"
4	depends on V4L_PLATFORM_DRIVERS && VIDEO_DEV
5	depends on ARCH_SUNXI || COMPILE_TEST
6	depends on PM && COMMON_CLK && RESET_CONTROLLER
7	depends on PHY_SUN6I_MIPI_DPHY
8	select MEDIA_CONTROLLER
9	select VIDEO_V4L2_SUBDEV_API
10	select V4L2_FWNODE
11	select GENERIC_PHY_MIPI_DPHY
12	select REGMAP_MMIO
13	help
14	   Support for the Allwinner A31 MIPI CSI-2 controller, also found on
15	   other platforms such as the V3/V3s.
16