]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/media/platform/Kconfig
Merge tag 'v4.11-rc1' into patchwork
[mirror_ubuntu-artful-kernel.git] / drivers / media / platform / Kconfig
CommitLineData
724f4a32
MCC
1#
2# Platform drivers
850a3f7d 3# Most drivers here are currently for webcam support
724f4a32 4
e9eb0dad
HV
5menuconfig V4L_PLATFORM_DRIVERS
6 bool "V4L platform devices"
724f4a32 7 depends on MEDIA_CAMERA_SUPPORT
e9eb0dad
HV
8 default n
9 ---help---
10 Say Y here to enable support for platform-specific V4L drivers.
11
12if V4L_PLATFORM_DRIVERS
13
2c3fb08b 14source "drivers/media/platform/marvell-ccic/Kconfig"
f8fc7298 15
9fa0b852
HV
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
2c3fb08b 30source "drivers/media/platform/davinci/Kconfig"
9fa0b852 31
2c3fb08b 32source "drivers/media/platform/omap/Kconfig"
9fa0b852 33
2c3fb08b 34source "drivers/media/platform/blackfin/Kconfig"
63b1a90d 35
9fa0b852
HV
36config VIDEO_SH_VOU
37 tristate "SuperH VOU video output driver"
b6334460 38 depends on MEDIA_CAMERA_SUPPORT
111eeaa7 39 depends on VIDEO_DEV && I2C && HAS_DMA
215c65a0 40 depends on ARCH_SHMOBILE || COMPILE_TEST
3ff863b8 41 select VIDEOBUF2_DMA_CONTIG
9fa0b852
HV
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
1450e6be
MCC
57config VIDEO_M32R_AR
58 tristate "AR devices"
7155043c
MCC
59 depends on VIDEO_V4L2
60 depends on M32R || COMPILE_TEST
add953ce 61 ---help---
1450e6be
MCC
62 This is a video4linux driver for the Renesas AR (Artificial Retina)
63 camera module.
add953ce 64
1450e6be
MCC
65config VIDEO_M32R_AR_M64278
66 tristate "AR device with color module M64278(VGA)"
67 depends on PLAT_M32700UT
68 select VIDEO_M32R_AR
add953ce 69 ---help---
1450e6be
MCC
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.
add953ce
HV
73
74 To compile this driver as a module, choose M here: the
1450e6be 75 module will be called arv.
f8962605 76
7e8970e1 77config VIDEO_OMAP3
e141a481 78 tristate "OMAP 3 Camera support"
2a0a5472 79 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
78c66fbc 80 depends on HAS_DMA && OF
06b718c0 81 depends on OMAP_IOMMU
2a0a5472 82 select ARM_DMA_USE_IOMMU
9aabd95a 83 select VIDEOBUF2_DMA_CONTIG
503596a1 84 select MFD_SYSCON
7e8970e1
LP
85 ---help---
86 Driver for an OMAP 3 camera controller.
87
88config 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
4bb738f2
RJ
94config VIDEO_PXA27x
95 tristate "PXA27x Quick Capture Interface driver"
ff681022 96 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
5809ecdd 97 depends on PXA27x || COMPILE_TEST
4bb738f2
RJ
98 select VIDEOBUF2_DMA_SG
99 select SG_SPLIT
100 ---help---
101 This is a v4l2 driver for the PXA27x Quick Capture Interface
102
babde1c2
SN
103config VIDEO_S3C_CAMIF
104 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
105 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
1b3e3aa6 106 depends on PM
7155043c 107 depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
12bd88e6 108 depends on HAS_DMA
babde1c2
SN
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
b47ff4a3 117source "drivers/media/platform/soc_camera/Kconfig"
56fa1a6a 118source "drivers/media/platform/exynos4-is/Kconfig"
417d2e50 119source "drivers/media/platform/am437x/Kconfig"
df330515 120source "drivers/media/platform/xilinx/Kconfig"
f00add96 121source "drivers/media/platform/rcar-vin/Kconfig"
10626744 122source "drivers/media/platform/atmel/Kconfig"
a52074ee 123
343e89a7
BP
124config 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
83446227 128 depends on HAS_DMA
343e89a7
BP
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
e9eb0dad 137endif # V4L_PLATFORM_DRIVERS
7f98639d
PO
138
139menuconfig V4L_MEM2MEM_DRIVERS
140 bool "Memory-to-memory multimedia devices"
141 depends on VIDEO_V4L2
b6334460 142 depends on MEDIA_CAMERA_SUPPORT
7f98639d
PO
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.
96d8eab5
PO
149
150if V4L_MEM2MEM_DRIVERS
151
186b250a
JM
152config VIDEO_CODA
153 tristate "Chips&Media Coda multi-standard codec IP"
1043667b 154 depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
12bd88e6 155 depends on HAS_DMA
e9436344 156 select SRAM
186b250a 157 select VIDEOBUF2_DMA_CONTIG
bb04aa6f 158 select VIDEOBUF2_VMALLOC
186b250a 159 select V4L2_MEM2MEM_DEV
39b06acc 160 select GENERIC_ALLOCATOR
186b250a
JM
161 ---help---
162 Coda is a range of video codec IPs that supports
163 H.264, MPEG-4, and other video formats.
164
b0444f18
PZ
165config VIDEO_IMX_VDOA
166 def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
167
b2f0d272
RC
168config VIDEO_MEDIATEK_JPEG
169 tristate "Mediatek JPEG Codec driver"
170 depends on MTK_IOMMU_V1 || COMPILE_TEST
171 depends on VIDEO_DEV && VIDEO_V4L2
172 depends on ARCH_MEDIATEK || COMPILE_TEST
173 depends on HAS_DMA
174 select VIDEOBUF2_DMA_CONTIG
175 select V4L2_MEM2MEM_DEV
176 ---help---
177 Mediatek jpeg codec driver provides HW capability to decode
178 JPEG format
179
180 To compile this driver as a module, choose M here: the
181 module will be called mtk-jpeg
182
3003a180
ACC
183config VIDEO_MEDIATEK_VPU
184 tristate "Mediatek Video Processor Unit"
69d4a521 185 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
3003a180
ACC
186 depends on ARCH_MEDIATEK || COMPILE_TEST
187 ---help---
188 This driver provides downloading VPU firmware and
189 communicating with VPU. This driver for hw video
190 codec embedded in Mediatek's MT8173 SOCs. It is able
191 to handle video decoding/encoding in a range of formats.
192
193 To compile this driver as a module, choose M here: the
194 module will be called mtk-vpu.
195
c8eb2d7e
MT
196config VIDEO_MEDIATEK_MDP
197 tristate "Mediatek MDP driver"
198 depends on MTK_IOMMU || COMPILE_TEST
199 depends on VIDEO_DEV && VIDEO_V4L2
200 depends on ARCH_MEDIATEK || COMPILE_TEST
201 depends on HAS_DMA
202 select VIDEOBUF2_DMA_CONTIG
203 select V4L2_MEM2MEM_DEV
204 select VIDEO_MEDIATEK_VPU
205 default n
206 ---help---
207 It is a v4l2 driver and present in Mediatek MT8173 SoCs.
208 The driver supports for scaling and color space conversion.
209
210 To compile this driver as a module, choose M here: the
211 module will be called mtk-mdp.
212
4e855a6e
TL
213config VIDEO_MEDIATEK_VCODEC
214 tristate "Mediatek Video Codec driver"
c1023ba7 215 depends on MTK_IOMMU || COMPILE_TEST
73b14977 216 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
4e855a6e
TL
217 depends on ARCH_MEDIATEK || COMPILE_TEST
218 select VIDEOBUF2_DMA_CONTIG
219 select V4L2_MEM2MEM_DEV
220 select VIDEO_MEDIATEK_VPU
221 default n
222 ---help---
223 Mediatek video codec driver provides HW capability to
224 encode and decode in a range of video formats
225 This driver rely on VPU driver to communicate with VPU.
226
227 To compile this driver as a module, choose M here: the
228 module will be called mtk-vcodec
229
8f0755c0
JM
230config VIDEO_MEM2MEM_DEINTERLACE
231 tristate "Deinterlace support"
232 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
12bd88e6 233 depends on HAS_DMA
8f0755c0
JM
234 select VIDEOBUF2_DMA_CONTIG
235 select V4L2_MEM2MEM_DEV
236 help
237 Generic deinterlacing V4L2 driver.
238
91884734
KD
239config VIDEO_SAMSUNG_S5P_G2D
240 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
7155043c 241 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 242 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 243 depends on HAS_DMA
91884734
KD
244 select VIDEOBUF2_DMA_CONTIG
245 select V4L2_MEM2MEM_DEV
246 default n
247 ---help---
248 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
249 2d graphics accelerator.
5fd8f738 250
bb677f3a 251config VIDEO_SAMSUNG_S5P_JPEG
3246fdaa 252 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
7155043c 253 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 254 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 255 depends on HAS_DMA
bb677f3a
AP
256 select VIDEOBUF2_DMA_CONTIG
257 select V4L2_MEM2MEM_DEV
258 ---help---
3246fdaa
JA
259 This is a v4l2 driver for Samsung S5P, EXYNOS3250
260 and EXYNOS4 JPEG codec
bb677f3a 261
af935746 262config VIDEO_SAMSUNG_S5P_MFC
f96f3cfa 263 tristate "Samsung S5P MFC Video Codec"
7155043c 264 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 265 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 266 depends on HAS_DMA
af935746
KD
267 select VIDEOBUF2_DMA_CONTIG
268 default n
269 help
f96f3cfa 270 MFC 5.1 and 6.x driver for V4L2
af935746 271
8091cb7d
JM
272config VIDEO_MX2_EMMAPRP
273 tristate "MX2 eMMa-PrP support"
1c17d8c7
MCC
274 depends on VIDEO_DEV && VIDEO_V4L2
275 depends on SOC_IMX27 || COMPILE_TEST
12bd88e6 276 depends on HAS_DMA
8091cb7d
JM
277 select VIDEOBUF2_DMA_CONTIG
278 select V4L2_MEM2MEM_DEV
279 help
280 MX2X chips have a PrP that can be used to process buffers from
281 memory to memory. Operations include resizing and format
282 conversion.
283
655ceff1
SAB
284config VIDEO_SAMSUNG_EXYNOS_GSC
285 tristate "Samsung Exynos G-Scaler driver"
7155043c 286 depends on VIDEO_DEV && VIDEO_V4L2
6f99e1b8 287 depends on ARCH_EXYNOS || COMPILE_TEST
12bd88e6 288 depends on HAS_DMA
655ceff1
SAB
289 select VIDEOBUF2_DMA_CONTIG
290 select V4L2_MEM2MEM_DEV
291 help
292 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
293
28ffeebb
FD
294config VIDEO_STI_BDISP
295 tristate "STMicroelectronics BDISP 2D blitter driver"
296 depends on VIDEO_DEV && VIDEO_V4L2
42052076 297 depends on HAS_DMA
28ffeebb 298 depends on ARCH_STI || COMPILE_TEST
28ffeebb
FD
299 select VIDEOBUF2_DMA_CONTIG
300 select V4L2_MEM2MEM_DEV
301 help
302 This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
303
57b2c062
JCT
304config VIDEO_STI_HVA
305 tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
306 depends on VIDEO_DEV && VIDEO_V4L2
307 depends on HAS_DMA
308 depends on ARCH_STI || COMPILE_TEST
309 select VIDEOBUF2_DMA_CONTIG
310 select V4L2_MEM2MEM_DEV
311 help
312 This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
313 video encoder of STMicroelectronics SoC, allowing hardware encoding of
314 raw uncompressed formats in various compressed video bitstreams format.
315
316 To compile this driver as a module, choose M here:
317 the module will be called st-hva.
318
c610b5a8
JCT
319config VIDEO_STI_HVA_DEBUGFS
320 bool "Export STMicroelectronics HVA internals in debugfs"
321 depends on VIDEO_STI_HVA
322 depends on DEBUG_FS
323 help
324 Select this to see information about the internal state and the last
325 operation of STMicroelectronics HVA multi-format video encoder in
326 debugfs.
327
328 Choose N unless you know you need this.
329
f386509e
HF
330config VIDEO_STI_DELTA
331 tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
332 depends on VIDEO_DEV && VIDEO_V4L2
333 depends on ARCH_STI || COMPILE_TEST
334 depends on HAS_DMA
335 help
336 This V4L2 driver enables DELTA multi-format video decoder
337 of STMicroelectronics STiH4xx SoC series allowing hardware
338 decoding of various compressed video bitstream format in
339 raw uncompressed format.
340
341 Use this option to see the decoders available for such
342 hardware.
343
344 Please notice that the driver will only be built if
345 at least one of the DELTA decoder below is selected.
346
347if VIDEO_STI_DELTA
348
433ff5b4
HF
349config VIDEO_STI_DELTA_MJPEG
350 bool "STMicroelectronics DELTA MJPEG support"
351 default y
352 help
353 Enables DELTA MJPEG hardware support.
354
355 To compile this driver as a module, choose M here:
356 the module will be called st-delta.
357
f386509e
HF
358config VIDEO_STI_DELTA_DRIVER
359 tristate
360 depends on VIDEO_STI_DELTA
433ff5b4
HF
361 depends on VIDEO_STI_DELTA_MJPEG
362 default VIDEO_STI_DELTA_MJPEG
f386509e
HF
363 select VIDEOBUF2_DMA_CONTIG
364 select V4L2_MEM2MEM_DEV
91c83f39 365 select RPMSG
f386509e
HF
366
367endif # VIDEO_STI_DELTA
368
05efa71b
GL
369config VIDEO_SH_VEU
370 tristate "SuperH VEU mem2mem video processing driver"
0244ad00 371 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
05efa71b
GL
372 select VIDEOBUF2_DMA_CONTIG
373 select V4L2_MEM2MEM_DEV
374 help
375 Support for the Video Engine Unit (VEU) on SuperH and
376 SH-Mobile SoCs.
377
4710b752
KB
378config VIDEO_RENESAS_FDP1
379 tristate "Renesas Fine Display Processor"
380 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
381 depends on ARCH_SHMOBILE || COMPILE_TEST
1d389714 382 depends on (!ARCH_RENESAS && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
4710b752
KB
383 select VIDEOBUF2_DMA_CONTIG
384 select V4L2_MEM2MEM_DEV
385 ---help---
386 This is a V4L2 driver for the Renesas Fine Display Processor
387 providing colour space conversion, and de-interlacing features.
388
389 To compile this driver as a module, choose M here: the module
390 will be called rcar_fdp1.
391
2c42cdba
MU
392config VIDEO_RENESAS_JPU
393 tristate "Renesas JPEG Processing Unit"
f8445646 394 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
71c5daba 395 depends on ARCH_RENESAS || COMPILE_TEST
2c42cdba
MU
396 select VIDEOBUF2_DMA_CONTIG
397 select V4L2_MEM2MEM_DEV
398 ---help---
399 This is a V4L2 driver for the Renesas JPEG Processing Unit.
400
401 To compile this driver as a module, choose M here: the module
402 will be called rcar_jpu.
403
7b49235e
LP
404config VIDEO_RENESAS_FCP
405 tristate "Renesas Frame Compression Processor"
406 depends on ARCH_RENESAS || COMPILE_TEST
407 depends on OF
408 ---help---
409 This is a driver for the Renesas Frame Compression Processor (FCP).
410 The FCP is a companion module of video processing modules in the
411 Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
412 VSP and FDP modules.
413
414 To compile this driver as a module, choose M here: the module
415 will be called rcar-fcp.
416
26e0ca22
LP
417config VIDEO_RENESAS_VSP1
418 tristate "Renesas VSP1 Video Processing Engine"
66bf8fa2 419 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
71c5daba 420 depends on (ARCH_RENESAS && OF) || COMPILE_TEST
19994673 421 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
26e0ca22
LP
422 select VIDEOBUF2_DMA_CONTIG
423 ---help---
424 This is a V4L2 driver for the Renesas VSP1 video processing engine.
425
426 To compile this driver as a module, choose M here: the module
427 will be called vsp1.
428
45719127
AT
429config VIDEO_TI_VPE
430 tristate "TI VPE (Video Processing Engine) driver"
f3334180
MCC
431 depends on VIDEO_DEV && VIDEO_V4L2
432 depends on SOC_DRA7XX || COMPILE_TEST
12bd88e6 433 depends on HAS_DMA
45719127
AT
434 select VIDEOBUF2_DMA_CONTIG
435 select V4L2_MEM2MEM_DEV
e4e9aeaf 436 select VIDEO_TI_VPDMA
1c6e8178 437 select VIDEO_TI_SC
51b56c39 438 select VIDEO_TI_CSC
45719127
AT
439 default n
440 ---help---
441 Support for the TI VPE(Video Processing Engine) block
442 found on DRA7XX SoC.
443
444config VIDEO_TI_VPE_DEBUG
445 bool "VPE debug messages"
446 depends on VIDEO_TI_VPE
447 ---help---
448 Enable debug messages on VPE driver.
449
96d8eab5 450endif # V4L_MEM2MEM_DRIVERS
cb7a01ac 451
e4e9aeaf
BP
452# TI VIDEO PORT Helper Modules
453# These will be selected by VPE and VIP
454config VIDEO_TI_VPDMA
455 tristate
456
1c6e8178
BP
457config VIDEO_TI_SC
458 tristate
459
51b56c39
BP
460config VIDEO_TI_CSC
461 tristate
462
7a46e188
MCC
463menuconfig V4L_TEST_DRIVERS
464 bool "Media test drivers"
465 depends on MEDIA_CAMERA_SUPPORT
466
467if V4L_TEST_DRIVERS
e75420dd
HV
468
469source "drivers/media/platform/vivid/Kconfig"
470
1f923a42
HV
471config VIDEO_VIM2M
472 tristate "Virtual Memory-to-Memory Driver"
7a46e188
MCC
473 depends on VIDEO_DEV && VIDEO_V4L2
474 select VIDEOBUF2_VMALLOC
475 select V4L2_MEM2MEM_DEV
476 default n
477 ---help---
478 This is a virtual test device for the memory-to-memory driver
479 framework.
480endif #V4L_TEST_DRIVERS
850a3f7d 481
ca051897
MCC
482menuconfig DVB_PLATFORM_DRIVERS
483 bool "DVB platform devices"
484 depends on MEDIA_DIGITAL_TV_SUPPORT
485 default n
486 ---help---
487 Say Y here to enable support for platform-specific Digital TV drivers.
488
489if DVB_PLATFORM_DRIVERS
850a3f7d 490source "drivers/media/platform/sti/c8sectpfe/Kconfig"
ca051897 491endif #DVB_PLATFORM_DRIVERS