1# SPDX-License-Identifier: GPL-2.0-only
2config VIDEO_DAVINCI_VPIF_DISPLAY
3	tristate "TI DaVinci VPIF V4L2-Display driver"
4	depends on V4L_PLATFORM_DRIVERS
5	depends on VIDEO_DEV
6	depends on ARCH_DAVINCI || COMPILE_TEST
7	depends on I2C
8	select VIDEOBUF2_DMA_CONTIG
9	select VIDEO_ADV7343 if MEDIA_SUBDRV_AUTOSELECT
10	select VIDEO_THS7303 if MEDIA_SUBDRV_AUTOSELECT
11	help
12	  Enables Davinci VPIF module used for display devices.
13	  This module is used for display on TI DM6467/DA850/OMAPL138
14	  SoCs.
15
16	  To compile this driver as a module, choose M here. There will
17	  be two modules called vpif.ko and vpif_display.ko
18
19config VIDEO_DAVINCI_VPIF_CAPTURE
20	tristate "TI DaVinci VPIF video capture driver"
21	depends on V4L_PLATFORM_DRIVERS
22	depends on VIDEO_DEV
23	depends on ARCH_DAVINCI || COMPILE_TEST
24	depends on I2C
25	select VIDEOBUF2_DMA_CONTIG
26	select V4L2_FWNODE
27	help
28	  Enables Davinci VPIF module used for capture devices.
29	  This module is used for capture on TI DM6467/DA850/OMAPL138
30	  SoCs.
31
32	  To compile this driver as a module, choose M here. There will
33	  be two modules called vpif.ko and vpif_capture.ko
34