[media] move soc_camera i2c drivers into its own dir
[sfrench/cifs-2.6.git] / drivers / media / platform / Kconfig
1 if MEDIA_CAMERA_SUPPORT
2
3 config 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
17 #
18 # Platform drivers
19 #       All drivers here are currently for webcam support
20
21 menuconfig V4L_PLATFORM_DRIVERS
22         bool "V4L platform devices"
23         depends on MEDIA_CAMERA_SUPPORT
24         default n
25         ---help---
26           Say Y here to enable support for platform-specific V4L drivers.
27
28 if V4L_PLATFORM_DRIVERS
29
30 source "drivers/media/platform/marvell-ccic/Kconfig"
31
32 config 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
46 source "drivers/media/platform/davinci/Kconfig"
47
48 source "drivers/media/platform/omap/Kconfig"
49
50 source "drivers/media/platform/blackfin/Kconfig"
51
52 config 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
59 config 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
71 config 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
81 config 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
89 config VIDEO_M32R_AR
90         tristate "AR devices"
91         depends on M32R && VIDEO_V4L2
92         ---help---
93           This is a video4linux driver for the Renesas AR (Artificial Retina)
94           camera module.
95
96 config VIDEO_M32R_AR_M64278
97         tristate "AR device with color module M64278(VGA)"
98         depends on PLAT_M32700UT
99         select VIDEO_M32R_AR
100         ---help---
101           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.
107
108 config VIDEO_OMAP3
109         tristate "OMAP 3 Camera support (EXPERIMENTAL)"
110         depends on OMAP_IOVMM && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 && EXPERIMENTAL
111         ---help---
112           Driver for an OMAP 3 camera controller.
113
114 config 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
120 config SOC_CAMERA
121         tristate "SoC camera support"
122         depends on VIDEO_V4L2 && HAS_DMA && I2C
123         select VIDEOBUF_GEN
124         select VIDEOBUF2_CORE
125         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
130
131 config 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
137 config MX1_VIDEO
138         bool
139
140 config 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
149 config MX3_VIDEO
150         bool
151
152 config VIDEO_MX3
153         tristate "i.MX3x Camera Sensor Interface driver"
154         depends on VIDEO_DEV && MX3_IPU && SOC_CAMERA
155         select VIDEOBUF2_DMA_CONTIG
156         select MX3_VIDEO
157         ---help---
158           This is a v4l2 driver for the i.MX3x Camera Sensor Interface
159
160 config 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
167 config 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
173 config VIDEO_SH_MOBILE_CEU
174         tristate "SuperH Mobile CEU Interface driver"
175         depends on VIDEO_DEV && SOC_CAMERA && HAS_DMA && HAVE_CLK
176         select VIDEOBUF2_DMA_CONTIG
177         ---help---
178           This is a v4l2 driver for the SuperH Mobile CEU Interface
179
180 config 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
188 config 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
195 config VIDEO_MX2_HOSTSUPPORT
196         bool
197
198 config VIDEO_MX2
199         tristate "i.MX27/i.MX25 Camera Sensor Interface driver"
200         depends on VIDEO_DEV && SOC_CAMERA && (MACH_MX27 || (ARCH_MX25 && BROKEN))
201         select VIDEOBUF2_DMA_CONTIG
202         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
207 config 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
215 source "drivers/media/platform/s5p-fimc/Kconfig"
216 source "drivers/media/platform/s5p-tv/Kconfig"
217
218 endif # V4L_PLATFORM_DRIVERS
219
220 menuconfig 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.
229
230 if V4L_MEM2MEM_DRIVERS
231
232 config VIDEO_MEM2MEM_TESTDEV
233         tristate "Virtual test device for mem2mem framework"
234         depends on VIDEO_DEV && VIDEO_V4L2
235         select VIDEOBUF2_VMALLOC
236         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
242 config 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
251 config 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
259 config 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.
268
269 config 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
277 config 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
285 config 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
295 endif # V4L_MEM2MEM_DRIVERS
296
297 endif # MEDIA_CAMERA_SUPPORT