5d7befad90e001ad5bbb8982edee9725ffa473f7
[sfrench/cifs-2.6.git] / drivers / media / platform / Kconfig
1 #
2 # Platform drivers
3 #       Most drivers here are currently for webcam support
4
5 menuconfig 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
12 if V4L_PLATFORM_DRIVERS
13
14 source "drivers/media/platform/marvell-ccic/Kconfig"
15
16 config 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
30 source "drivers/media/platform/davinci/Kconfig"
31
32 source "drivers/media/platform/omap/Kconfig"
33
34 source "drivers/media/platform/blackfin/Kconfig"
35
36 config 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 VIDEOBUF2_DMA_CONTIG
42         help
43           Support for the Video Output Unit (VOU) on SuperH SoCs.
44
45 config 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
57 config VIDEO_M32R_AR
58         tristate "AR devices"
59         depends on VIDEO_V4L2
60         depends on M32R || COMPILE_TEST
61         ---help---
62           This is a video4linux driver for the Renesas AR (Artificial Retina)
63           camera module.
64
65 config VIDEO_M32R_AR_M64278
66         tristate "AR device with color module M64278(VGA)"
67         depends on PLAT_M32700UT
68         select VIDEO_M32R_AR
69         ---help---
70           This is a video4linux driver for the Renesas AR (Artificial
71           Retina) with M64278E-800 camera module.
72           This module supports VGA(640x480 pixels) resolutions.
73
74           To compile this driver as a module, choose M here: the
75           module will be called arv.
76
77 config VIDEO_OMAP3
78         tristate "OMAP 3 Camera support"
79         depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
80         depends on HAS_DMA && OF
81         depends on OMAP_IOMMU
82         select ARM_DMA_USE_IOMMU
83         select VIDEOBUF2_DMA_CONTIG
84         select MFD_SYSCON
85         ---help---
86           Driver for an OMAP 3 camera controller.
87
88 config VIDEO_OMAP3_DEBUG
89         bool "OMAP 3 Camera debug messages"
90         depends on VIDEO_OMAP3
91         ---help---
92           Enable debug messages on OMAP 3 camera controller driver.
93
94 config VIDEO_PXA27x
95         tristate "PXA27x Quick Capture Interface driver"
96         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
97         depends on PXA27x || COMPILE_TEST
98         select VIDEOBUF2_DMA_SG
99         select SG_SPLIT
100         ---help---
101           This is a v4l2 driver for the PXA27x Quick Capture Interface
102
103 config VIDEO_S3C_CAMIF
104         tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
105         depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
106         depends on PM
107         depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
108         depends on HAS_DMA
109         select VIDEOBUF2_DMA_CONTIG
110         ---help---
111           This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
112           host interface (CAMIF).
113
114           To compile this driver as a module, choose M here: the module
115           will be called s3c-camif.
116
117 source "drivers/media/platform/soc_camera/Kconfig"
118 source "drivers/media/platform/exynos4-is/Kconfig"
119 source "drivers/media/platform/am437x/Kconfig"
120 source "drivers/media/platform/xilinx/Kconfig"
121 source "drivers/media/platform/rcar-vin/Kconfig"
122 source "drivers/media/platform/atmel/Kconfig"
123
124 config VIDEO_TI_CAL
125         tristate "TI CAL (Camera Adaptation Layer) driver"
126         depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
127         depends on SOC_DRA7XX || COMPILE_TEST
128         depends on HAS_DMA
129         select VIDEOBUF2_DMA_CONTIG
130         default n
131         ---help---
132           Support for the TI CAL (Camera Adaptation Layer) block
133           found on DRA72X SoC.
134           In TI Technical Reference Manual this module is referred as
135           Camera Interface Subsystem (CAMSS).
136
137 endif # V4L_PLATFORM_DRIVERS
138
139 menuconfig V4L_MEM2MEM_DRIVERS
140         bool "Memory-to-memory multimedia devices"
141         depends on VIDEO_V4L2
142         depends on MEDIA_CAMERA_SUPPORT
143         default n
144         ---help---
145           Say Y here to enable selecting drivers for V4L devices that
146           use system memory for both source and destination buffers, as opposed
147           to capture and output drivers, which use memory buffers for just
148           one of those.
149
150 if V4L_MEM2MEM_DRIVERS
151
152 config VIDEO_CODA
153         tristate "Chips&Media Coda multi-standard codec IP"
154         depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
155         depends on HAS_DMA
156         select SRAM
157         select VIDEOBUF2_DMA_CONTIG
158         select VIDEOBUF2_VMALLOC
159         select V4L2_MEM2MEM_DEV
160         select GENERIC_ALLOCATOR
161         ---help---
162            Coda is a range of video codec IPs that supports
163            H.264, MPEG-4, and other video formats.
164
165 config VIDEO_MEDIATEK_VPU
166         tristate "Mediatek Video Processor Unit"
167         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
168         depends on ARCH_MEDIATEK || COMPILE_TEST
169         ---help---
170             This driver provides downloading VPU firmware and
171             communicating with VPU. This driver for hw video
172             codec embedded in Mediatek's MT8173 SOCs. It is able
173             to handle video decoding/encoding in a range of formats.
174
175             To compile this driver as a module, choose M here: the
176             module will be called mtk-vpu.
177
178 config VIDEO_MEDIATEK_MDP
179         tristate "Mediatek MDP driver"
180         depends on MTK_IOMMU || COMPILE_TEST
181         depends on VIDEO_DEV && VIDEO_V4L2
182         depends on ARCH_MEDIATEK || COMPILE_TEST
183         depends on HAS_DMA
184         select VIDEOBUF2_DMA_CONTIG
185         select V4L2_MEM2MEM_DEV
186         select VIDEO_MEDIATEK_VPU
187         default n
188         ---help---
189             It is a v4l2 driver and present in Mediatek MT8173 SoCs.
190             The driver supports for scaling and color space conversion.
191
192             To compile this driver as a module, choose M here: the
193             module will be called mtk-mdp.
194
195 config VIDEO_MEDIATEK_VCODEC
196         tristate "Mediatek Video Codec driver"
197         depends on MTK_IOMMU || COMPILE_TEST
198         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
199         depends on ARCH_MEDIATEK || COMPILE_TEST
200         select VIDEOBUF2_DMA_CONTIG
201         select V4L2_MEM2MEM_DEV
202         select VIDEO_MEDIATEK_VPU
203         default n
204         ---help---
205             Mediatek video codec driver provides HW capability to
206             encode and decode in a range of video formats
207             This driver rely on VPU driver to communicate with VPU.
208
209             To compile this driver as a module, choose M here: the
210             module will be called mtk-vcodec
211
212 config VIDEO_MEM2MEM_DEINTERLACE
213         tristate "Deinterlace support"
214         depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
215         depends on HAS_DMA
216         select VIDEOBUF2_DMA_CONTIG
217         select V4L2_MEM2MEM_DEV
218         help
219             Generic deinterlacing V4L2 driver.
220
221 config VIDEO_SAMSUNG_S5P_G2D
222         tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
223         depends on VIDEO_DEV && VIDEO_V4L2
224         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
225         depends on HAS_DMA
226         select VIDEOBUF2_DMA_CONTIG
227         select V4L2_MEM2MEM_DEV
228         default n
229         ---help---
230           This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
231           2d graphics accelerator.
232
233 config VIDEO_SAMSUNG_S5P_JPEG
234         tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
235         depends on VIDEO_DEV && VIDEO_V4L2
236         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
237         depends on HAS_DMA
238         select VIDEOBUF2_DMA_CONTIG
239         select V4L2_MEM2MEM_DEV
240         ---help---
241           This is a v4l2 driver for Samsung S5P, EXYNOS3250
242           and EXYNOS4 JPEG codec
243
244 config VIDEO_SAMSUNG_S5P_MFC
245         tristate "Samsung S5P MFC Video Codec"
246         depends on VIDEO_DEV && VIDEO_V4L2
247         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
248         depends on HAS_DMA
249         select VIDEOBUF2_DMA_CONTIG
250         default n
251         help
252             MFC 5.1 and 6.x driver for V4L2
253
254 config VIDEO_MX2_EMMAPRP
255         tristate "MX2 eMMa-PrP support"
256         depends on VIDEO_DEV && VIDEO_V4L2
257         depends on SOC_IMX27 || COMPILE_TEST
258         depends on HAS_DMA
259         select VIDEOBUF2_DMA_CONTIG
260         select V4L2_MEM2MEM_DEV
261         help
262             MX2X chips have a PrP that can be used to process buffers from
263             memory to memory. Operations include resizing and format
264             conversion.
265
266 config VIDEO_SAMSUNG_EXYNOS_GSC
267         tristate "Samsung Exynos G-Scaler driver"
268         depends on VIDEO_DEV && VIDEO_V4L2
269         depends on ARCH_EXYNOS || COMPILE_TEST
270         depends on HAS_DMA
271         select VIDEOBUF2_DMA_CONTIG
272         select V4L2_MEM2MEM_DEV
273         help
274           This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
275
276 config VIDEO_STI_BDISP
277         tristate "STMicroelectronics BDISP 2D blitter driver"
278         depends on VIDEO_DEV && VIDEO_V4L2
279         depends on HAS_DMA
280         depends on ARCH_STI || COMPILE_TEST
281         select VIDEOBUF2_DMA_CONTIG
282         select V4L2_MEM2MEM_DEV
283         help
284           This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
285
286 config VIDEO_STI_HVA
287         tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
288         depends on VIDEO_DEV && VIDEO_V4L2
289         depends on HAS_DMA
290         depends on ARCH_STI || COMPILE_TEST
291         select VIDEOBUF2_DMA_CONTIG
292         select V4L2_MEM2MEM_DEV
293         help
294           This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
295           video encoder of STMicroelectronics SoC, allowing hardware encoding of
296           raw uncompressed formats in various compressed video bitstreams format.
297
298           To compile this driver as a module, choose M here:
299           the module will be called st-hva.
300
301 config VIDEO_SH_VEU
302         tristate "SuperH VEU mem2mem video processing driver"
303         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
304         select VIDEOBUF2_DMA_CONTIG
305         select V4L2_MEM2MEM_DEV
306         help
307             Support for the Video Engine Unit (VEU) on SuperH and
308             SH-Mobile SoCs.
309
310 config VIDEO_RENESAS_FDP1
311         tristate "Renesas Fine Display Processor"
312         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
313         depends on ARCH_SHMOBILE || COMPILE_TEST
314         select VIDEOBUF2_DMA_CONTIG
315         select V4L2_MEM2MEM_DEV
316         ---help---
317           This is a V4L2 driver for the Renesas Fine Display Processor
318           providing colour space conversion, and de-interlacing features.
319
320           To compile this driver as a module, choose M here: the module
321           will be called rcar_fdp1.
322
323 config VIDEO_RENESAS_JPU
324         tristate "Renesas JPEG Processing Unit"
325         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
326         depends on ARCH_RENESAS || COMPILE_TEST
327         select VIDEOBUF2_DMA_CONTIG
328         select V4L2_MEM2MEM_DEV
329         ---help---
330           This is a V4L2 driver for the Renesas JPEG Processing Unit.
331
332           To compile this driver as a module, choose M here: the module
333           will be called rcar_jpu.
334
335 config VIDEO_RENESAS_FCP
336         tristate "Renesas Frame Compression Processor"
337         depends on ARCH_RENESAS || COMPILE_TEST
338         depends on OF
339         ---help---
340           This is a driver for the Renesas Frame Compression Processor (FCP).
341           The FCP is a companion module of video processing modules in the
342           Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
343           VSP and FDP modules.
344
345           To compile this driver as a module, choose M here: the module
346           will be called rcar-fcp.
347
348 config VIDEO_RENESAS_VSP1
349         tristate "Renesas VSP1 Video Processing Engine"
350         depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
351         depends on (ARCH_RENESAS && OF) || COMPILE_TEST
352         depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
353         select VIDEOBUF2_DMA_CONTIG
354         ---help---
355           This is a V4L2 driver for the Renesas VSP1 video processing engine.
356
357           To compile this driver as a module, choose M here: the module
358           will be called vsp1.
359
360 config VIDEO_TI_VPE
361         tristate "TI VPE (Video Processing Engine) driver"
362         depends on VIDEO_DEV && VIDEO_V4L2
363         depends on SOC_DRA7XX || COMPILE_TEST
364         depends on HAS_DMA
365         select VIDEOBUF2_DMA_CONTIG
366         select V4L2_MEM2MEM_DEV
367         select VIDEO_TI_VPDMA
368         select VIDEO_TI_SC
369         default n
370         ---help---
371           Support for the TI VPE(Video Processing Engine) block
372           found on DRA7XX SoC.
373
374 config VIDEO_TI_VPE_DEBUG
375         bool "VPE debug messages"
376         depends on VIDEO_TI_VPE
377         ---help---
378           Enable debug messages on VPE driver.
379
380 endif # V4L_MEM2MEM_DRIVERS
381
382 # TI VIDEO PORT Helper Modules
383 # These will be selected by VPE and VIP
384 config VIDEO_TI_VPDMA
385         tristate
386
387 config VIDEO_TI_SC
388         tristate
389
390 menuconfig V4L_TEST_DRIVERS
391         bool "Media test drivers"
392         depends on MEDIA_CAMERA_SUPPORT
393
394 if V4L_TEST_DRIVERS
395
396 source "drivers/media/platform/vivid/Kconfig"
397
398 config VIDEO_VIM2M
399         tristate "Virtual Memory-to-Memory Driver"
400         depends on VIDEO_DEV && VIDEO_V4L2
401         select VIDEOBUF2_VMALLOC
402         select V4L2_MEM2MEM_DEV
403         default n
404         ---help---
405           This is a virtual test device for the memory-to-memory driver
406           framework.
407 endif #V4L_TEST_DRIVERS
408
409 menuconfig DVB_PLATFORM_DRIVERS
410         bool "DVB platform devices"
411         depends on MEDIA_DIGITAL_TV_SUPPORT
412         default n
413         ---help---
414           Say Y here to enable support for platform-specific Digital TV drivers.
415
416 if DVB_PLATFORM_DRIVERS
417 source "drivers/media/platform/sti/c8sectpfe/Kconfig"
418 endif #DVB_PLATFORM_DRIVERS