Kconfig 16.2 KB
Newer Older
1 2
#
# Platform drivers
3
#	Most drivers here are currently for webcam support
4

5 6
menuconfig V4L_PLATFORM_DRIVERS
	bool "V4L platform devices"
7
	depends on MEDIA_CAMERA_SUPPORT
8 9 10 11 12 13
	default n
	---help---
	  Say Y here to enable support for platform-specific V4L drivers.

if V4L_PLATFORM_DRIVERS

14
source "drivers/media/platform/marvell-ccic/Kconfig"
15

16 17 18 19 20 21 22 23 24 25 26 27 28 29
config VIDEO_VIA_CAMERA
	tristate "VIAFB camera controller support"
	depends on FB_VIA
	select VIDEOBUF_DMA_SG
	select VIDEO_OV7670
	help
	   Driver support for the integrated camera controller in VIA
	   Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems
	   with ov7670 sensors.

#
# Platform multimedia device configuration
#

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 37
config VIDEO_SH_VOU
	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 43 44 45 46 47 48 49 50 51 52 53 54 55 56
	help
	  Support for the Video Output Unit (VOU) on SuperH SoCs.

config VIDEO_VIU
	tristate "Freescale VIU Video Driver"
	depends on VIDEO_V4L2 && PPC_MPC512x
	select VIDEOBUF_DMA_CONTIG
	default y
	---help---
	  Support for Freescale VIU video driver. This device captures
	  video data, or overlays video on DIU frame buffer.

	  Say Y here if you want to enable VIU device on MPC5121e Rev2+.
	  In doubt, say N.

57 58
config VIDEO_M32R_AR
	tristate "AR devices"
59 60
	depends on VIDEO_V4L2
	depends on M32R || COMPILE_TEST
61
	---help---
62 63
	  This is a video4linux driver for the Renesas AR (Artificial Retina)
	  camera module.
64

65 66 67 68
config VIDEO_M32R_AR_M64278
	tristate "AR device with color module M64278(VGA)"
	depends on PLAT_M32700UT
	select VIDEO_M32R_AR
69
	---help---
70 71 72
	  This is a video4linux driver for the Renesas AR (Artificial
	  Retina) with M64278E-800 camera module.
	  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
G
Gerd Hoffmann 已提交
81
	depends on OMAP_IOMMU
82
	select ARM_DMA_USE_IOMMU
83
	select VIDEOBUF2_DMA_CONTIG
84
	select MFD_SYSCON
85
	select V4L2_FWNODE
86 87 88 89 90 91 92 93 94
	---help---
	  Driver for an OMAP 3 camera controller.

config VIDEO_OMAP3_DEBUG
	bool "OMAP 3 Camera debug messages"
	depends on VIDEO_OMAP3
	---help---
	  Enable debug messages on OMAP 3 camera controller driver.

95 96
config VIDEO_PXA27x
	tristate "PXA27x Quick Capture Interface driver"
97
	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
98
	depends on PXA27x || COMPILE_TEST
99 100
	select VIDEOBUF2_DMA_SG
	select SG_SPLIT
101
	select V4L2_FWNODE
102 103 104
	---help---
	  This is a v4l2 driver for the PXA27x Quick Capture Interface

105 106 107
config VIDEO_S3C_CAMIF
	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
108
	depends on PM
109
	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
110
	depends on HAS_DMA
111 112 113 114 115 116 117 118
	select VIDEOBUF2_DMA_CONTIG
	---help---
	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
	  host interface (CAMIF).

	  To compile this driver as a module, choose M here: the module
	  will be called s3c-camif.

119 120 121 122 123
config VIDEO_STM32_DCMI
	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
	depends on VIDEO_V4L2 && OF && HAS_DMA
	depends on ARCH_STM32 || COMPILE_TEST
	select VIDEOBUF2_DMA_CONTIG
124
	select V4L2_FWNODE
125 126 127 128 129 130 131
	---help---
	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
	  available as a v4l2 device.

	  To compile this driver as a module, choose M here: the module
	  will be called stm32-dcmi.

132
source "drivers/media/platform/soc_camera/Kconfig"
133
source "drivers/media/platform/exynos4-is/Kconfig"
134
source "drivers/media/platform/am437x/Kconfig"
135
source "drivers/media/platform/xilinx/Kconfig"
136
source "drivers/media/platform/rcar-vin/Kconfig"
137
source "drivers/media/platform/atmel/Kconfig"
138

139 140 141 142
config VIDEO_TI_CAL
	tristate "TI CAL (Camera Adaptation Layer) driver"
	depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
	depends on SOC_DRA7XX || COMPILE_TEST
143
	depends on HAS_DMA
144
	select VIDEOBUF2_DMA_CONTIG
145
	select V4L2_FWNODE
