blob: f2171e777dd3d260446c64523837ae2a2d4a2867 [file] [log] [blame]
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -03001if MEDIA_CAMERA_SUPPORT
Mauro Carvalho Chehab1450e6b2006-08-23 10:08:41 -03002
Hans Verkuil486eeb52011-09-30 09:14:19 -03003config VIDEO_VIVI
4 tristate "Virtual Video Driver"
5 depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
6 depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
7 select FONT_8x16
8 select VIDEOBUF2_VMALLOC
9 default n
10 ---help---
11 Enables a virtual video driver. This device shows a color bar
12 and a timestamp, as a real device would generate by using V4L2
13 api.
14 Say Y here if you want to test video apps or debug V4L devices.
15 In doubt, say N.
16
Hans Verkuil044ab152011-09-30 05:05:35 -030017#
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -030018# Platform drivers
19# All drivers here are currently for webcam support
20
Hans Verkuile9eb0da2011-11-08 11:02:34 -030021menuconfig V4L_PLATFORM_DRIVERS
22 bool "V4L platform devices"
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -030023 depends on MEDIA_CAMERA_SUPPORT
Hans Verkuile9eb0da2011-11-08 11:02:34 -030024 default n
25 ---help---
26 Say Y here to enable support for platform-specific V4L drivers.
27
28if V4L_PLATFORM_DRIVERS
29
Jonathan Corbetf8fc7292011-06-11 17:46:42 +000030source "drivers/media/video/marvell-ccic/Kconfig"
31
Hans Verkuil9fa0b852011-09-30 09:06:11 -030032config VIDEO_VIA_CAMERA
33 tristate "VIAFB camera controller support"
34 depends on FB_VIA
35 select VIDEOBUF_DMA_SG
36 select VIDEO_OV7670
37 help
38 Driver support for the integrated camera controller in VIA
39 Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems
40 with ov7670 sensors.
41
42#
43# Platform multimedia device configuration
44#
45
46source "drivers/media/video/davinci/Kconfig"
47
48source "drivers/media/video/omap/Kconfig"
49
Scott Jiang63b1a902012-03-08 17:44:17 -030050source "drivers/media/video/blackfin/Kconfig"
51
Hans Verkuil9fa0b852011-09-30 09:06:11 -030052config VIDEO_SH_VOU
53 tristate "SuperH VOU video output driver"
54 depends on VIDEO_DEV && ARCH_SHMOBILE
55 select VIDEOBUF_DMA_CONTIG
56 help
57 Support for the Video Output Unit (VOU) on SuperH SoCs.
58
59config VIDEO_VIU
60 tristate "Freescale VIU Video Driver"
61 depends on VIDEO_V4L2 && PPC_MPC512x
62 select VIDEOBUF_DMA_CONTIG
63 default y
64 ---help---
65 Support for Freescale VIU video driver. This device captures
66 video data, or overlays video on DIU frame buffer.
67
68 Say Y here if you want to enable VIU device on MPC5121e Rev2+.
69 In doubt, say N.
70
71config VIDEO_TIMBERDALE
72 tristate "Support for timberdale Video In/LogiWIN"
73 depends on VIDEO_V4L2 && I2C && DMADEVICES
74 select DMA_ENGINE
75 select TIMB_DMA
76 select VIDEO_ADV7180
77 select VIDEOBUF_DMA_CONTIG
78 ---help---
79 Add support for the Video In peripherial of the timberdale FPGA.
80
81config VIDEO_VINO
82 tristate "SGI Vino Video For Linux"
83 depends on I2C && SGI_IP22 && VIDEO_V4L2
84 select VIDEO_SAA7191 if VIDEO_HELPER_CHIPS_AUTO
85 help
86 Say Y here to build in support for the Vino video input system found
87 on SGI Indy machines.
88
Linus Torvalds1da177e2005-04-16 15:20:36 -070089config VIDEO_M32R_AR
90 tristate "AR devices"
Hans Verkuilb8e56b6f2010-03-29 16:05:33 -030091 depends on M32R && VIDEO_V4L2
Linus Torvalds1da177e2005-04-16 15:20:36 -070092 ---help---
93 This is a video4linux driver for the Renesas AR (Artificial Retina)
94 camera module.
95
96config VIDEO_M32R_AR_M64278
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -030097 tristate "AR device with color module M64278(VGA)"
98 depends on PLAT_M32700UT
99 select VIDEO_M32R_AR
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100 ---help---
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -0300101 This is a video4linux driver for the Renesas AR (Artificial
102 Retina) with M64278E-800 camera module.
103 This module supports VGA(640x480 pixels) resolutions.
104
105 To compile this driver as a module, choose M here: the
106 module will be called arv.
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107
Laurent Pinchart7e8970e2011-02-12 18:05:06 -0300108config VIDEO_OMAP3
109 tristate "OMAP 3 Camera support (EXPERIMENTAL)"
Joerg Roedel7b6d45f2011-09-14 16:03:45 +0200110 depends on OMAP_IOVMM && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 && EXPERIMENTAL
Laurent Pinchart7e8970e2011-02-12 18:05:06 -0300111 ---help---
112 Driver for an OMAP 3 camera controller.
113
114config VIDEO_OMAP3_DEBUG
115 bool "OMAP 3 Camera debug messages"
116 depends on VIDEO_OMAP3
117 ---help---
118 Enable debug messages on OMAP 3 camera controller driver.
119
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300120config SOC_CAMERA
121 tristate "SoC camera support"
Randy Dunlap9d6f7f62009-05-11 14:51:32 -0300122 depends on VIDEO_V4L2 && HAS_DMA && I2C
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300123 select VIDEOBUF_GEN
Guennadi Liakhovetski592c2ab2011-01-29 12:44:51 -0300124 select VIDEOBUF2_CORE
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300125 help
126 SoC Camera is a common API to several cameras, not connecting
127 over a bus like PCI or USB. For example some i2c camera connected
128 directly to the data bus of an SoC.
129
Guennadi Liakhovetski67826232010-10-05 12:33:25 -0300130config SOC_CAMERA_IMX074
131 tristate "imx074 support"
132 depends on SOC_CAMERA && I2C
133 help
134 This driver supports IMX074 cameras from Sony
135
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300136config SOC_CAMERA_MT9M001
137 tristate "mt9m001 support"
138 depends on SOC_CAMERA && I2C
139 select GPIO_PCA953X if MT9M001_PCA9536_SWITCH
140 help
141 This driver supports MT9M001 cameras from Micron, monochrome
142 and colour models.
143
Robert Jarzmik77110ab2008-08-14 12:02:51 -0300144config SOC_CAMERA_MT9M111
Philipp Wiesnerc8cf0782010-08-03 07:57:39 -0300145 tristate "mt9m111, mt9m112 and mt9m131 support"
Robert Jarzmik77110ab2008-08-14 12:02:51 -0300146 depends on SOC_CAMERA && I2C
147 help
Philipp Wiesnerc8cf0782010-08-03 07:57:39 -0300148 This driver supports MT9M111, MT9M112 and MT9M131 cameras from
149 Micron/Aptina
Robert Jarzmik77110ab2008-08-14 12:02:51 -0300150
Guennadi Liakhovetski4e96fd02008-12-29 06:04:59 -0300151config SOC_CAMERA_MT9T031
152 tristate "mt9t031 support"
153 depends on SOC_CAMERA && I2C
154 help
155 This driver supports MT9T031 cameras from Micron.
156
Kuninori Morimoto858424b2009-12-11 11:53:55 -0300157config SOC_CAMERA_MT9T112
158 tristate "mt9t112 support"
159 depends on SOC_CAMERA && I2C
160 help
161 This driver supports MT9T112 cameras from Aptina.
162
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300163config SOC_CAMERA_MT9V022
164 tristate "mt9v022 support"
165 depends on SOC_CAMERA && I2C
166 select GPIO_PCA953X if MT9V022_PCA9536_SWITCH
167 help
168 This driver supports MT9V022 cameras from Micron
169
Guennadi Liakhovetski8f37cf22009-10-05 12:54:04 -0300170config SOC_CAMERA_RJ54N1
171 tristate "rj54n1cb0c support"
172 depends on SOC_CAMERA && I2C
173 help
174 This is a rj54n1cb0c video driver
175
Kuninori Morimotoed922a82008-12-29 06:04:06 -0300176config SOC_CAMERA_TW9910
177 tristate "tw9910 support"
178 depends on SOC_CAMERA && I2C
179 help
180 This is a tw9910 video driver
181
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300182config SOC_CAMERA_PLATFORM
183 tristate "platform camera support"
184 depends on SOC_CAMERA
185 help
186 This is a generic SoC camera platform driver, useful for testing
187
Alberto Panizzo3153ac92010-12-02 11:53:28 -0300188config SOC_CAMERA_OV2640
189 tristate "ov2640 camera support"
190 depends on SOC_CAMERA && I2C
191 help
192 This is a ov2640 camera driver
193
Bastian Hechtb52a8512011-06-24 07:57:36 -0300194config SOC_CAMERA_OV5642
195 tristate "ov5642 camera support"
196 depends on SOC_CAMERA && I2C
197 help
198 This is a V4L2 camera driver for the OmniVision OV5642 sensor
199
Janusz Krzysztofik2f6e2402010-10-05 11:52:45 -0300200config SOC_CAMERA_OV6650
201 tristate "ov6650 sensor support"
202 depends on SOC_CAMERA && I2C
203 ---help---
204 This is a V4L2 SoC camera driver for the OmniVision OV6650 sensor
205
Kuninori Morimoto08a66ae2008-10-24 15:43:07 -0300206config SOC_CAMERA_OV772X
207 tristate "ov772x camera support"
208 depends on SOC_CAMERA && I2C
209 help
210 This is a ov772x camera driver
211
Marek Vasut8d648272009-09-23 04:59:24 -0300212config SOC_CAMERA_OV9640
213 tristate "ov9640 camera support"
214 depends on SOC_CAMERA && I2C
215 help
216 This is a ov9640 camera driver
217
Andrew Chew9bd060e2011-02-17 19:14:33 -0300218config SOC_CAMERA_OV9740
219 tristate "ov9740 camera support"
220 depends on SOC_CAMERA && I2C
221 help
222 This is a ov9740 camera driver
223
Paulius Zaleckas6acc81c2009-04-03 10:34:05 -0300224config MX1_VIDEO
225 bool
226
227config VIDEO_MX1
228 tristate "i.MX1/i.MXL CMOS Sensor Interface driver"
229 depends on VIDEO_DEV && ARCH_MX1 && SOC_CAMERA
230 select FIQ
231 select VIDEOBUF_DMA_CONTIG
232 select MX1_VIDEO
233 ---help---
234 This is a v4l2 driver for the i.MX1/i.MXL CMOS Sensor Interface
235
Valentin Longchampc2e53072009-05-06 11:54:48 +0200236config MX3_VIDEO
237 bool
238
Guennadi Liakhovetski4f671302009-02-23 12:13:24 -0300239config VIDEO_MX3
240 tristate "i.MX3x Camera Sensor Interface driver"
241 depends on VIDEO_DEV && MX3_IPU && SOC_CAMERA
Uwe Kleine-König122af3662011-04-07 05:50:43 -0300242 select VIDEOBUF2_DMA_CONTIG
Valentin Longchampc2e53072009-05-06 11:54:48 +0200243 select MX3_VIDEO
Guennadi Liakhovetski4f671302009-02-23 12:13:24 -0300244 ---help---
245 This is a v4l2 driver for the i.MX3x Camera Sensor Interface
246
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300247config VIDEO_PXA27x
248 tristate "PXA27x Quick Capture Interface driver"
249 depends on VIDEO_DEV && PXA27x && SOC_CAMERA
250 select VIDEOBUF_DMA_SG
251 ---help---
252 This is a v4l2 driver for the PXA27x Quick Capture Interface
253
Guennadi Liakhovetski077e2c12010-07-26 11:12:43 -0300254config VIDEO_SH_MOBILE_CSI2
255 tristate "SuperH Mobile MIPI CSI-2 Interface driver"
256 depends on VIDEO_DEV && SOC_CAMERA && HAVE_CLK
257 ---help---
258 This is a v4l2 driver for the SuperH MIPI CSI-2 Interface
259
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300260config VIDEO_SH_MOBILE_CEU
261 tristate "SuperH Mobile CEU Interface driver"
Paul Mundtaf505b12008-11-13 12:20:26 +0900262 depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA && HAVE_CLK
Guennadi Liakhovetskia6168982011-02-18 05:30:15 -0300263 select VIDEOBUF2_DMA_CONTIG
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300264 ---help---
265 This is a v4l2 driver for the SuperH Mobile CEU Interface
266
Janusz Krzysztofikbdc621f2010-09-30 08:35:49 -0300267config VIDEO_OMAP1
268 tristate "OMAP1 Camera Interface driver"
269 depends on VIDEO_DEV && ARCH_OMAP1 && SOC_CAMERA
270 select VIDEOBUF_DMA_CONTIG
271 select VIDEOBUF_DMA_SG
272 ---help---
273 This is a v4l2 driver for the TI OMAP1 camera interface
274
Sakari Ailus39aee692008-12-01 15:40:09 -0300275config VIDEO_OMAP2
276 tristate "OMAP2 Camera Capture Interface driver"
277 depends on VIDEO_DEV && ARCH_OMAP2
278 select VIDEOBUF_DMA_SG
279 ---help---
280 This is a v4l2 driver for the TI OMAP2 camera capture interface
281
Baruch Siach20669302010-07-04 07:55:10 +0300282config VIDEO_MX2_HOSTSUPPORT
Mauro Carvalho Chehab81f20302011-05-21 09:12:30 -0300283 bool
Baruch Siach20669302010-07-04 07:55:10 +0300284
285config VIDEO_MX2
286 tristate "i.MX27/i.MX25 Camera Sensor Interface driver"
Javier Martin087c78a2012-07-26 07:20:35 -0300287 depends on VIDEO_DEV && SOC_CAMERA && (MACH_MX27 || (ARCH_MX25 && BROKEN))
Fabio Estevam0c22aff2012-03-09 08:15:38 -0300288 select VIDEOBUF2_DMA_CONTIG
Baruch Siach20669302010-07-04 07:55:10 +0300289 select VIDEO_MX2_HOSTSUPPORT
290 ---help---
291 This is a v4l2 driver for the i.MX27 and the i.MX25 Camera Sensor
292 Interface
293
Josh Wu195ebc42011-06-07 22:40:19 -0300294config VIDEO_ATMEL_ISI
295 tristate "ATMEL Image Sensor Interface (ISI) support"
296 depends on VIDEO_DEV && SOC_CAMERA && ARCH_AT91
297 select VIDEOBUF2_DMA_CONTIG
298 ---help---
299 This module makes the ATMEL Image Sensor Interface available
300 as a v4l2 device.
301
Sylwester Nawrocki4af81312012-04-27 05:29:05 -0300302source "drivers/media/video/s5p-fimc/Kconfig"
Tomasz Stanislawskia52074e2011-03-02 13:16:37 -0300303source "drivers/media/video/s5p-tv/Kconfig"
304
Hans Verkuile9eb0da2011-11-08 11:02:34 -0300305endif # V4L_PLATFORM_DRIVERS
Pawel Osciak7f986392010-04-23 05:38:37 -0300306
307menuconfig V4L_MEM2MEM_DRIVERS
308 bool "Memory-to-memory multimedia devices"
309 depends on VIDEO_V4L2
310 default n
311 ---help---
312 Say Y here to enable selecting drivers for V4L devices that
313 use system memory for both source and destination buffers, as opposed
314 to capture and output drivers, which use memory buffers for just
315 one of those.
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300316
317if V4L_MEM2MEM_DRIVERS
318
319config VIDEO_MEM2MEM_TESTDEV
320 tristate "Virtual test device for mem2mem framework"
321 depends on VIDEO_DEV && VIDEO_V4L2
Marek Szyprowskid80ee382011-01-12 06:50:55 -0300322 select VIDEOBUF2_VMALLOC
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300323 select V4L2_MEM2MEM_DEV
324 default n
325 ---help---
326 This is a virtual test device for the memory-to-memory driver
327 framework.
328
Javier Martin186b2502012-07-26 05:53:35 -0300329config VIDEO_CODA
330 tristate "Chips&Media Coda multi-standard codec IP"
331 depends on VIDEO_DEV && VIDEO_V4L2
332 select VIDEOBUF2_DMA_CONTIG
333 select V4L2_MEM2MEM_DEV
334 ---help---
335 Coda is a range of video codec IPs that supports
336 H.264, MPEG-4, and other video formats.
337
Javier Martin8f0755c2012-07-26 05:55:18 -0300338config VIDEO_MEM2MEM_DEINTERLACE
339 tristate "Deinterlace support"
340 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
341 select VIDEOBUF2_DMA_CONTIG
342 select V4L2_MEM2MEM_DEV
343 help
344 Generic deinterlacing V4L2 driver.
345
Kamil Debski91884732011-10-06 11:32:12 -0300346config VIDEO_SAMSUNG_S5P_G2D
347 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
348 depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
349 select VIDEOBUF2_DMA_CONTIG
350 select V4L2_MEM2MEM_DEV
351 default n
352 ---help---
353 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
354 2d graphics accelerator.
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300355
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300356config VIDEO_SAMSUNG_S5P_JPEG
357 tristate "Samsung S5P/Exynos4 JPEG codec driver (EXPERIMENTAL)"
358 depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P && EXPERIMENTAL
359 select VIDEOBUF2_DMA_CONTIG
360 select V4L2_MEM2MEM_DEV
361 ---help---
362 This is a v4l2 driver for Samsung S5P and EXYNOS4 JPEG codec
363
Kamil Debskiaf935742011-06-21 10:51:26 -0300364config VIDEO_SAMSUNG_S5P_MFC
365 tristate "Samsung S5P MFC 5.1 Video Codec"
366 depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
367 select VIDEOBUF2_DMA_CONTIG
368 default n
369 help
370 MFC 5.1 driver for V4L2.
371
Javier Martin8091cb72012-01-13 06:31:02 -0300372config VIDEO_MX2_EMMAPRP
373 tristate "MX2 eMMa-PrP support"
374 depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
375 select VIDEOBUF2_DMA_CONTIG
376 select V4L2_MEM2MEM_DEV
377 help
378 MX2X chips have a PrP that can be used to process buffers from
379 memory to memory. Operations include resizing and format
380 conversion.
381
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300382endif # V4L_MEM2MEM_DRIVERS
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300383
384endif # MEDIA_CAMERA_SUPPORT