blob: e1959a8d11270a5fa6fc9f68485980ae17e9ae7c [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
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030030source "drivers/media/platform/marvell-ccic/Kconfig"
Jonathan Corbetf8fc7292011-06-11 17:46:42 +000031
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
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030046source "drivers/media/platform/davinci/Kconfig"
Hans Verkuil9fa0b852011-09-30 09:06:11 -030047
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030048source "drivers/media/platform/omap/Kconfig"
Hans Verkuil9fa0b852011-09-30 09:06:11 -030049
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030050source "drivers/media/platform/blackfin/Kconfig"
Scott Jiang63b1a902012-03-08 17:44:17 -030051
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
Kuninori Morimotoed922a82008-12-29 06:04:06 -0300130
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300131config SOC_CAMERA_PLATFORM
132 tristate "platform camera support"
133 depends on SOC_CAMERA
134 help
135 This is a generic SoC camera platform driver, useful for testing
136
Paulius Zaleckas6acc81c2009-04-03 10:34:05 -0300137config MX1_VIDEO
138 bool
139
140config VIDEO_MX1
141 tristate "i.MX1/i.MXL CMOS Sensor Interface driver"
142 depends on VIDEO_DEV && ARCH_MX1 && SOC_CAMERA
143 select FIQ
144 select VIDEOBUF_DMA_CONTIG
145 select MX1_VIDEO
146 ---help---
147 This is a v4l2 driver for the i.MX1/i.MXL CMOS Sensor Interface
148
Valentin Longchampc2e53072009-05-06 11:54:48 +0200149config MX3_VIDEO
150 bool
151
Guennadi Liakhovetski4f671302009-02-23 12:13:24 -0300152config VIDEO_MX3
153 tristate "i.MX3x Camera Sensor Interface driver"
154 depends on VIDEO_DEV && MX3_IPU && SOC_CAMERA
Uwe Kleine-König122af3662011-04-07 05:50:43 -0300155 select VIDEOBUF2_DMA_CONTIG
Valentin Longchampc2e53072009-05-06 11:54:48 +0200156 select MX3_VIDEO
Guennadi Liakhovetski4f671302009-02-23 12:13:24 -0300157 ---help---
158 This is a v4l2 driver for the i.MX3x Camera Sensor Interface
159
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300160config VIDEO_PXA27x
161 tristate "PXA27x Quick Capture Interface driver"
162 depends on VIDEO_DEV && PXA27x && SOC_CAMERA
163 select VIDEOBUF_DMA_SG
164 ---help---
165 This is a v4l2 driver for the PXA27x Quick Capture Interface
166
Guennadi Liakhovetski077e2c12010-07-26 11:12:43 -0300167config VIDEO_SH_MOBILE_CSI2
168 tristate "SuperH Mobile MIPI CSI-2 Interface driver"
169 depends on VIDEO_DEV && SOC_CAMERA && HAVE_CLK
170 ---help---
171 This is a v4l2 driver for the SuperH MIPI CSI-2 Interface
172
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300173config VIDEO_SH_MOBILE_CEU
174 tristate "SuperH Mobile CEU Interface driver"
Paul Mundtaf505b12008-11-13 12:20:26 +0900175 depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA && HAVE_CLK
Guennadi Liakhovetskia6168982011-02-18 05:30:15 -0300176 select VIDEOBUF2_DMA_CONTIG
Mauro Carvalho Chehab96f1e402008-07-28 13:07:42 -0300177 ---help---
178 This is a v4l2 driver for the SuperH Mobile CEU Interface
179
Janusz Krzysztofikbdc621f2010-09-30 08:35:49 -0300180config VIDEO_OMAP1
181 tristate "OMAP1 Camera Interface driver"
182 depends on VIDEO_DEV && ARCH_OMAP1 && SOC_CAMERA
183 select VIDEOBUF_DMA_CONTIG
184 select VIDEOBUF_DMA_SG
185 ---help---
186 This is a v4l2 driver for the TI OMAP1 camera interface
187
Sakari Ailus39aee692008-12-01 15:40:09 -0300188config VIDEO_OMAP2
189 tristate "OMAP2 Camera Capture Interface driver"
190 depends on VIDEO_DEV && ARCH_OMAP2
191 select VIDEOBUF_DMA_SG
192 ---help---
193 This is a v4l2 driver for the TI OMAP2 camera capture interface
194
Baruch Siach20669302010-07-04 07:55:10 +0300195config VIDEO_MX2_HOSTSUPPORT
Mauro Carvalho Chehab81f20302011-05-21 09:12:30 -0300196 bool
Baruch Siach20669302010-07-04 07:55:10 +0300197
198config VIDEO_MX2
199 tristate "i.MX27/i.MX25 Camera Sensor Interface driver"
Javier Martin087c78a2012-07-26 07:20:35 -0300200 depends on VIDEO_DEV && SOC_CAMERA && (MACH_MX27 || (ARCH_MX25 && BROKEN))
Fabio Estevam0c22aff2012-03-09 08:15:38 -0300201 select VIDEOBUF2_DMA_CONTIG
Baruch Siach20669302010-07-04 07:55:10 +0300202 select VIDEO_MX2_HOSTSUPPORT
203 ---help---
204 This is a v4l2 driver for the i.MX27 and the i.MX25 Camera Sensor
205 Interface
206
Josh Wu195ebc42011-06-07 22:40:19 -0300207config VIDEO_ATMEL_ISI
208 tristate "ATMEL Image Sensor Interface (ISI) support"
209 depends on VIDEO_DEV && SOC_CAMERA && ARCH_AT91
210 select VIDEOBUF2_DMA_CONTIG
211 ---help---
212 This module makes the ATMEL Image Sensor Interface available
213 as a v4l2 device.
214
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -0300215source "drivers/media/platform/s5p-fimc/Kconfig"
216source "drivers/media/platform/s5p-tv/Kconfig"
Tomasz Stanislawskia52074e2011-03-02 13:16:37 -0300217
Hans Verkuile9eb0da2011-11-08 11:02:34 -0300218endif # V4L_PLATFORM_DRIVERS
Pawel Osciak7f986392010-04-23 05:38:37 -0300219
220menuconfig V4L_MEM2MEM_DRIVERS
221 bool "Memory-to-memory multimedia devices"
222 depends on VIDEO_V4L2
223 default n
224 ---help---
225 Say Y here to enable selecting drivers for V4L devices that
226 use system memory for both source and destination buffers, as opposed
227 to capture and output drivers, which use memory buffers for just
228 one of those.
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300229
230if V4L_MEM2MEM_DRIVERS
231
232config VIDEO_MEM2MEM_TESTDEV
233 tristate "Virtual test device for mem2mem framework"
234 depends on VIDEO_DEV && VIDEO_V4L2
Marek Szyprowskid80ee382011-01-12 06:50:55 -0300235 select VIDEOBUF2_VMALLOC
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300236 select V4L2_MEM2MEM_DEV
237 default n
238 ---help---
239 This is a virtual test device for the memory-to-memory driver
240 framework.
241
Javier Martin186b2502012-07-26 05:53:35 -0300242config VIDEO_CODA
243 tristate "Chips&Media Coda multi-standard codec IP"
244 depends on VIDEO_DEV && VIDEO_V4L2
245 select VIDEOBUF2_DMA_CONTIG
246 select V4L2_MEM2MEM_DEV
247 ---help---
248 Coda is a range of video codec IPs that supports
249 H.264, MPEG-4, and other video formats.
250
Javier Martin8f0755c2012-07-26 05:55:18 -0300251config VIDEO_MEM2MEM_DEINTERLACE
252 tristate "Deinterlace support"
253 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
254 select VIDEOBUF2_DMA_CONTIG
255 select V4L2_MEM2MEM_DEV
256 help
257 Generic deinterlacing V4L2 driver.
258
Kamil Debski91884732011-10-06 11:32:12 -0300259config VIDEO_SAMSUNG_S5P_G2D
260 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
261 depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
262 select VIDEOBUF2_DMA_CONTIG
263 select V4L2_MEM2MEM_DEV
264 default n
265 ---help---
266 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
267 2d graphics accelerator.
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300268
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300269config VIDEO_SAMSUNG_S5P_JPEG
270 tristate "Samsung S5P/Exynos4 JPEG codec driver (EXPERIMENTAL)"
271 depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P && EXPERIMENTAL
272 select VIDEOBUF2_DMA_CONTIG
273 select V4L2_MEM2MEM_DEV
274 ---help---
275 This is a v4l2 driver for Samsung S5P and EXYNOS4 JPEG codec
276
Kamil Debskiaf935742011-06-21 10:51:26 -0300277config VIDEO_SAMSUNG_S5P_MFC
278 tristate "Samsung S5P MFC 5.1 Video Codec"
279 depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
280 select VIDEOBUF2_DMA_CONTIG
281 default n
282 help
283 MFC 5.1 driver for V4L2.
284
Javier Martin8091cb72012-01-13 06:31:02 -0300285config VIDEO_MX2_EMMAPRP
286 tristate "MX2 eMMa-PrP support"
287 depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
288 select VIDEOBUF2_DMA_CONTIG
289 select V4L2_MEM2MEM_DEV
290 help
291 MX2X chips have a PrP that can be used to process buffers from
292 memory to memory. Operations include resizing and format
293 conversion.
294
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300295endif # V4L_MEM2MEM_DRIVERS
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300296
297endif # MEDIA_CAMERA_SUPPORT