146 147 148 149 150 151 152
	default n
	---help---
	  Support for the TI CAL (Camera Adaptation Layer) block
	  found on DRA72X SoC.
	  In TI Technical Reference Manual this module is referred as
	  Camera Interface Subsystem (CAMSS).

153
endif # V4L_PLATFORM_DRIVERS
154 155 156 157

menuconfig V4L_MEM2MEM_DRIVERS
	bool "Memory-to-memory multimedia devices"
	depends on VIDEO_V4L2
158
	depends on MEDIA_CAMERA_SUPPORT
159 160 161 162 163 164
	default n
	---help---
	  Say Y here to enable selecting drivers for V4L devices that
	  use system memory for both source and destination buffers, as opposed
	  to capture and output drivers, which use memory buffers for just
	  one of those.
165 166 167

if V4L_MEM2MEM_DRIVERS

168 169
config VIDEO_CODA
	tristate "Chips&Media Coda multi-standard codec IP"
170
	depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
171
	depends on HAS_DMA
172
	select SRAM
173
	select VIDEOBUF2_DMA_CONTIG
174
	select VIDEOBUF2_VMALLOC
175
	select V4L2_MEM2MEM_DEV
176
	select GENERIC_ALLOCATOR
177 178 179 180
	---help---
	   Coda is a range of video codec IPs that supports
	   H.264, MPEG-4, and other video formats.

181 182 183
config VIDEO_IMX_VDOA
	def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST

184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
config VIDEO_MEDIATEK_JPEG
	tristate "Mediatek JPEG Codec driver"
	depends on MTK_IOMMU_V1 || COMPILE_TEST
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on ARCH_MEDIATEK || COMPILE_TEST
	depends on HAS_DMA
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	---help---
	  Mediatek jpeg codec driver provides HW capability to decode
	  JPEG format

	  To compile this driver as a module, choose M here: the
	  module will be called mtk-jpeg

199 200
config VIDEO_MEDIATEK_VPU
	tristate "Mediatek Video Processor Unit"
201
	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
202 203 204 205 206 207 208 209 210 211
	depends on ARCH_MEDIATEK || COMPILE_TEST
	---help---
	    This driver provides downloading VPU firmware and
	    communicating with VPU. This driver for hw video
	    codec embedded in Mediatek's MT8173 SOCs. It is able
	    to handle video decoding/encoding in a range of formats.

	    To compile this driver as a module, choose M here: the
	    module will be called mtk-vpu.

212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
config VIDEO_MEDIATEK_MDP
	tristate "Mediatek MDP driver"
	depends on MTK_IOMMU || COMPILE_TEST
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on ARCH_MEDIATEK || COMPILE_TEST
	depends on HAS_DMA
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	select VIDEO_MEDIATEK_VPU
	default n
	---help---
	    It is a v4l2 driver and present in Mediatek MT8173 SoCs.
	    The driver supports for scaling and color space conversion.

	    To compile this driver as a module, choose M here: the
	    module will be called mtk-mdp.

229 230
config VIDEO_MEDIATEK_VCODEC
	tristate "Mediatek Video Codec driver"
231
	depends on MTK_IOMMU || COMPILE_TEST
232
	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
233 234 235 236 237 238 239 240 241 242 243 244 245
	depends on ARCH_MEDIATEK || COMPILE_TEST
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	select VIDEO_MEDIATEK_VPU
	default n
	---help---
	    Mediatek video codec driver provides HW capability to
	    encode and decode in a range of video formats
	    This driver rely on VPU driver to communicate with VPU.

	    To compile this driver as a module, choose M here: the
	    module will be called mtk-vcodec

246 247 248
config VIDEO_MEM2MEM_DEINTERLACE
	tristate "Deinterlace support"
	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
249
	depends on HAS_DMA
250 251 252 253 254
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	    Generic deinterlacing V4L2 driver.

255 256
config VIDEO_SAMSUNG_S5P_G2D
	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
257
	depends on VIDEO_DEV && VIDEO_V4L2
258
	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
259
	depends on HAS_DMA
260 261 262 263 264 265
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	default n
	---help---
	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
	  2d graphics accelerator.
266

267
config VIDEO_SAMSUNG_S5P_JPEG
268
	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
269
	depends on VIDEO_DEV && VIDEO_V4L2
270
	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
271
	depends on HAS_DMA
272 273 274
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	---help---
275 276
	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
	  and EXYNOS4 JPEG codec
277

278
config VIDEO_SAMSUNG_S5P_MFC
279
	tristate "Samsung S5P MFC Video Codec"
280
	depends on VIDEO_DEV && VIDEO_V4L2
281
	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
282
	depends on HAS_DMA
283 284 285
	select VIDEOBUF2_DMA_CONTIG
	default n
	help
