blob: 6d0a0df6d818199d451b8bc89a3a7284c532af86 [file] [log] [blame]
Hans Verkuil044ab152011-09-30 05:05:35 -03001#
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -03002# Platform drivers
3# All drivers here are currently for webcam support
4
Hans Verkuile9eb0da2011-11-08 11:02:34 -03005menuconfig V4L_PLATFORM_DRIVERS
6 bool "V4L platform devices"
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -03007 depends on MEDIA_CAMERA_SUPPORT
Hans Verkuile9eb0da2011-11-08 11:02:34 -03008 default n
9 ---help---
10 Say Y here to enable support for platform-specific V4L drivers.
11
12if V4L_PLATFORM_DRIVERS
13
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030014source "drivers/media/platform/marvell-ccic/Kconfig"
Jonathan Corbetf8fc7292011-06-11 17:46:42 +000015
Hans Verkuil9fa0b852011-09-30 09:06:11 -030016config 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
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030030source "drivers/media/platform/davinci/Kconfig"
Hans Verkuil9fa0b852011-09-30 09:06:11 -030031
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030032source "drivers/media/platform/omap/Kconfig"
Hans Verkuil9fa0b852011-09-30 09:06:11 -030033
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030034source "drivers/media/platform/blackfin/Kconfig"
Scott Jiang63b1a902012-03-08 17:44:17 -030035
Hans Verkuil9fa0b852011-09-30 09:06:11 -030036config VIDEO_SH_VOU
37 tristate "SuperH VOU video output driver"
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -030038 depends on MEDIA_CAMERA_SUPPORT
Geert Uytterhoeven111eeaa2014-02-21 16:57:17 -030039 depends on VIDEO_DEV && I2C && HAS_DMA
Laurent Pinchart215c65a02013-11-26 22:18:28 -030040 depends on ARCH_SHMOBILE || COMPILE_TEST
Hans Verkuil9fa0b852011-09-30 09:06:11 -030041 select VIDEOBUF_DMA_CONTIG
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
57config VIDEO_TIMBERDALE
58 tristate "Support for timberdale Video In/LogiWIN"
Jean Delvare2dda47d2014-04-03 11:32:06 +020059 depends on MFD_TIMBERDALE && VIDEO_V4L2 && I2C && DMADEVICES
Hans Verkuil9fa0b852011-09-30 09:06:11 -030060 select DMA_ENGINE
61 select TIMB_DMA
62 select VIDEO_ADV7180
63 select VIDEOBUF_DMA_CONTIG
64 ---help---
65 Add support for the Video In peripherial of the timberdale FPGA.
66
67config VIDEO_VINO
68 tristate "SGI Vino Video For Linux"
69 depends on I2C && SGI_IP22 && VIDEO_V4L2
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -030070 select VIDEO_SAA7191 if MEDIA_SUBDRV_AUTOSELECT
Hans Verkuil9fa0b852011-09-30 09:06:11 -030071 help
72 Say Y here to build in support for the Vino video input system found
73 on SGI Indy machines.
74
Linus Torvalds1da177e2005-04-16 15:20:36 -070075config VIDEO_M32R_AR
76 tristate "AR devices"
Hans Verkuilb8e56b6f2010-03-29 16:05:33 -030077 depends on M32R && VIDEO_V4L2
Linus Torvalds1da177e2005-04-16 15:20:36 -070078 ---help---
79 This is a video4linux driver for the Renesas AR (Artificial Retina)
80 camera module.
81
82config VIDEO_M32R_AR_M64278
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -030083 tristate "AR device with color module M64278(VGA)"
84 depends on PLAT_M32700UT
85 select VIDEO_M32R_AR
Linus Torvalds1da177e2005-04-16 15:20:36 -070086 ---help---
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -030087 This is a video4linux driver for the Renesas AR (Artificial
88 Retina) with M64278E-800 camera module.
89 This module supports VGA(640x480 pixels) resolutions.
90
91 To compile this driver as a module, choose M here: the
92 module will be called arv.
Linus Torvalds1da177e2005-04-16 15:20:36 -070093
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030094config VIDEO_OMAP3
Kees Cooke141a482013-01-16 18:53:43 -080095 tristate "OMAP 3 Camera support"
Laurent Pinchart2a0a5472014-01-02 20:06:08 -030096 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
97 select ARM_DMA_USE_IOMMU
98 select OMAP_IOMMU
Peter Meerwald9aabd952014-07-04 04:51:47 -030099 select VIDEOBUF2_DMA_CONTIG
Laurent Pinchart7e8970e2011-02-12 18:05:06 -0300100 ---help---
101 Driver for an OMAP 3 camera controller.
102
103config VIDEO_OMAP3_DEBUG
104 bool "OMAP 3 Camera debug messages"
105 depends on VIDEO_OMAP3
106 ---help---
107 Enable debug messages on OMAP 3 camera controller driver.
108
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300109config VIDEO_S3C_CAMIF
110 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
111 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
Tomasz Figa7e66e262013-10-06 08:59:34 +0900112 depends on (ARCH_S3C64XX || PLAT_S3C24XX) && PM_RUNTIME
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300113 select VIDEOBUF2_DMA_CONTIG
114 ---help---
115 This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
116 host interface (CAMIF).
117
118 To compile this driver as a module, choose M here: the module
119 will be called s3c-camif.
120
Mauro Carvalho Chehabb47ff4a2012-08-20 09:49:34 -0300121source "drivers/media/platform/soc_camera/Kconfig"
Sylwester Nawrocki56fa1a62013-03-24 16:54:25 +0100122source "drivers/media/platform/exynos4-is/Kconfig"
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -0300123source "drivers/media/platform/s5p-tv/Kconfig"
Tomasz Stanislawskia52074e2011-03-02 13:16:37 -0300124
Hans Verkuile9eb0da2011-11-08 11:02:34 -0300125endif # V4L_PLATFORM_DRIVERS
Pawel Osciak7f986392010-04-23 05:38:37 -0300126
127menuconfig V4L_MEM2MEM_DRIVERS
128 bool "Memory-to-memory multimedia devices"
129 depends on VIDEO_V4L2
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -0300130 depends on MEDIA_CAMERA_SUPPORT
Pawel Osciak7f986392010-04-23 05:38:37 -0300131 default n
132 ---help---
133 Say Y here to enable selecting drivers for V4L devices that
134 use system memory for both source and destination buffers, as opposed
135 to capture and output drivers, which use memory buffers for just
136 one of those.
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300137
138if V4L_MEM2MEM_DRIVERS
139
Javier Martin186b2502012-07-26 05:53:35 -0300140config VIDEO_CODA
141 tristate "Chips&Media Coda multi-standard codec IP"
Philipp Zabel10436672012-07-02 09:03:55 -0300142 depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
Fabio Estevame9436342013-09-30 11:12:22 -0300143 select SRAM
Javier Martin186b2502012-07-26 05:53:35 -0300144 select VIDEOBUF2_DMA_CONTIG
145 select V4L2_MEM2MEM_DEV
Philipp Zabel39b06ac2014-07-11 06:36:25 -0300146 select GENERIC_ALLOCATOR
Javier Martin186b2502012-07-26 05:53:35 -0300147 ---help---
148 Coda is a range of video codec IPs that supports
149 H.264, MPEG-4, and other video formats.
150
Javier Martin8f0755c2012-07-26 05:55:18 -0300151config VIDEO_MEM2MEM_DEINTERLACE
152 tristate "Deinterlace support"
153 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
154 select VIDEOBUF2_DMA_CONTIG
155 select V4L2_MEM2MEM_DEV
156 help
157 Generic deinterlacing V4L2 driver.
158
Kamil Debski91884732011-10-06 11:32:12 -0300159config VIDEO_SAMSUNG_S5P_G2D
160 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
Tomasz Figa8a786492013-06-19 01:25:44 +0900161 depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
Kamil Debski91884732011-10-06 11:32:12 -0300162 select VIDEOBUF2_DMA_CONTIG
163 select V4L2_MEM2MEM_DEV
164 default n
165 ---help---
166 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
167 2d graphics accelerator.
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300168
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300169config VIDEO_SAMSUNG_S5P_JPEG
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300170 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
Tomasz Figa8a786492013-06-19 01:25:44 +0900171 depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300172 select VIDEOBUF2_DMA_CONTIG
173 select V4L2_MEM2MEM_DEV
174 ---help---
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300175 This is a v4l2 driver for Samsung S5P, EXYNOS3250
176 and EXYNOS4 JPEG codec
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300177
Kamil Debskiaf935742011-06-21 10:51:26 -0300178config VIDEO_SAMSUNG_S5P_MFC
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300179 tristate "Samsung S5P MFC Video Codec"
Tomasz Figa8a786492013-06-19 01:25:44 +0900180 depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
Kamil Debskiaf935742011-06-21 10:51:26 -0300181 select VIDEOBUF2_DMA_CONTIG
182 default n
183 help
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300184 MFC 5.1 and 6.x driver for V4L2
Kamil Debskiaf935742011-06-21 10:51:26 -0300185
Javier Martin8091cb72012-01-13 06:31:02 -0300186config VIDEO_MX2_EMMAPRP
187 tristate "MX2 eMMa-PrP support"
Mauro Carvalho Chehab1c17d8c2014-08-20 13:35:22 -0600188 depends on VIDEO_DEV && VIDEO_V4L2
189 depends on SOC_IMX27 || COMPILE_TEST
Javier Martin8091cb72012-01-13 06:31:02 -0300190 select VIDEOBUF2_DMA_CONTIG
191 select V4L2_MEM2MEM_DEV
192 help
193 MX2X chips have a PrP that can be used to process buffers from
194 memory to memory. Operations include resizing and format
195 conversion.
196
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300197config VIDEO_SAMSUNG_EXYNOS_GSC
198 tristate "Samsung Exynos G-Scaler driver"
199 depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_EXYNOS5
200 select VIDEOBUF2_DMA_CONTIG
201 select V4L2_MEM2MEM_DEV
202 help
203 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
204
Guennadi Liakhovetski05efa712012-10-05 07:43:41 -0300205config VIDEO_SH_VEU
206 tristate "SuperH VEU mem2mem video processing driver"
Martin Schwidefsky0244ad02013-08-30 09:39:53 +0200207 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
Guennadi Liakhovetski05efa712012-10-05 07:43:41 -0300208 select VIDEOBUF2_DMA_CONTIG
209 select V4L2_MEM2MEM_DEV
210 help
211 Support for the Video Engine Unit (VEU) on SuperH and
212 SH-Mobile SoCs.
213
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300214config VIDEO_RENESAS_VSP1
215 tristate "Renesas VSP1 Video Processing Engine"
Geert Uytterhoeven66bf8fa2013-09-06 08:43:56 -0300216 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300217 select VIDEOBUF2_DMA_CONTIG
218 ---help---
219 This is a V4L2 driver for the Renesas VSP1 video processing engine.
220
221 To compile this driver as a module, choose M here: the module
222 will be called vsp1.
223
Archit Taneja45719122013-10-16 02:36:47 -0300224config VIDEO_TI_VPE
225 tristate "TI VPE (Video Processing Engine) driver"
Mauro Carvalho Chehabf3334182014-08-20 13:41:56 -0600226 depends on VIDEO_DEV && VIDEO_V4L2
227 depends on SOC_DRA7XX || COMPILE_TEST
Archit Taneja45719122013-10-16 02:36:47 -0300228 select VIDEOBUF2_DMA_CONTIG
229 select V4L2_MEM2MEM_DEV
230 default n
231 ---help---
232 Support for the TI VPE(Video Processing Engine) block
233 found on DRA7XX SoC.
234
235config VIDEO_TI_VPE_DEBUG
236 bool "VPE debug messages"
237 depends on VIDEO_TI_VPE
238 ---help---
239 Enable debug messages on VPE driver.
240
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300241endif # V4L_MEM2MEM_DRIVERS
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300242
Mauro Carvalho Chehab7a46e182012-08-20 10:07:27 -0300243menuconfig V4L_TEST_DRIVERS
244 bool "Media test drivers"
245 depends on MEDIA_CAMERA_SUPPORT
246
247if V4L_TEST_DRIVERS
248config VIDEO_VIVI
249 tristate "Virtual Video Driver"
250 depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
Geert Uytterhoevend1e183c2013-05-15 13:26:20 +0200251 select FONT_SUPPORT
Mauro Carvalho Chehab7a46e182012-08-20 10:07:27 -0300252 select FONT_8x16
253 select VIDEOBUF2_VMALLOC
254 default n
255 ---help---
256 Enables a virtual video driver. This device shows a color bar
257 and a timestamp, as a real device would generate by using V4L2
258 api.
259 Say Y here if you want to test video apps or debug V4L devices.
260 In doubt, say N.
261
262config VIDEO_MEM2MEM_TESTDEV
263 tristate "Virtual test device for mem2mem framework"
264 depends on VIDEO_DEV && VIDEO_V4L2
265 select VIDEOBUF2_VMALLOC
266 select V4L2_MEM2MEM_DEV
267 default n
268 ---help---
269 This is a virtual test device for the memory-to-memory driver
270 framework.
271endif #V4L_TEST_DRIVERS