]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - drivers/media/platform/Kconfig
bcm2835: add v4l2 camera device
[mirror_ubuntu-zesty-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
a60ffffb
VS
14source "drivers/media/platform/bcm2835/Kconfig"
15
2c3fb08b 16source "drivers/media/platform/marvell-ccic/Kconfig"
f8fc7298 17
9fa0b852
HV
18config VIDEO_VIA_CAMERA
19 tristate "VIAFB camera controller support"
20 depends on FB_VIA
21 select VIDEOBUF_DMA_SG
22 select VIDEO_OV7670
23 help
24 Driver support for the integrated camera controller in VIA
25 Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems
26 with ov7670 sensors.
27
28#
29# Platform multimedia device configuration
30#
31
2c3fb08b 32source "drivers/media/platform/davinci/Kconfig"
9fa0b852 33
2c3fb08b 34source "drivers/media/platform/omap/Kconfig"
9fa0b852 35
2c3fb08b 36source "drivers/media/platform/blackfin/Kconfig"
63b1a90d 37
9fa0b852
HV
38config VIDEO_SH_VOU
39 tristate "SuperH VOU video output driver"
b6334460 40 depends on MEDIA_CAMERA_SUPPORT
111eeaa7 41 depends on VIDEO_DEV && I2C && HAS_DMA
215c65a0 42 depends on ARCH_SHMOBILE || COMPILE_TEST
3ff863b8 43 select VIDEOBUF2_DMA_CONTIG
9fa0b852
HV
44 help
45 Support for the Video Output Unit (VOU) on SuperH SoCs.
46
47config VIDEO_VIU
48 tristate "Freescale VIU Video Driver"
49 depends on VIDEO_V4L2 && PPC_MPC512x
50 select VIDEOBUF_DMA_CONTIG
51 default y
52 ---help---
53 Support for Freescale VIU video driver. This device captures
54 video data, or overlays video on DIU frame buffer.
55
56 Say Y here if you want to enable VIU device on MPC5121e Rev2+.
57 In doubt, say N.
58
1450e6be
MCC
59config VIDEO_M32R_AR
60 tristate "AR devices"
7155043c
MCC
61 depends on VIDEO_V4L2
62 depends on M32R || COMPILE_TEST
add953ce 63 ---help---
1450e6be
MCC
64 This is a video4linux driver for the Renesas AR (Artificial Retina)
65 camera module.
add953ce 66
1450e6be
MCC
67config VIDEO_M32R_AR_M64278
68 tristate "AR device with color module M64278(VGA)"
69 depends on PLAT_M32700UT
70 select VIDEO_M32R_AR
add953ce 71 ---help---
1450e6be
MCC
72 This is a video4linux driver for the Renesas AR (Artificial
73 Retina) with M64278E-800 camera module.
74 This module supports VGA(640x480 pixels) resolutions.
add953ce
HV
75
76 To compile this driver as a module, choose M here: the
1450e6be 77 module will be called arv.
f8962605 78
7e8970e1 79config VIDEO_OMAP3
e141a481 80 tristate "OMAP 3 Camera support"
2a0a5472 81 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
78c66fbc 82 depends on HAS_DMA && OF
06b718c0 83 depends on OMAP_IOMMU
2a0a5472 84 select ARM_DMA_USE_IOMMU
9aabd95a 85 select VIDEOBUF2_DMA_CONTIG
503596a1 86 select MFD_SYSCON
7e8970e1
LP
87 ---help---
88 Driver for an OMAP 3 camera controller.
89
90config VIDEO_OMAP3_DEBUG
91 bool "OMAP 3 Camera debug messages"
92 depends on VIDEO_OMAP3
93 ---help---
94 Enable debug messages on OMAP 3 camera controller driver.
95
4bb738f2
RJ
96config VIDEO_PXA27x
97 tristate "PXA27x Quick Capture Interface driver"
ff681022 98 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
5809ecdd 99 depends on PXA27x || COMPILE_TEST
4bb738f2
RJ
100 select VIDEOBUF2_DMA_SG
101 select SG_SPLIT
102 ---help---
103 This is a v4l2 driver for the PXA27x Quick Capture Interface
104
babde1c2
SN
105config VIDEO_S3C_CAMIF
106 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
107 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
1b3e3aa6 108 depends on PM
7155043c 109 depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
12bd88e6 110 depends on HAS_DMA
babde1c2
SN
111 select VIDEOBUF2_DMA_CONTIG
112 ---help---
113 This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
114 host interface (CAMIF).
115
116 To compile this driver as a module, choose M here: the module
117 will be called s3c-camif.
118
b47ff4a3 119source "drivers/media/platform/soc_camera/Kconfig"
56fa1a6a 120source "drivers/media/platform/exynos4-is/Kconfig"
417d2e50 121source "drivers/media/platform/am437x/Kconfig"
df330515 122source "drivers/media/platform/xilinx/Kconfig"
f00add96 123source "drivers/media/platform/rcar-vin/Kconfig"
10626744 124source "drivers/media/platform/atmel/Kconfig"
a52074ee 125
343e89a7
BP
126config VIDEO_TI_CAL
127 tristate "TI CAL (Camera Adaptation Layer) driver"
128 depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
129 depends on SOC_DRA7XX || COMPILE_TEST
83446227 130 depends on HAS_DMA
343e89a7
BP
131 select VIDEOBUF2_DMA_CONTIG
132 default n
133 ---help---
134 Support for the TI CAL (Camera Adaptation Layer) block
135 found on DRA72X SoC.
136 In TI Technical Reference Manual this module is referred as
137 Camera Interface Subsystem (CAMSS).
138
e9eb0dad 139endif # V4L_PLATFORM_DRIVERS
7f98639d
PO
140
141menuconfig V4L_MEM2MEM_DRIVERS
142 bool "Memory-to-memory multimedia devices"
143 depends on VIDEO_V4L2
b6334460 144 depends on MEDIA_CAMERA_SUPPORT
7f98639d
PO
145 default n
146 ---help---
147 Say Y here to enable selecting drivers for V4L devices that
148 use system memory for both source and destination buffers, as opposed
149 to capture and output drivers, which use memory buffers for just
150 one of those.
96d8eab5
PO
151
152if V4L_MEM2MEM_DRIVERS
153
186b250a
JM
154config VIDEO_CODA
155 tristate "Chips&Media Coda multi-standard codec IP"
1043667b 156 depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
12bd88e6 157 depends on HAS_DMA
e9436344 158 select SRAM
186b250a 159 select VIDEOBUF2_DMA_CONTIG
bb04aa6f 160 select VIDEOBUF2_VMALLOC
186b250a 161 select V4L2_MEM2MEM_DEV
39b06acc 162 select GENERIC_ALLOCATOR
186b250a
JM
163 ---help---
164 Coda is a range of video codec IPs that supports
165 H.264, MPEG-4, and other video formats.
166
3003a180
ACC
167config VIDEO_MEDIATEK_VPU
168 tristate "Mediatek Video Processor Unit"
69d4a521 169 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
3003a180
ACC
170 depends on ARCH_MEDIATEK || COMPILE_TEST
171 ---help---
172 This driver provides downloading VPU firmware and
173 communicating with VPU. This driver for hw video
174 codec embedded in Mediatek's MT8173 SOCs. It is able
175 to handle video decoding/encoding in a range of formats.
176
177 To compile this driver as a module, choose M here: the
178 module will be called mtk-vpu.
179
c8eb2d7e
MT
180config VIDEO_MEDIATEK_MDP
181 tristate "Mediatek MDP driver"
182 depends on MTK_IOMMU || COMPILE_TEST
183 depends on VIDEO_DEV && VIDEO_V4L2
184 depends on ARCH_MEDIATEK || COMPILE_TEST
185 depends on HAS_DMA
186 select VIDEOBUF2_DMA_CONTIG
187 select V4L2_MEM2MEM_DEV
188 select VIDEO_MEDIATEK_VPU
189 default n
190 ---help---
191 It is a v4l2 driver and present in Mediatek MT8173 SoCs.
192 The driver supports for scaling and color space conversion.
193
194 To compile this driver as a module, choose M here: the
195 module will be called mtk-mdp.
196
4e855a6e
TL
197config VIDEO_MEDIATEK_VCODEC
198 tristate "Mediatek Video Codec driver"
c1023ba7 199 depends on MTK_IOMMU || COMPILE_TEST
73b14977 200 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
4e855a6e
TL
201 depends on ARCH_MEDIATEK || COMPILE_TEST
202 select VIDEOBUF2_DMA_CONTIG
203 select V4L2_MEM2MEM_DEV
204 select VIDEO_MEDIATEK_VPU
205 default n
206 ---help---
207 Mediatek video codec driver provides HW capability to
208 encode and decode in a range of video formats
209 This driver rely on VPU driver to communicate with VPU.
210
211 To compile this driver as a module, choose M here: the
212 module will be called mtk-vcodec
213
8f0755c0
JM
214config VIDEO_MEM2MEM_DEINTERLACE
215 tristate "Deinterlace support"
216 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
12bd88e6 217 depends on HAS_DMA
8f0755c0
JM
218 select VIDEOBUF2_DMA_CONTIG
219 select V4L2_MEM2MEM_DEV
220 help
221 Generic deinterlacing V4L2 driver.
222
91884734
KD
223config VIDEO_SAMSUNG_S5P_G2D
224 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
7155043c 225 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 226 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 227 depends on HAS_DMA
91884734
KD
228 select VIDEOBUF2_DMA_CONTIG
229 select V4L2_MEM2MEM_DEV
230 default n
231 ---help---
232 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
233 2d graphics accelerator.
5fd8f738 234
bb677f3a 235config VIDEO_SAMSUNG_S5P_JPEG
3246fdaa 236 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
7155043c 237 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 238 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 239 depends on HAS_DMA
bb677f3a
AP
240 select VIDEOBUF2_DMA_CONTIG
241 select V4L2_MEM2MEM_DEV
242 ---help---
3246fdaa
JA
243 This is a v4l2 driver for Samsung S5P, EXYNOS3250
244 and EXYNOS4 JPEG codec
bb677f3a 245
af935746 246config VIDEO_SAMSUNG_S5P_MFC
f96f3cfa 247 tristate "Samsung S5P MFC Video Codec"
7155043c 248 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 249 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 250 depends on HAS_DMA
af935746
KD
251 select VIDEOBUF2_DMA_CONTIG
252 default n
253 help
f96f3cfa 254 MFC 5.1 and 6.x driver for V4L2
af935746 255
8091cb7d
JM
256config VIDEO_MX2_EMMAPRP
257 tristate "MX2 eMMa-PrP support"
1c17d8c7
MCC
258 depends on VIDEO_DEV && VIDEO_V4L2
259 depends on SOC_IMX27 || COMPILE_TEST
12bd88e6 260 depends on HAS_DMA
8091cb7d
JM
261 select VIDEOBUF2_DMA_CONTIG
262 select V4L2_MEM2MEM_DEV
263 help
264 MX2X chips have a PrP that can be used to process buffers from
265 memory to memory. Operations include resizing and format
266 conversion.
267
655ceff1
SAB
268config VIDEO_SAMSUNG_EXYNOS_GSC
269 tristate "Samsung Exynos G-Scaler driver"
7155043c 270 depends on VIDEO_DEV && VIDEO_V4L2
6f99e1b8 271 depends on ARCH_EXYNOS || COMPILE_TEST
12bd88e6 272 depends on HAS_DMA
655ceff1
SAB
273 select VIDEOBUF2_DMA_CONTIG
274 select V4L2_MEM2MEM_DEV
275 help
276 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
277
28ffeebb
FD
278config VIDEO_STI_BDISP
279 tristate "STMicroelectronics BDISP 2D blitter driver"
280 depends on VIDEO_DEV && VIDEO_V4L2
42052076 281 depends on HAS_DMA
28ffeebb 282 depends on ARCH_STI || COMPILE_TEST
28ffeebb
FD
283 select VIDEOBUF2_DMA_CONTIG
284 select V4L2_MEM2MEM_DEV
285 help
286 This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
287
57b2c062
JCT
288config VIDEO_STI_HVA
289 tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
290 depends on VIDEO_DEV && VIDEO_V4L2
291 depends on HAS_DMA
292 depends on ARCH_STI || COMPILE_TEST
293 select VIDEOBUF2_DMA_CONTIG
294 select V4L2_MEM2MEM_DEV
295 help
296 This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
297 video encoder of STMicroelectronics SoC, allowing hardware encoding of
298 raw uncompressed formats in various compressed video bitstreams format.
299
300 To compile this driver as a module, choose M here:
301 the module will be called st-hva.
302
05efa71b
GL
303config VIDEO_SH_VEU
304 tristate "SuperH VEU mem2mem video processing driver"
0244ad00 305 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
05efa71b
GL
306 select VIDEOBUF2_DMA_CONTIG
307 select V4L2_MEM2MEM_DEV
308 help
309 Support for the Video Engine Unit (VEU) on SuperH and
310 SH-Mobile SoCs.
311
4710b752
KB
312config VIDEO_RENESAS_FDP1
313 tristate "Renesas Fine Display Processor"
314 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
315 depends on ARCH_SHMOBILE || COMPILE_TEST
1d389714 316 depends on (!ARCH_RENESAS && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
4710b752
KB
317 select VIDEOBUF2_DMA_CONTIG
318 select V4L2_MEM2MEM_DEV
319 ---help---
320 This is a V4L2 driver for the Renesas Fine Display Processor
321 providing colour space conversion, and de-interlacing features.
322
323 To compile this driver as a module, choose M here: the module
324 will be called rcar_fdp1.
325
2c42cdba
MU
326config VIDEO_RENESAS_JPU
327 tristate "Renesas JPEG Processing Unit"
f8445646 328 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
71c5daba 329 depends on ARCH_RENESAS || COMPILE_TEST
2c42cdba
MU
330 select VIDEOBUF2_DMA_CONTIG
331 select V4L2_MEM2MEM_DEV
332 ---help---
333 This is a V4L2 driver for the Renesas JPEG Processing Unit.
334
335 To compile this driver as a module, choose M here: the module
336 will be called rcar_jpu.
337
7b49235e
LP
338config VIDEO_RENESAS_FCP
339 tristate "Renesas Frame Compression Processor"
340 depends on ARCH_RENESAS || COMPILE_TEST
341 depends on OF
342 ---help---
343 This is a driver for the Renesas Frame Compression Processor (FCP).
344 The FCP is a companion module of video processing modules in the
345 Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
346 VSP and FDP modules.
347
348 To compile this driver as a module, choose M here: the module
349 will be called rcar-fcp.
350
26e0ca22
LP
351config VIDEO_RENESAS_VSP1
352 tristate "Renesas VSP1 Video Processing Engine"
66bf8fa2 353 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
71c5daba 354 depends on (ARCH_RENESAS && OF) || COMPILE_TEST
19994673 355 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
26e0ca22
LP
356 select VIDEOBUF2_DMA_CONTIG
357 ---help---
358 This is a V4L2 driver for the Renesas VSP1 video processing engine.
359
360 To compile this driver as a module, choose M here: the module
361 will be called vsp1.
362
45719127
AT
363config VIDEO_TI_VPE
364 tristate "TI VPE (Video Processing Engine) driver"
f3334180
MCC
365 depends on VIDEO_DEV && VIDEO_V4L2
366 depends on SOC_DRA7XX || COMPILE_TEST
12bd88e6 367 depends on HAS_DMA
45719127
AT
368 select VIDEOBUF2_DMA_CONTIG
369 select V4L2_MEM2MEM_DEV
e4e9aeaf 370 select VIDEO_TI_VPDMA
1c6e8178 371 select VIDEO_TI_SC
51b56c39 372 select VIDEO_TI_CSC
45719127
AT
373 default n
374 ---help---
375 Support for the TI VPE(Video Processing Engine) block
376 found on DRA7XX SoC.
377
378config VIDEO_TI_VPE_DEBUG
379 bool "VPE debug messages"
380 depends on VIDEO_TI_VPE
381 ---help---
382 Enable debug messages on VPE driver.
383
96d8eab5 384endif # V4L_MEM2MEM_DRIVERS
cb7a01ac 385
e4e9aeaf
BP
386# TI VIDEO PORT Helper Modules
387# These will be selected by VPE and VIP
388config VIDEO_TI_VPDMA
389 tristate
390
1c6e8178
BP
391config VIDEO_TI_SC
392 tristate
393
51b56c39
BP
394config VIDEO_TI_CSC
395 tristate
396
7a46e188
MCC
397menuconfig V4L_TEST_DRIVERS
398 bool "Media test drivers"
399 depends on MEDIA_CAMERA_SUPPORT
400
401if V4L_TEST_DRIVERS
e75420dd
HV
402
403source "drivers/media/platform/vivid/Kconfig"
404
1f923a42
HV
405config VIDEO_VIM2M
406 tristate "Virtual Memory-to-Memory Driver"
7a46e188
MCC
407 depends on VIDEO_DEV && VIDEO_V4L2
408 select VIDEOBUF2_VMALLOC
409 select V4L2_MEM2MEM_DEV
410 default n
411 ---help---
412 This is a virtual test device for the memory-to-memory driver
413 framework.
414endif #V4L_TEST_DRIVERS
850a3f7d 415
ca051897
MCC
416menuconfig DVB_PLATFORM_DRIVERS
417 bool "DVB platform devices"
418 depends on MEDIA_DIGITAL_TV_SUPPORT
419 default n
420 ---help---
421 Say Y here to enable support for platform-specific Digital TV drivers.
422
423if DVB_PLATFORM_DRIVERS
850a3f7d 424source "drivers/media/platform/sti/c8sectpfe/Kconfig"
ca051897 425endif #DVB_PLATFORM_DRIVERS