286
	    MFC 5.1 and 6.x driver for V4L2
287

288 289
config VIDEO_MX2_EMMAPRP
	tristate "MX2 eMMa-PrP support"
290 291
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on SOC_IMX27 || COMPILE_TEST
292
	depends on HAS_DMA
293 294 295 296 297 298 299
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	    MX2X chips have a PrP that can be used to process buffers from
	    memory to memory. Operations include resizing and format
	    conversion.

300 301
config VIDEO_SAMSUNG_EXYNOS_GSC
	tristate "Samsung Exynos G-Scaler driver"
302
	depends on VIDEO_DEV && VIDEO_V4L2
303
	depends on ARCH_EXYNOS || COMPILE_TEST
304
	depends on HAS_DMA
305 306 307 308 309
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.

310 311 312
config VIDEO_STI_BDISP
	tristate "STMicroelectronics BDISP 2D blitter driver"
	depends on VIDEO_DEV && VIDEO_V4L2
313
	depends on HAS_DMA
314 315 316 317 318 319
	depends on ARCH_STI || COMPILE_TEST
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	  This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.

320 321 322 323 324 325 326 327 328 329 330 331 332 333 334
config VIDEO_STI_HVA
	tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on HAS_DMA
	depends on ARCH_STI || COMPILE_TEST
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	  This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
	  video encoder of STMicroelectronics SoC, allowing hardware encoding of
	  raw uncompressed formats in various compressed video bitstreams format.

	  To compile this driver as a module, choose M here:
	  the module will be called st-hva.

335 336 337 338 339 340 341 342 343 344 345
config VIDEO_STI_HVA_DEBUGFS
	bool "Export STMicroelectronics HVA internals in debugfs"
	depends on VIDEO_STI_HVA
	depends on DEBUG_FS
	help
	  Select this to see information about the internal state and the last
          operation of STMicroelectronics HVA multi-format video encoder in
          debugfs.

          Choose N unless you know you need this.

346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364
config VIDEO_STI_DELTA
	tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on ARCH_STI || COMPILE_TEST
	depends on HAS_DMA
	help
		This V4L2 driver enables DELTA multi-format video decoder
		of STMicroelectronics STiH4xx SoC series allowing hardware
		decoding of various compressed video bitstream format in
		raw uncompressed format.

		Use this option to see the decoders available for such
		hardware.

		Please notice that the driver will only be built if
		at least one of the DELTA decoder below is selected.

if VIDEO_STI_DELTA

365 366 367 368 369 370 371 372 373
config VIDEO_STI_DELTA_MJPEG
	bool "STMicroelectronics DELTA MJPEG support"
	default y
	help
		Enables DELTA MJPEG hardware support.

		To compile this driver as a module, choose M here:
		the module will be called st-delta.

374 375 376
config VIDEO_STI_DELTA_DRIVER
	tristate
	depends on VIDEO_STI_DELTA
377 378
	depends on VIDEO_STI_DELTA_MJPEG
	default VIDEO_STI_DELTA_MJPEG
379 380
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
381
	select RPMSG
382 383 384

endif # VIDEO_STI_DELTA

385 386
config VIDEO_SH_VEU
	tristate "SuperH VEU mem2mem video processing driver"
387
	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
388 389 390 391 392 393
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	    Support for the Video Engine Unit (VEU) on SuperH and
	    SH-Mobile SoCs.

394 395 396 397
config VIDEO_RENESAS_FDP1
	tristate "Renesas Fine Display Processor"
	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
	depends on ARCH_SHMOBILE || COMPILE_TEST
