1 # SPDX-License-Identifier: GPL-2.0-only
4 # Most drivers here are currently for webcam support
6 menuconfig V4L_PLATFORM_DRIVERS
7 bool "V4L platform devices"
9 Say Y here to enable support for platform-specific V4L drivers.
11 if V4L_PLATFORM_DRIVERS
13 source "drivers/media/platform/marvell-ccic/Kconfig"
15 config VIDEO_VIA_CAMERA
16 tristate "VIAFB camera controller support"
17 depends on FB_VIA && VIDEO_V4L2
18 select VIDEOBUF2_DMA_SG
21 Driver support for the integrated camera controller in VIA
22 Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems
26 # Platform multimedia device configuration
28 source "drivers/media/platform/cadence/Kconfig"
30 source "drivers/media/platform/davinci/Kconfig"
32 source "drivers/media/platform/omap/Kconfig"
35 tristate "Aspeed AST2400 and AST2500 Video Engine driver"
37 select VIDEOBUF2_DMA_CONTIG
39 Support for the Aspeed Video Engine (VE) embedded in the Aspeed
40 AST2400 and AST2500 SOCs. The VE can capture and compress video data
41 from digital or analog sources.
44 tristate "SuperH VOU video output driver"
45 depends on VIDEO_DEV && I2C
46 depends on ARCH_SHMOBILE || COMPILE_TEST
47 select VIDEOBUF2_DMA_CONTIG
49 Support for the Video Output Unit (VOU) on SuperH SoCs.
52 tristate "Freescale VIU Video Driver"
53 depends on VIDEO_V4L2 && (PPC_MPC512x || COMPILE_TEST) && I2C
54 select VIDEOBUF_DMA_CONTIG
57 Support for Freescale VIU video driver. This device captures
58 video data, or overlays video on DIU frame buffer.
60 Say Y here if you want to enable VIU device on MPC5121e Rev2+.
64 tristate "Video Multiplexer"
66 depends on VIDEO_V4L2 && OF
67 select MEDIA_CONTROLLER
68 select VIDEO_V4L2_SUBDEV_API
72 This driver provides support for N:1 video bus multiplexers.
75 tristate "OMAP 3 Camera support"
76 depends on VIDEO_V4L2 && I2C
77 depends on (ARCH_OMAP3 && OMAP_IOMMU) || COMPILE_TEST
78 depends on COMMON_CLK && OF
79 select ARM_DMA_USE_IOMMU if OMAP_IOMMU
80 select MEDIA_CONTROLLER
81 select VIDEO_V4L2_SUBDEV_API
82 select VIDEOBUF2_DMA_CONTIG
86 Driver for an OMAP 3 camera controller.
88 config VIDEO_OMAP3_DEBUG
89 bool "OMAP 3 Camera debug messages"
90 depends on VIDEO_OMAP3
92 Enable debug messages on OMAP 3 camera controller driver.
95 tristate "PXA27x Quick Capture Interface driver"
96 depends on VIDEO_DEV && VIDEO_V4L2
97 depends on PXA27x || COMPILE_TEST
98 select VIDEOBUF2_DMA_SG
102 This is a v4l2 driver for the PXA27x Quick Capture Interface
104 config VIDEO_QCOM_CAMSS
105 tristate "Qualcomm V4L2 Camera Subsystem driver"
106 depends on VIDEO_V4L2
107 depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
108 select MEDIA_CONTROLLER
109 select VIDEO_V4L2_SUBDEV_API
110 select VIDEOBUF2_DMA_SG
113 config VIDEO_S3C_CAMIF
114 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
115 depends on VIDEO_V4L2 && I2C && PM
116 depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
117 select MEDIA_CONTROLLER
118 select VIDEO_V4L2_SUBDEV_API
119 select VIDEOBUF2_DMA_CONTIG
121 This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
122 host interface (CAMIF).
124 To compile this driver as a module, choose M here: the module
125 will be called s3c-camif.
127 config VIDEO_STM32_DCMI
128 tristate "STM32 Digital Camera Memory Interface (DCMI) support"
129 depends on VIDEO_V4L2 && OF
130 depends on ARCH_STM32 || COMPILE_TEST
131 select VIDEOBUF2_DMA_CONTIG
132 select MEDIA_CONTROLLER
135 This module makes the STM32 Digital Camera Memory Interface (DCMI)
136 available as a v4l2 device.
138 To compile this driver as a module, choose M here: the module
139 will be called stm32-dcmi.
141 config VIDEO_RENESAS_CEU
142 tristate "Renesas Capture Engine Unit (CEU) driver"
143 depends on VIDEO_DEV && VIDEO_V4L2
144 depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
145 select VIDEOBUF2_DMA_CONTIG
148 This is a v4l2 driver for the Renesas CEU Interface
150 source "drivers/media/platform/exynos4-is/Kconfig"
151 source "drivers/media/platform/am437x/Kconfig"
152 source "drivers/media/platform/xilinx/Kconfig"
153 source "drivers/media/platform/rcar-vin/Kconfig"
154 source "drivers/media/platform/atmel/Kconfig"
155 source "drivers/media/platform/sunxi/Kconfig"
158 tristate "TI CAL (Camera Adaptation Layer) driver"
159 depends on VIDEO_DEV && VIDEO_V4L2
160 select MEDIA_CONTROLLER
161 select VIDEO_V4L2_SUBDEV_API
162 depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
163 select VIDEOBUF2_DMA_CONTIG
166 Support for the TI CAL (Camera Adaptation Layer) block
168 In TI Technical Reference Manual this module is referred as
169 Camera Interface Subsystem (CAMSS).
171 endif # V4L_PLATFORM_DRIVERS
173 menuconfig V4L_MEM2MEM_DRIVERS
174 bool "Memory-to-memory multimedia devices"
175 depends on VIDEO_V4L2
177 Say Y here to enable selecting drivers for V4L devices that
178 use system memory for both source and destination buffers, as opposed
179 to capture and output drivers, which use memory buffers for just
182 if V4L_MEM2MEM_DRIVERS
185 tristate "Chips&Media Coda multi-standard codec IP"
186 depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
188 select VIDEOBUF2_DMA_CONTIG
189 select VIDEOBUF2_VMALLOC
190 select V4L2_JPEG_HELPER
191 select V4L2_MEM2MEM_DEV
192 select GENERIC_ALLOCATOR
194 Coda is a range of video codec IPs that supports
195 H.264, MPEG-4, and other video formats.
197 config VIDEO_IMX_VDOA
198 def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
201 tristate "i.MX Pixel Pipeline (PXP)"
202 depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
203 select VIDEOBUF2_DMA_CONTIG
204 select V4L2_MEM2MEM_DEV
206 The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
207 color space conversion, and rotation.
209 config VIDEO_MEDIATEK_JPEG
210 tristate "Mediatek JPEG Codec driver"
211 depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST
212 depends on VIDEO_DEV && VIDEO_V4L2
213 depends on ARCH_MEDIATEK || COMPILE_TEST
214 select VIDEOBUF2_DMA_CONTIG
215 select V4L2_MEM2MEM_DEV
217 Mediatek jpeg codec driver provides HW capability to decode
220 To compile this driver as a module, choose M here: the
221 module will be called mtk-jpeg
223 config VIDEO_MEDIATEK_VPU
224 tristate "Mediatek Video Processor Unit"
225 depends on VIDEO_DEV && VIDEO_V4L2
226 depends on ARCH_MEDIATEK || COMPILE_TEST
228 This driver provides downloading VPU firmware and
229 communicating with VPU. This driver for hw video
230 codec embedded in Mediatek's MT8173 SOCs. It is able
231 to handle video decoding/encoding in a range of formats.
233 To compile this driver as a module, choose M here: the
234 module will be called mtk-vpu.
236 config VIDEO_MEDIATEK_MDP
237 tristate "Mediatek MDP driver"
238 depends on MTK_IOMMU || COMPILE_TEST
239 depends on VIDEO_DEV && VIDEO_V4L2
240 depends on ARCH_MEDIATEK || COMPILE_TEST
241 select VIDEOBUF2_DMA_CONTIG
242 select V4L2_MEM2MEM_DEV
243 select VIDEO_MEDIATEK_VPU
245 It is a v4l2 driver and present in Mediatek MT8173 SoCs.
246 The driver supports for scaling and color space conversion.
248 To compile this driver as a module, choose M here: the
249 module will be called mtk-mdp.
251 config VIDEO_MEDIATEK_VCODEC
252 tristate "Mediatek Video Codec driver"
253 depends on MTK_IOMMU || COMPILE_TEST
254 depends on VIDEO_DEV && VIDEO_V4L2
255 depends on ARCH_MEDIATEK || COMPILE_TEST
256 select VIDEOBUF2_DMA_CONTIG
257 select V4L2_MEM2MEM_DEV
258 select VIDEO_MEDIATEK_VPU
261 Mediatek video codec driver provides HW capability to
262 encode and decode in a range of video formats
263 This driver rely on VPU driver to communicate with VPU.
265 To compile this driver as modules, choose M here: the
266 modules will be called mtk-vcodec-dec and mtk-vcodec-enc.
268 config VIDEO_MEM2MEM_DEINTERLACE
269 tristate "Deinterlace support"
270 depends on VIDEO_DEV && VIDEO_V4L2
272 select VIDEOBUF2_DMA_CONTIG
273 select V4L2_MEM2MEM_DEV
275 Generic deinterlacing V4L2 driver.
277 config VIDEO_SAMSUNG_S5P_G2D
278 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
279 depends on VIDEO_DEV && VIDEO_V4L2
280 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
281 select VIDEOBUF2_DMA_CONTIG
282 select V4L2_MEM2MEM_DEV
284 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
285 2d graphics accelerator.
287 config VIDEO_SAMSUNG_S5P_JPEG
288 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
289 depends on VIDEO_DEV && VIDEO_V4L2
290 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
291 select VIDEOBUF2_DMA_CONTIG
292 select V4L2_MEM2MEM_DEV
294 This is a v4l2 driver for Samsung S5P, EXYNOS3250
295 and EXYNOS4 JPEG codec
297 config VIDEO_SAMSUNG_S5P_MFC
298 tristate "Samsung S5P MFC Video Codec"
299 depends on VIDEO_DEV && VIDEO_V4L2
300 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
301 select VIDEOBUF2_DMA_CONTIG
303 MFC 5.1 and 6.x driver for V4L2
305 config VIDEO_MX2_EMMAPRP
306 tristate "MX2 eMMa-PrP support"
307 depends on VIDEO_DEV && VIDEO_V4L2
308 depends on SOC_IMX27 || COMPILE_TEST
309 select VIDEOBUF2_DMA_CONTIG
310 select V4L2_MEM2MEM_DEV
312 MX2X chips have a PrP that can be used to process buffers from
313 memory to memory. Operations include resizing and format
316 config VIDEO_SAMSUNG_EXYNOS_GSC
317 tristate "Samsung Exynos G-Scaler driver"
318 depends on VIDEO_DEV && VIDEO_V4L2
319 depends on ARCH_EXYNOS || COMPILE_TEST
320 select VIDEOBUF2_DMA_CONTIG
321 select V4L2_MEM2MEM_DEV
323 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
325 config VIDEO_STI_BDISP
326 tristate "STMicroelectronics BDISP 2D blitter driver"
327 depends on VIDEO_DEV && VIDEO_V4L2
328 depends on ARCH_STI || COMPILE_TEST
329 select VIDEOBUF2_DMA_CONTIG
330 select V4L2_MEM2MEM_DEV
332 This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
335 tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
336 depends on VIDEO_DEV && VIDEO_V4L2
337 depends on ARCH_STI || COMPILE_TEST
338 select VIDEOBUF2_DMA_CONTIG
339 select V4L2_MEM2MEM_DEV
341 This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
342 video encoder of STMicroelectronics SoC, allowing hardware encoding of
343 raw uncompressed formats in various compressed video bitstreams format.
345 To compile this driver as a module, choose M here:
346 the module will be called st-hva.
348 config VIDEO_STI_HVA_DEBUGFS
349 bool "Export STMicroelectronics HVA internals in debugfs"
350 depends on VIDEO_STI_HVA
353 Select this to see information about the internal state and the last
354 operation of STMicroelectronics HVA multi-format video encoder in
357 Choose N unless you know you need this.
359 config VIDEO_STI_DELTA
360 tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
361 depends on VIDEO_DEV && VIDEO_V4L2
362 depends on ARCH_STI || COMPILE_TEST
364 This V4L2 driver enables DELTA multi-format video decoder
365 of STMicroelectronics STiH4xx SoC series allowing hardware
366 decoding of various compressed video bitstream format in
367 raw uncompressed format.
369 Use this option to see the decoders available for such
372 Please notice that the driver will only be built if
373 at least one of the DELTA decoder below is selected.
377 config VIDEO_STI_DELTA_MJPEG
378 bool "STMicroelectronics DELTA MJPEG support"
381 Enables DELTA MJPEG hardware support.
383 To compile this driver as a module, choose M here:
384 the module will be called st-delta.
386 config VIDEO_STI_DELTA_DRIVER
388 depends on VIDEO_STI_DELTA
389 depends on VIDEO_STI_DELTA_MJPEG
390 default VIDEO_STI_DELTA_MJPEG
391 select VIDEOBUF2_DMA_CONTIG
392 select V4L2_MEM2MEM_DEV
395 endif # VIDEO_STI_DELTA
397 config VIDEO_RENESAS_FDP1
398 tristate "Renesas Fine Display Processor"
399 depends on VIDEO_DEV && VIDEO_V4L2
400 depends on ARCH_RENESAS || COMPILE_TEST
401 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
402 select VIDEOBUF2_DMA_CONTIG
403 select V4L2_MEM2MEM_DEV
405 This is a V4L2 driver for the Renesas Fine Display Processor
406 providing colour space conversion, and de-interlacing features.
408 To compile this driver as a module, choose M here: the module
409 will be called rcar_fdp1.
411 config VIDEO_RENESAS_JPU
412 tristate "Renesas JPEG Processing Unit"
413 depends on VIDEO_DEV && VIDEO_V4L2
414 depends on ARCH_RENESAS || COMPILE_TEST
415 select VIDEOBUF2_DMA_CONTIG
416 select V4L2_MEM2MEM_DEV
418 This is a V4L2 driver for the Renesas JPEG Processing Unit.
420 To compile this driver as a module, choose M here: the module
421 will be called rcar_jpu.
423 config VIDEO_RENESAS_FCP
424 tristate "Renesas Frame Compression Processor"
425 depends on ARCH_RENESAS || COMPILE_TEST
428 This is a driver for the Renesas Frame Compression Processor (FCP).
429 The FCP is a companion module of video processing modules in the
430 Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
431 the codec, VSP and FDP modules.
433 To compile this driver as a module, choose M here: the module
434 will be called rcar-fcp.
436 config VIDEO_RENESAS_VSP1
437 tristate "Renesas VSP1 Video Processing Engine"
438 depends on VIDEO_V4L2
439 depends on ARCH_RENESAS || COMPILE_TEST
440 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
441 select MEDIA_CONTROLLER
442 select VIDEO_V4L2_SUBDEV_API
443 select VIDEOBUF2_DMA_CONTIG
444 select VIDEOBUF2_VMALLOC
446 This is a V4L2 driver for the Renesas VSP1 video processing engine.
448 To compile this driver as a module, choose M here: the module
451 config VIDEO_ROCKCHIP_RGA
452 tristate "Rockchip Raster 2d Graphic Acceleration Unit"
453 depends on VIDEO_DEV && VIDEO_V4L2
454 depends on ARCH_ROCKCHIP || COMPILE_TEST
455 select VIDEOBUF2_DMA_SG
456 select V4L2_MEM2MEM_DEV
458 This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
459 Rockchip RGA is a separate 2D raster graphic acceleration unit.
460 It accelerates 2D graphics operations, such as point/line drawing,
461 image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
463 To compile this driver as a module choose m here.
466 tristate "TI VPE (Video Processing Engine) driver"
467 depends on VIDEO_DEV && VIDEO_V4L2
468 depends on SOC_DRA7XX || COMPILE_TEST
469 select VIDEOBUF2_DMA_CONTIG
470 select V4L2_MEM2MEM_DEV
471 select VIDEO_TI_VPDMA
475 Support for the TI VPE(Video Processing Engine) block
478 config VIDEO_TI_VPE_DEBUG
479 bool "VPE debug messages"
480 depends on VIDEO_TI_VPE
482 Enable debug messages on VPE driver.
484 config VIDEO_QCOM_VENUS
485 tristate "Qualcomm Venus V4L2 encoder/decoder driver"
486 depends on VIDEO_DEV && VIDEO_V4L2
487 depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
488 depends on INTERCONNECT || !INTERCONNECT
489 select QCOM_MDT_LOADER if ARCH_QCOM
490 select QCOM_SCM if ARCH_QCOM
491 select VIDEOBUF2_DMA_SG
492 select V4L2_MEM2MEM_DEV
494 This is a V4L2 driver for Qualcomm Venus video accelerator
495 hardware. It accelerates encoding and decoding operations
496 on various Qualcomm SoCs.
497 To compile this driver as a module choose m here.
499 config VIDEO_SUN8I_DEINTERLACE
500 tristate "Allwinner Deinterlace driver"
501 depends on VIDEO_DEV && VIDEO_V4L2
502 depends on ARCH_SUNXI || COMPILE_TEST
503 depends on COMMON_CLK && OF
505 select VIDEOBUF2_DMA_CONTIG
506 select V4L2_MEM2MEM_DEV
508 Support for the Allwinner deinterlace unit with scaling
509 capability found on some SoCs, like H3.
510 To compile this driver as a module choose m here.
512 config VIDEO_SUN8I_ROTATE
513 tristate "Allwinner DE2 rotation driver"
514 depends on VIDEO_DEV && VIDEO_V4L2
515 depends on ARCH_SUNXI || COMPILE_TEST
516 depends on COMMON_CLK && OF
518 select VIDEOBUF2_DMA_CONTIG
519 select V4L2_MEM2MEM_DEV
521 Support for the Allwinner DE2 rotation unit.
522 To compile this driver as a module choose m here.
524 endif # V4L_MEM2MEM_DRIVERS
526 # TI VIDEO PORT Helper Modules
527 # These will be selected by VPE and VIP
528 config VIDEO_TI_VPDMA
537 menuconfig DVB_PLATFORM_DRIVERS
538 bool "DVB platform devices"
539 depends on MEDIA_DIGITAL_TV_SUPPORT
541 Say Y here to enable support for platform-specific Digital TV drivers.
543 if DVB_PLATFORM_DRIVERS
544 source "drivers/media/platform/sti/c8sectpfe/Kconfig"
545 endif #DVB_PLATFORM_DRIVERS
547 menuconfig SDR_PLATFORM_DRIVERS
548 bool "SDR platform devices"
549 depends on MEDIA_SDR_SUPPORT
551 Say Y here to enable support for platform-specific SDR Drivers.
553 if SDR_PLATFORM_DRIVERS
555 config VIDEO_RCAR_DRIF
556 tristate "Renesas Digital Radio Interface (DRIF)"
557 depends on VIDEO_V4L2
558 depends on ARCH_RENESAS || COMPILE_TEST
559 select VIDEOBUF2_VMALLOC
561 Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
562 Radio Interface that interfaces with an RF front end chip. It is a
563 receiver of digital data which uses DMA to transfer received data to
564 a configured location for an application to use.
566 To compile this driver as a module, choose M here; the module
567 will be called rcar_drif.
569 endif # SDR_PLATFORM_DRIVERS