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

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 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
	select VIDEOBUF_DMA_CONTIG
	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.

config VIDEO_TIMBERDALE
	tristate "Support for timberdale Video In/LogiWIN"
59
	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && HAS_DMA
60
	depends on (MFD_TIMBERDALE && TIMB_DMA) || COMPILE_TEST
61 62 63 64 65
	select VIDEO_ADV7180
	select VIDEOBUF_DMA_CONTIG
	---help---
	  Add support for the Video In peripherial of the timberdale FPGA.

66 67
config VIDEO_M32R_AR
	tristate "AR devices"
68 69
	depends on VIDEO_V4L2
	depends on M32R || COMPILE_TEST
70
	---help---
71 72
	  This is a video4linux driver for the Renesas AR (Artificial Retina)
	  camera module.
73

74 75 76 77
config VIDEO_M32R_AR_M64278
	tristate "AR device with color module M64278(VGA)"
	depends on PLAT_M32700UT
	select VIDEO_M32R_AR
78
	---help---
79 80 81
	  This is a video4linux driver for the Renesas AR (Artificial
	  Retina) with M64278E-800 camera module.
	  This module supports VGA(640x480 pixels) resolutions.
82 83

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

86
config VIDEO_OMAP3
87
	tristate "OMAP 3 Camera support"
88
	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
89
	depends on HAS_DMA
G
Gerd Hoffmann 已提交
90
	depends on OMAP_IOMMU
91
	select ARM_DMA_USE_IOMMU
92
	select VIDEOBUF2_DMA_CONTIG
93
	select MFD_SYSCON
94 95 96 97 98 99 100 101 102
	---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.

103 104 105
config VIDEO_S3C_CAMIF
	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
	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 110 111 112 113 114 115 116
	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.

117
source "drivers/media/platform/soc_camera/Kconfig"
118
source "drivers/media/platform/exynos4-is/Kconfig"
119
source "drivers/media/platform/s5p-tv/Kconfig"
120
source "drivers/media/platform/am437x/Kconfig"
121
source "drivers/media/platform/xilinx/Kconfig"
122

123
endif # V4L_PLATFORM_DRIVERS
124 125 126 127

menuconfig V4L_MEM2MEM_DRIVERS
	bool "Memory-to-memory multimedia devices"
	depends on VIDEO_V4L2
128
	depends on MEDIA_CAMERA_SUPPORT
129 130 131 132 133 134
	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.
135 136 137

if V4L_MEM2MEM_DRIVERS

138 139
config VIDEO_CODA
	tristate "Chips&Media Coda multi-standard codec IP"
140
	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
141
	depends on HAS_DMA
142
	select SRAM
143
	select VIDEOBUF2_DMA_CONTIG
144
	select VIDEOBUF2_VMALLOC
145
	select V4L2_MEM2MEM_DEV
146
	select GENERIC_ALLOCATOR
147 148 149 150
	---help---
	   Coda is a range of video codec IPs that supports
	   H.264, MPEG-4, and other video formats.

151 152 153
config VIDEO_MEM2MEM_DEINTERLACE
	tristate "Deinterlace support"
	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
154
	depends on HAS_DMA
155 156 157 158 159
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	    Generic deinterlacing V4L2 driver.

160 161
config VIDEO_SAMSUNG_S5P_G2D
	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
162
	depends on VIDEO_DEV && VIDEO_V4L2
163
	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
164
	depends on HAS_DMA
165 166 167 168 169 170
	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.
171

172
config VIDEO_SAMSUNG_S5P_JPEG
173
	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
174
	depends on VIDEO_DEV && VIDEO_V4L2
175
	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
176
	depends on HAS_DMA
177 178 179
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	---help---
180 181
	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
	  and EXYNOS4 JPEG codec
182

183
config VIDEO_SAMSUNG_S5P_MFC
184
	tristate "Samsung S5P MFC Video Codec"
185
	depends on VIDEO_DEV && VIDEO_V4L2
186
	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
187
	depends on HAS_DMA
188 189 190
	select VIDEOBUF2_DMA_CONTIG
	default n
	help
191
	    MFC 5.1 and 6.x driver for V4L2
192

193 194
config VIDEO_MX2_EMMAPRP
	tristate "MX2 eMMa-PrP support"
195 196
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on SOC_IMX27 || COMPILE_TEST
197
	depends on HAS_DMA
198 199 200 201 202 203 204
	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.

205 206
config VIDEO_SAMSUNG_EXYNOS_GSC
	tristate "Samsung Exynos G-Scaler driver"
207 208
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on ARCH_EXYNOS5 || COMPILE_TEST
209
	depends on HAS_DMA
210 211 212 213 214
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.

215 216 217 218
config VIDEO_STI_BDISP
	tristate "STMicroelectronics BDISP 2D blitter driver"
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on ARCH_STI || COMPILE_TEST
219
	depends on HAVE_DMA_ATTRS
220 221 222 223 224
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	  This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.

225 226
config VIDEO_SH_VEU
	tristate "SuperH VEU mem2mem video processing driver"
227
	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
228 229 230 231 232 233
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	help
	    Support for the Video Engine Unit (VEU) on SuperH and
	    SH-Mobile SoCs.

234 235 236 237 238 239 240 241 242 243 244 245
config VIDEO_RENESAS_JPU
	tristate "Renesas JPEG Processing Unit"
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on ARCH_SHMOBILE || COMPILE_TEST
	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.

246 247
config VIDEO_RENESAS_VSP1
	tristate "Renesas VSP1 Video Processing Engine"
248
	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
249
	depends on (ARCH_SHMOBILE && OF) || COMPILE_TEST
250 251 252 253 254 255 256
	select VIDEOBUF2_DMA_CONTIG
	---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.

257 258
config VIDEO_TI_VPE
	tristate "TI VPE (Video Processing Engine) driver"
259 260
	depends on VIDEO_DEV && VIDEO_V4L2
	depends on SOC_DRA7XX || COMPILE_TEST
261
	depends on HAS_DMA
262 263 264 265 266 267 268 269 270 271 272 273 274
	select VIDEOBUF2_DMA_CONTIG
	select V4L2_MEM2MEM_DEV
	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.

275
endif # V4L_MEM2MEM_DRIVERS
276

277 278 279 280 281
menuconfig V4L_TEST_DRIVERS
	bool "Media test drivers"
	depends on MEDIA_CAMERA_SUPPORT

if V4L_TEST_DRIVERS
282 283 284

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

285 286
config VIDEO_VIM2M
	tristate "Virtual Memory-to-Memory Driver"
287 288 289 290 291 292 293 294
	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