398
	depends on (!ARCH_RENESAS && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
399 400 401 402 403 404 405 406 407
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	---help---
	  This is a V4L2 driver for the Renesas Fine Display Processor
	  providing colour space conversion, and de-interlacing features.

	  To compile this driver as a module, choose M here: the module
	  will be called rcar_fdp1.

408 409
config VIDEO_RENESAS_JPU
	tristate "Renesas JPEG Processing Unit"
410
	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
411
	depends on ARCH_RENESAS || COMPILE_TEST
412 413 414 415 416 417 418 419
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	---help---
	  This is a V4L2 driver for the Renesas JPEG Processing Unit.

	  To compile this driver as a module, choose M here: the module
	  will be called rcar_jpu.

420 421 422 423 424 425 426 427 428 429 430 431 432
config VIDEO_RENESAS_FCP
	tristate "Renesas Frame Compression Processor"
	depends on ARCH_RENESAS || COMPILE_TEST
	depends on OF
	---help---
	  This is a driver for the Renesas Frame Compression Processor (FCP).
	  The FCP is a companion module of video processing modules in the
	  Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
	  VSP and FDP modules.

	  To compile this driver as a module, choose M here: the module
	  will be called rcar-fcp.

433 434
config VIDEO_RENESAS_VSP1
	tristate "Renesas VSP1 Video Processing Engine"
435
	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
436
	depends on (ARCH_RENESAS && OF) || COMPILE_TEST
437
	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
438
	select VIDEOBUF2_DMA_CONTIG
439
	select VIDEOBUF2_VMALLOC
440 441 442 443 444 445
	---help---
	  This is a V4L2 driver for the Renesas VSP1 video processing engine.

	  To compile this driver as a module, choose M here: the module
	  will be called vsp1.

446 447
config VIDEO_TI_VPE
	tristate "TI VPE (Video Processing Engine) driver"
448 449
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on SOC_DRA7XX || COMPILE_TEST
450
	depends on HAS_DMA
451 452
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
453
	select VIDEO_TI_VPDMA
454
	select VIDEO_TI_SC
455
	select VIDEO_TI_CSC
456 457 458 459 460 461 462 463 464 465 466
	default n
	---help---
	  Support for the TI VPE(Video Processing Engine) block
	  found on DRA7XX SoC.

config VIDEO_TI_VPE_DEBUG
	bool "VPE debug messages"
	depends on VIDEO_TI_VPE
	---help---
	  Enable debug messages on VPE driver.

467
endif # V4L_MEM2MEM_DRIVERS
468

469 470 471 472 473
# TI VIDEO PORT Helper Modules
# These will be selected by VPE and VIP
config VIDEO_TI_VPDMA
	tristate

474 475 476
config VIDEO_TI_SC
	tristate

477 478 479
config VIDEO_TI_CSC
	tristate

480 481 482 483 484
menuconfig V4L_TEST_DRIVERS
	bool "Media test drivers"
	depends on MEDIA_CAMERA_SUPPORT

if V4L_TEST_DRIVERS
485

486 487
source "drivers/media/platform/vimc/Kconfig"

488 489
source "drivers/media/platform/vivid/Kconfig"

490 491
config VIDEO_VIM2M
	tristate "Virtual Memory-to-Memory Driver"
492 493 494 495 496 497 498 499
	depends on VIDEO_DEV && VIDEO_V4L2
	select VIDEOBUF2_VMALLOC
	select V4L2_MEM2MEM_DEV
	default n
	---help---
	  This is a virtual test device for the memory-to-memory driver
	  framework.
endif #V4L_TEST_DRIVERS
500

501 502 503 504 505 506 507 508
menuconfig DVB_PLATFORM_DRIVERS
	bool "DVB platform devices"
	depends on MEDIA_DIGITAL_TV_SUPPORT
	default n
	---help---
	  Say Y here to enable support for platform-specific Digital TV drivers.

if DVB_PLATFORM_DRIVERS
509
source "drivers/media/platform/sti/c8sectpfe/Kconfig"
510
endif #DVB_PLATFORM_DRIVERS
H
Hans Verkuil 已提交
511 512 513 514 515 516 517 518 519

menuconfig CEC_PLATFORM_DRIVERS
	bool "CEC platform devices"
	depends on MEDIA_CEC_SUPPORT

if CEC_PLATFORM_DRIVERS

config VIDEO_SAMSUNG_S5P_CEC
       tristate "Samsung S5P CEC driver"
520 521
       depends on PLAT_S5P || ARCH_EXYNOS || COMPILE_TEST
       select CEC_CORE
522
       select CEC_NOTIFIER
H
Hans Verkuil 已提交
523 524 525 526 527 528 529 530
       ---help---
         This is a driver for Samsung S5P HDMI CEC interface. It uses the
         generic CEC framework interface.
         CEC bus is present in the HDMI connector and enables communication
         between compatible devices.

config VIDEO_STI_HDMI_CEC
       tristate "STMicroelectronics STiH4xx HDMI CEC driver"
531 532
       depends on ARCH_STI || COMPILE_TEST
       select CEC_CORE
533
       select CEC_NOTIFIER
H
Hans Verkuil 已提交
534 535 536 537 538 539
       ---help---
         This is a driver for STIH4xx HDMI CEC interface. It uses the
         generic CEC framework interface.
         CEC bus is present in the HDMI connector and enables communication
         between compatible devices.

540 541 542 543 544 545 546 547 548 549 550 551
config VIDEO_STM32_HDMI_CEC
       tristate "STMicroelectronics STM32 HDMI CEC driver"
       depends on ARCH_STM32 || COMPILE_TEST
       select REGMAP
       select REGMAP_MMIO
       select CEC_CORE
       ---help---
         This is a driver for STM32 interface. It uses the
         generic CEC framework interface.
         CEC bus is present in the HDMI connector and enables communication
         between compatible devices.

H
Hans Verkuil 已提交
552
endif #CEC_PLATFORM_DRIVERS