blob: d9b872b9285a3460579b62df17ad88a75e64ce26 [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"
Lars-Peter Clausend5d51a82015-01-23 12:52:26 -030059 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
Arnd Bergmann24482922015-01-28 18:17:41 -030060 depends on (MFD_TIMBERDALE && TIMB_DMA) || COMPILE_TEST
Hans Verkuil9fa0b852011-09-30 09:06:11 -030061 select VIDEO_ADV7180
62 select VIDEOBUF_DMA_CONTIG
63 ---help---
64 Add support for the Video In peripherial of the timberdale FPGA.
65
Linus Torvalds1da177e2005-04-16 15:20:36 -070066config VIDEO_M32R_AR
67 tristate "AR devices"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -060068 depends on VIDEO_V4L2
69 depends on M32R || COMPILE_TEST
Linus Torvalds1da177e2005-04-16 15:20:36 -070070 ---help---
71 This is a video4linux driver for the Renesas AR (Artificial Retina)
72 camera module.
73
74config VIDEO_M32R_AR_M64278
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -030075 tristate "AR device with color module M64278(VGA)"
76 depends on PLAT_M32700UT
77 select VIDEO_M32R_AR
Linus Torvalds1da177e2005-04-16 15:20:36 -070078 ---help---
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -030079 This is a video4linux driver for the Renesas AR (Artificial
80 Retina) with M64278E-800 camera module.
81 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -070085
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030086config VIDEO_OMAP3
Kees Cooke141a482013-01-16 18:53:43 -080087 tristate "OMAP 3 Camera support"
Laurent Pinchart2a0a5472014-01-02 20:06:08 -030088 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -030089 depends on HAS_DMA
Laurent Pinchart2a0a5472014-01-02 20:06:08 -030090 select ARM_DMA_USE_IOMMU
91 select OMAP_IOMMU
Peter Meerwald9aabd952014-07-04 04:51:47 -030092 select VIDEOBUF2_DMA_CONTIG
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030093 ---help---
94 Driver for an OMAP 3 camera controller.
95
96config VIDEO_OMAP3_DEBUG
97 bool "OMAP 3 Camera debug messages"
98 depends on VIDEO_OMAP3
99 ---help---
100 Enable debug messages on OMAP 3 camera controller driver.
101
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300102config VIDEO_S3C_CAMIF
103 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
104 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
Rafael J. Wysocki1b3e3aa2014-12-13 00:44:04 +0100105 depends on PM
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600106 depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300107 depends on HAS_DMA
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300108 select VIDEOBUF2_DMA_CONTIG
109 ---help---
110 This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
111 host interface (CAMIF).
112
113 To compile this driver as a module, choose M here: the module
114 will be called s3c-camif.
115
Mauro Carvalho Chehabb47ff4a2012-08-20 09:49:34 -0300116source "drivers/media/platform/soc_camera/Kconfig"
Sylwester Nawrocki56fa1a62013-03-24 16:54:25 +0100117source "drivers/media/platform/exynos4-is/Kconfig"
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -0300118source "drivers/media/platform/s5p-tv/Kconfig"
Benoit Parrot417d2e52014-12-09 16:43:44 -0300119source "drivers/media/platform/am437x/Kconfig"
Tomasz Stanislawskia52074e2011-03-02 13:16:37 -0300120
Hans Verkuile9eb0da2011-11-08 11:02:34 -0300121endif # V4L_PLATFORM_DRIVERS
Pawel Osciak7f986392010-04-23 05:38:37 -0300122
123menuconfig V4L_MEM2MEM_DRIVERS
124 bool "Memory-to-memory multimedia devices"
125 depends on VIDEO_V4L2
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -0300126 depends on MEDIA_CAMERA_SUPPORT
Pawel Osciak7f986392010-04-23 05:38:37 -0300127 default n
128 ---help---
129 Say Y here to enable selecting drivers for V4L devices that
130 use system memory for both source and destination buffers, as opposed
131 to capture and output drivers, which use memory buffers for just
132 one of those.
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300133
134if V4L_MEM2MEM_DRIVERS
135
Javier Martin186b2502012-07-26 05:53:35 -0300136config VIDEO_CODA
137 tristate "Chips&Media Coda multi-standard codec IP"
Philipp Zabel10436672012-07-02 09:03:55 -0300138 depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300139 depends on HAS_DMA
Fabio Estevame9436342013-09-30 11:12:22 -0300140 select SRAM
Javier Martin186b2502012-07-26 05:53:35 -0300141 select VIDEOBUF2_DMA_CONTIG
Philipp Zabelbb04aa62015-01-23 13:51:30 -0300142 select VIDEOBUF2_VMALLOC
Javier Martin186b2502012-07-26 05:53:35 -0300143 select V4L2_MEM2MEM_DEV
Philipp Zabel39b06ac2014-07-11 06:36:25 -0300144 select GENERIC_ALLOCATOR
Javier Martin186b2502012-07-26 05:53:35 -0300145 ---help---
146 Coda is a range of video codec IPs that supports
147 H.264, MPEG-4, and other video formats.
148
Javier Martin8f0755c2012-07-26 05:55:18 -0300149config VIDEO_MEM2MEM_DEINTERLACE
150 tristate "Deinterlace support"
151 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300152 depends on HAS_DMA
Javier Martin8f0755c2012-07-26 05:55:18 -0300153 select VIDEOBUF2_DMA_CONTIG
154 select V4L2_MEM2MEM_DEV
155 help
156 Generic deinterlacing V4L2 driver.
157
Kamil Debski91884732011-10-06 11:32:12 -0300158config VIDEO_SAMSUNG_S5P_G2D
159 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600160 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300161 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300162 depends on HAS_DMA
Kamil Debski91884732011-10-06 11:32:12 -0300163 select VIDEOBUF2_DMA_CONTIG
164 select V4L2_MEM2MEM_DEV
165 default n
166 ---help---
167 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
168 2d graphics accelerator.
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300169
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300170config VIDEO_SAMSUNG_S5P_JPEG
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300171 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600172 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300173 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300174 depends on HAS_DMA
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300175 select VIDEOBUF2_DMA_CONTIG
176 select V4L2_MEM2MEM_DEV
177 ---help---
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300178 This is a v4l2 driver for Samsung S5P, EXYNOS3250
179 and EXYNOS4 JPEG codec
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300180
Kamil Debskiaf935742011-06-21 10:51:26 -0300181config VIDEO_SAMSUNG_S5P_MFC
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300182 tristate "Samsung S5P MFC Video Codec"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600183 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300184 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300185 depends on HAS_DMA
Kamil Debskiaf935742011-06-21 10:51:26 -0300186 select VIDEOBUF2_DMA_CONTIG
187 default n
188 help
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300189 MFC 5.1 and 6.x driver for V4L2
Kamil Debskiaf935742011-06-21 10:51:26 -0300190
Javier Martin8091cb72012-01-13 06:31:02 -0300191config VIDEO_MX2_EMMAPRP
192 tristate "MX2 eMMa-PrP support"
Mauro Carvalho Chehab1c17d8c2014-08-20 13:35:22 -0600193 depends on VIDEO_DEV && VIDEO_V4L2
194 depends on SOC_IMX27 || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300195 depends on HAS_DMA
Javier Martin8091cb72012-01-13 06:31:02 -0300196 select VIDEOBUF2_DMA_CONTIG
197 select V4L2_MEM2MEM_DEV
198 help
199 MX2X chips have a PrP that can be used to process buffers from
200 memory to memory. Operations include resizing and format
201 conversion.
202
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300203config VIDEO_SAMSUNG_EXYNOS_GSC
204 tristate "Samsung Exynos G-Scaler driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600205 depends on VIDEO_DEV && VIDEO_V4L2
206 depends on ARCH_EXYNOS5 || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300207 depends on HAS_DMA
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300208 select VIDEOBUF2_DMA_CONTIG
209 select V4L2_MEM2MEM_DEV
210 help
211 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
212
Guennadi Liakhovetski05efa712012-10-05 07:43:41 -0300213config VIDEO_SH_VEU
214 tristate "SuperH VEU mem2mem video processing driver"
Martin Schwidefsky0244ad02013-08-30 09:39:53 +0200215 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
Guennadi Liakhovetski05efa712012-10-05 07:43:41 -0300216 select VIDEOBUF2_DMA_CONTIG
217 select V4L2_MEM2MEM_DEV
218 help
219 Support for the Video Engine Unit (VEU) on SuperH and
220 SH-Mobile SoCs.
221
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300222config VIDEO_RENESAS_VSP1
223 tristate "Renesas VSP1 Video Processing Engine"
Geert Uytterhoeven66bf8fa2013-09-06 08:43:56 -0300224 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
Laurent Pinchart32d17592014-04-09 08:13:18 -0300225 depends on (ARCH_SHMOBILE && OF) || COMPILE_TEST
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300226 select VIDEOBUF2_DMA_CONTIG
227 ---help---
228 This is a V4L2 driver for the Renesas VSP1 video processing engine.
229
230 To compile this driver as a module, choose M here: the module
231 will be called vsp1.
232
Archit Taneja45719122013-10-16 02:36:47 -0300233config VIDEO_TI_VPE
234 tristate "TI VPE (Video Processing Engine) driver"
Mauro Carvalho Chehabf3334182014-08-20 13:41:56 -0600235 depends on VIDEO_DEV && VIDEO_V4L2
236 depends on SOC_DRA7XX || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300237 depends on HAS_DMA
Archit Taneja45719122013-10-16 02:36:47 -0300238 select VIDEOBUF2_DMA_CONTIG
239 select V4L2_MEM2MEM_DEV
240 default n
241 ---help---
242 Support for the TI VPE(Video Processing Engine) block
243 found on DRA7XX SoC.
244
245config VIDEO_TI_VPE_DEBUG
246 bool "VPE debug messages"
247 depends on VIDEO_TI_VPE
248 ---help---
249 Enable debug messages on VPE driver.
250
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300251endif # V4L_MEM2MEM_DRIVERS
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300252
Mauro Carvalho Chehab7a46e182012-08-20 10:07:27 -0300253menuconfig V4L_TEST_DRIVERS
254 bool "Media test drivers"
255 depends on MEDIA_CAMERA_SUPPORT
256
257if V4L_TEST_DRIVERS
Hans Verkuile75420d2014-08-25 08:06:34 -0300258
259source "drivers/media/platform/vivid/Kconfig"
260
Hans Verkuil1f923a42014-09-22 09:27:17 -0300261config VIDEO_VIM2M
262 tristate "Virtual Memory-to-Memory Driver"
Mauro Carvalho Chehab7a46e182012-08-20 10:07:27 -0300263 depends on VIDEO_DEV && VIDEO_V4L2
264 select VIDEOBUF2_VMALLOC
265 select V4L2_MEM2MEM_DEV
266 default n
267 ---help---
268 This is a virtual test device for the memory-to-memory driver
269 framework.
270endif #V4L_TEST_DRIVERS