xref: /openbmc/linux/drivers/media/platform/Kconfig (revision 206a81c1)
1#
2# Platform drivers
3#	All drivers here are currently for webcam support
4
5menuconfig V4L_PLATFORM_DRIVERS
6	bool "V4L platform devices"
7	depends on MEDIA_CAMERA_SUPPORT
8	default n
9	---help---
10	  Say Y here to enable support for platform-specific V4L drivers.
11
12if V4L_PLATFORM_DRIVERS
13
14source "drivers/media/platform/marvell-ccic/Kconfig"
15
16config VIDEO_VIA_CAMERA
17	tristate "VIAFB camera controller support"
18	depends on FB_VIA
19	select VIDEOBUF_DMA_SG
20	select VIDEO_OV7670
21	help
22	   Driver support for the integrated camera controller in VIA
23	   Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems
24	   with ov7670 sensors.
25
26#
27# Platform multimedia device configuration
28#
29
30source "drivers/media/platform/davinci/Kconfig"
31
32source "drivers/media/platform/omap/Kconfig"
33
34source "drivers/media/platform/blackfin/Kconfig"
35
36config VIDEO_SH_VOU
37	tristate "SuperH VOU video output driver"
38	depends on MEDIA_CAMERA_SUPPORT
39	depends on VIDEO_DEV && I2C && HAS_DMA
40	depends on ARCH_SHMOBILE || COMPILE_TEST
41	select VIDEOBUF_DMA_CONTIG
42	help
43	  Support for the Video Output Unit (VOU) on SuperH SoCs.
44
45config VIDEO_VIU
46	tristate "Freescale VIU Video Driver"
47	depends on VIDEO_V4L2 && PPC_MPC512x
48	select VIDEOBUF_DMA_CONTIG
49	default y
50	---help---
51	  Support for Freescale VIU video driver. This device captures
52	  video data, or overlays video on DIU frame buffer.
53
54	  Say Y here if you want to enable VIU device on MPC5121e Rev2+.
55	  In doubt, say N.
56
57config VIDEO_TIMBERDALE
58	tristate "Support for timberdale Video In/LogiWIN"
59	depends on MFD_TIMBERDALE && VIDEO_V4L2 && I2C && DMADEVICES
60	select DMA_ENGINE
61	select TIMB_DMA
62	select VIDEO_ADV7180
63	select VIDEOBUF_DMA_CONTIG
64	---help---
65	  Add support for the Video In peripherial of the timberdale FPGA.
66
67config VIDEO_VINO
68	tristate "SGI Vino Video For Linux"
69	depends on I2C && SGI_IP22 && VIDEO_V4L2
70	select VIDEO_SAA7191 if MEDIA_SUBDRV_AUTOSELECT
71	help
72	  Say Y here to build in support for the Vino video input system found
73	  on SGI Indy machines.
74
75config VIDEO_M32R_AR
76	tristate "AR devices"
77	depends on M32R && VIDEO_V4L2
78	---help---
79	  This is a video4linux driver for the Renesas AR (Artificial Retina)
80	  camera module.
81
82config VIDEO_M32R_AR_M64278
83	tristate "AR device with color module M64278(VGA)"
84	depends on PLAT_M32700UT
85	select VIDEO_M32R_AR
86	---help---
87	  This is a video4linux driver for the Renesas AR (Artificial
88	  Retina) with M64278E-800 camera module.
89	  This module supports VGA(640x480 pixels) resolutions.
90
91	  To compile this driver as a module, choose M here: the
92	  module will be called arv.
93
94config VIDEO_OMAP3
95	tristate "OMAP 3 Camera support"
96	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
97	select ARM_DMA_USE_IOMMU
98	select OMAP_IOMMU
99	---help---
100	  Driver for an OMAP 3 camera controller.
101
102config VIDEO_OMAP3_DEBUG
103	bool "OMAP 3 Camera debug messages"
104	depends on VIDEO_OMAP3
105	---help---
106	  Enable debug messages on OMAP 3 camera controller driver.
107
108config VIDEO_S3C_CAMIF
109	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
110	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
111	depends on (ARCH_S3C64XX || PLAT_S3C24XX) && PM_RUNTIME
112	select VIDEOBUF2_DMA_CONTIG
113	---help---
114	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
115	  host interface (CAMIF).
116
117	  To compile this driver as a module, choose M here: the module
118	  will be called s3c-camif.
119
120source "drivers/media/platform/soc_camera/Kconfig"
121source "drivers/media/platform/exynos4-is/Kconfig"
122source "drivers/media/platform/s5p-tv/Kconfig"
123
124endif # V4L_PLATFORM_DRIVERS
125
126menuconfig V4L_MEM2MEM_DRIVERS
127	bool "Memory-to-memory multimedia devices"
128	depends on VIDEO_V4L2
129	depends on MEDIA_CAMERA_SUPPORT
130	default n
131	---help---
132	  Say Y here to enable selecting drivers for V4L devices that
133	  use system memory for both source and destination buffers, as opposed
134	  to capture and output drivers, which use memory buffers for just
135	  one of those.
136
137if V4L_MEM2MEM_DRIVERS
138
139config VIDEO_CODA
140	tristate "Chips&Media Coda multi-standard codec IP"
141	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
142	select SRAM
143	select VIDEOBUF2_DMA_CONTIG
144	select V4L2_MEM2MEM_DEV
145	---help---
146	   Coda is a range of video codec IPs that supports
147	   H.264, MPEG-4, and other video formats.
148
149config VIDEO_MEM2MEM_DEINTERLACE
150	tristate "Deinterlace support"
151	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
152	select VIDEOBUF2_DMA_CONTIG
153	select V4L2_MEM2MEM_DEV
154	help
155	    Generic deinterlacing V4L2 driver.
156
157config VIDEO_SAMSUNG_S5P_G2D
158	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
159	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
160	select VIDEOBUF2_DMA_CONTIG
161	select V4L2_MEM2MEM_DEV
162	default n
163	---help---
164	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
165	  2d graphics accelerator.
166
167config VIDEO_SAMSUNG_S5P_JPEG
168	tristate "Samsung S5P/Exynos4 JPEG codec driver"
169	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
170	select VIDEOBUF2_DMA_CONTIG
171	select V4L2_MEM2MEM_DEV
172	---help---
173	  This is a v4l2 driver for Samsung S5P and EXYNOS4 JPEG codec
174
175config VIDEO_SAMSUNG_S5P_MFC
176	tristate "Samsung S5P MFC Video Codec"
177	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
178	select VIDEOBUF2_DMA_CONTIG
179	default n
180	help
181	    MFC 5.1 and 6.x driver for V4L2
182
183config VIDEO_MX2_EMMAPRP
184	tristate "MX2 eMMa-PrP support"
185	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
186	select VIDEOBUF2_DMA_CONTIG
187	select V4L2_MEM2MEM_DEV
188	help
189	    MX2X chips have a PrP that can be used to process buffers from
190	    memory to memory. Operations include resizing and format
191	    conversion.
192
193config VIDEO_SAMSUNG_EXYNOS_GSC
194	tristate "Samsung Exynos G-Scaler driver"
195	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_EXYNOS5
196	select VIDEOBUF2_DMA_CONTIG
197	select V4L2_MEM2MEM_DEV
198	help
199	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
200
201config VIDEO_SH_VEU
202	tristate "SuperH VEU mem2mem video processing driver"
203	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
204	select VIDEOBUF2_DMA_CONTIG
205	select V4L2_MEM2MEM_DEV
206	help
207	    Support for the Video Engine Unit (VEU) on SuperH and
208	    SH-Mobile SoCs.
209
210config VIDEO_RENESAS_VSP1
211	tristate "Renesas VSP1 Video Processing Engine"
212	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
213	select VIDEOBUF2_DMA_CONTIG
214	---help---
215	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
216
217	  To compile this driver as a module, choose M here: the module
218	  will be called vsp1.
219
220config VIDEO_TI_VPE
221	tristate "TI VPE (Video Processing Engine) driver"
222	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_DRA7XX
223	select VIDEOBUF2_DMA_CONTIG
224	select V4L2_MEM2MEM_DEV
225	default n
226	---help---
227	  Support for the TI VPE(Video Processing Engine) block
228	  found on DRA7XX SoC.
229
230config VIDEO_TI_VPE_DEBUG
231	bool "VPE debug messages"
232	depends on VIDEO_TI_VPE
233	---help---
234	  Enable debug messages on VPE driver.
235
236endif # V4L_MEM2MEM_DRIVERS
237
238menuconfig V4L_TEST_DRIVERS
239	bool "Media test drivers"
240	depends on MEDIA_CAMERA_SUPPORT
241
242if V4L_TEST_DRIVERS
243config VIDEO_VIVI
244	tristate "Virtual Video Driver"
245	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
246	select FONT_SUPPORT
247	select FONT_8x16
248	select VIDEOBUF2_VMALLOC
249	default n
250	---help---
251	  Enables a virtual video driver. This device shows a color bar
252	  and a timestamp, as a real device would generate by using V4L2
253	  api.
254	  Say Y here if you want to test video apps or debug V4L devices.
255	  In doubt, say N.
256
257config VIDEO_MEM2MEM_TESTDEV
258	tristate "Virtual test device for mem2mem framework"
259	depends on VIDEO_DEV && VIDEO_V4L2
260	select VIDEOBUF2_VMALLOC
261	select V4L2_MEM2MEM_DEV
262	default n
263	---help---
264	  This is a virtual test device for the memory-to-memory driver
265	  framework.
266endif #V4L_TEST_DRIVERS
267