blob: 552b635cfce7f02b4f3e65d1d641e9e39903ec43 [file] [log] [blame]
Hans Verkuil044ab152011-09-30 05:05:35 -03001#
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -03002# Platform drivers
Peter Griffin850a3f72015-07-30 14:09:00 -03003# Most drivers here are currently for webcam support
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -03004
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
Arnd Bergmann3ff863b2015-10-15 21:35:40 -030041 select VIDEOBUF2_DMA_CONTIG
Hans Verkuil9fa0b852011-09-30 09:06:11 -030042 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070057config VIDEO_M32R_AR
58 tristate "AR devices"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -060059 depends on VIDEO_V4L2
60 depends on M32R || COMPILE_TEST
Linus Torvalds1da177e2005-04-16 15:20:36 -070061 ---help---
62 This is a video4linux driver for the Renesas AR (Artificial Retina)
63 camera module.
64
65config VIDEO_M32R_AR_M64278
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -030066 tristate "AR device with color module M64278(VGA)"
67 depends on PLAT_M32700UT
68 select VIDEO_M32R_AR
Linus Torvalds1da177e2005-04-16 15:20:36 -070069 ---help---
Mauro Carvalho Chehab05189992006-08-08 15:48:07 -030070 This is a video4linux driver for the Renesas AR (Artificial
71 Retina) with M64278E-800 camera module.
72 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.
Linus Torvalds1da177e2005-04-16 15:20:36 -070076
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030077config VIDEO_OMAP3
Kees Cooke141a482013-01-16 18:53:43 -080078 tristate "OMAP 3 Camera support"
Laurent Pinchart2a0a5472014-01-02 20:06:08 -030079 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
Laurent Pinchart78c66fb2015-05-20 04:08:30 -030080 depends on HAS_DMA && OF
Gerd Hoffmann06b718c2014-11-11 09:17:00 +010081 depends on OMAP_IOMMU
Laurent Pinchart2a0a5472014-01-02 20:06:08 -030082 select ARM_DMA_USE_IOMMU
Peter Meerwald9aabd952014-07-04 04:51:47 -030083 select VIDEOBUF2_DMA_CONTIG
Sakari Ailus503596a2015-03-25 19:57:34 -030084 select MFD_SYSCON
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030085 ---help---
86 Driver for an OMAP 3 camera controller.
87
88config VIDEO_OMAP3_DEBUG
89 bool "OMAP 3 Camera debug messages"
90 depends on VIDEO_OMAP3
91 ---help---
92 Enable debug messages on OMAP 3 camera controller driver.
93
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -030094config VIDEO_S3C_CAMIF
95 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
96 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
Rafael J. Wysocki1b3e3aa2014-12-13 00:44:04 +010097 depends on PM
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -060098 depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -030099 depends on HAS_DMA
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300100 select VIDEOBUF2_DMA_CONTIG
101 ---help---
102 This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
103 host interface (CAMIF).
104
105 To compile this driver as a module, choose M here: the module
106 will be called s3c-camif.
107
Mauro Carvalho Chehabb47ff4a2012-08-20 09:49:34 -0300108source "drivers/media/platform/soc_camera/Kconfig"
Sylwester Nawrocki56fa1a62013-03-24 16:54:25 +0100109source "drivers/media/platform/exynos4-is/Kconfig"
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -0300110source "drivers/media/platform/s5p-tv/Kconfig"
Benoit Parrot417d2e52014-12-09 16:43:44 -0300111source "drivers/media/platform/am437x/Kconfig"
Laurent Pinchartdf330512013-05-15 11:36:19 -0300112source "drivers/media/platform/xilinx/Kconfig"
Niklas Söderlundf00add92016-04-26 10:22:19 -0300113source "drivers/media/platform/rcar-vin/Kconfig"
Tomasz Stanislawskia52074e2011-03-02 13:16:37 -0300114
Benoit Parrot343e89a2016-01-06 21:37:26 -0200115config VIDEO_TI_CAL
116 tristate "TI CAL (Camera Adaptation Layer) driver"
117 depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
118 depends on SOC_DRA7XX || COMPILE_TEST
Sudip Mukherjee83446222016-02-12 08:53:28 -0200119 depends on HAS_DMA
Benoit Parrot343e89a2016-01-06 21:37:26 -0200120 select VIDEOBUF2_DMA_CONTIG
121 default n
122 ---help---
123 Support for the TI CAL (Camera Adaptation Layer) block
124 found on DRA72X SoC.
125 In TI Technical Reference Manual this module is referred as
126 Camera Interface Subsystem (CAMSS).
127
Hans Verkuile9eb0da2011-11-08 11:02:34 -0300128endif # V4L_PLATFORM_DRIVERS
Pawel Osciak7f986392010-04-23 05:38:37 -0300129
130menuconfig V4L_MEM2MEM_DRIVERS
131 bool "Memory-to-memory multimedia devices"
132 depends on VIDEO_V4L2
Mauro Carvalho Chehabb6334462012-08-20 10:32:19 -0300133 depends on MEDIA_CAMERA_SUPPORT
Pawel Osciak7f986392010-04-23 05:38:37 -0300134 default n
135 ---help---
136 Say Y here to enable selecting drivers for V4L devices that
137 use system memory for both source and destination buffers, as opposed
138 to capture and output drivers, which use memory buffers for just
139 one of those.
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300140
141if V4L_MEM2MEM_DRIVERS
142
Javier Martin186b2502012-07-26 05:53:35 -0300143config VIDEO_CODA
144 tristate "Chips&Media Coda multi-standard codec IP"
Philipp Zabel10436672012-07-02 09:03:55 -0300145 depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300146 depends on HAS_DMA
Fabio Estevame9436342013-09-30 11:12:22 -0300147 select SRAM
Javier Martin186b2502012-07-26 05:53:35 -0300148 select VIDEOBUF2_DMA_CONTIG
Philipp Zabelbb04aa62015-01-23 13:51:30 -0300149 select VIDEOBUF2_VMALLOC
Javier Martin186b2502012-07-26 05:53:35 -0300150 select V4L2_MEM2MEM_DEV
Philipp Zabel39b06ac2014-07-11 06:36:25 -0300151 select GENERIC_ALLOCATOR
Javier Martin186b2502012-07-26 05:53:35 -0300152 ---help---
153 Coda is a range of video codec IPs that supports
154 H.264, MPEG-4, and other video formats.
155
Andrew-CT Chen3003a182016-05-03 07:11:21 -0300156config VIDEO_MEDIATEK_VPU
157 tristate "Mediatek Video Processor Unit"
158 depends on VIDEO_DEV && VIDEO_V4L2
159 depends on ARCH_MEDIATEK || COMPILE_TEST
160 ---help---
161 This driver provides downloading VPU firmware and
162 communicating with VPU. This driver for hw video
163 codec embedded in Mediatek's MT8173 SOCs. It is able
164 to handle video decoding/encoding in a range of formats.
165
166 To compile this driver as a module, choose M here: the
167 module will be called mtk-vpu.
168
Tiffany Lin4e855a62016-05-03 07:11:24 -0300169config VIDEO_MEDIATEK_VCODEC
170 tristate "Mediatek Video Codec driver"
Hans Verkuilc1023ba2016-07-08 16:11:19 -0300171 depends on MTK_IOMMU || COMPILE_TEST
Hans Verkuil73b14972016-08-14 06:45:54 -0300172 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
Tiffany Lin4e855a62016-05-03 07:11:24 -0300173 depends on ARCH_MEDIATEK || COMPILE_TEST
174 select VIDEOBUF2_DMA_CONTIG
175 select V4L2_MEM2MEM_DEV
176 select VIDEO_MEDIATEK_VPU
177 default n
178 ---help---
179 Mediatek video codec driver provides HW capability to
180 encode and decode in a range of video formats
181 This driver rely on VPU driver to communicate with VPU.
182
183 To compile this driver as a module, choose M here: the
184 module will be called mtk-vcodec
185
Javier Martin8f0755c2012-07-26 05:55:18 -0300186config VIDEO_MEM2MEM_DEINTERLACE
187 tristate "Deinterlace support"
188 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300189 depends on HAS_DMA
Javier Martin8f0755c2012-07-26 05:55:18 -0300190 select VIDEOBUF2_DMA_CONTIG
191 select V4L2_MEM2MEM_DEV
192 help
193 Generic deinterlacing V4L2 driver.
194
Kamil Debski91884732011-10-06 11:32:12 -0300195config VIDEO_SAMSUNG_S5P_G2D
196 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600197 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300198 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300199 depends on HAS_DMA
Kamil Debski91884732011-10-06 11:32:12 -0300200 select VIDEOBUF2_DMA_CONTIG
201 select V4L2_MEM2MEM_DEV
202 default n
203 ---help---
204 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
205 2d graphics accelerator.
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300206
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300207config VIDEO_SAMSUNG_S5P_JPEG
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300208 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600209 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300210 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300211 depends on HAS_DMA
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300212 select VIDEOBUF2_DMA_CONTIG
213 select V4L2_MEM2MEM_DEV
214 ---help---
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300215 This is a v4l2 driver for Samsung S5P, EXYNOS3250
216 and EXYNOS4 JPEG codec
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300217
Kamil Debskiaf935742011-06-21 10:51:26 -0300218config VIDEO_SAMSUNG_S5P_MFC
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300219 tristate "Samsung S5P MFC Video Codec"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600220 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300221 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300222 depends on HAS_DMA
Kamil Debskiaf935742011-06-21 10:51:26 -0300223 select VIDEOBUF2_DMA_CONTIG
224 default n
225 help
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300226 MFC 5.1 and 6.x driver for V4L2
Kamil Debskiaf935742011-06-21 10:51:26 -0300227
Javier Martin8091cb72012-01-13 06:31:02 -0300228config VIDEO_MX2_EMMAPRP
229 tristate "MX2 eMMa-PrP support"
Mauro Carvalho Chehab1c17d8c2014-08-20 13:35:22 -0600230 depends on VIDEO_DEV && VIDEO_V4L2
231 depends on SOC_IMX27 || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300232 depends on HAS_DMA
Javier Martin8091cb72012-01-13 06:31:02 -0300233 select VIDEOBUF2_DMA_CONTIG
234 select V4L2_MEM2MEM_DEV
235 help
236 MX2X chips have a PrP that can be used to process buffers from
237 memory to memory. Operations include resizing and format
238 conversion.
239
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300240config VIDEO_SAMSUNG_EXYNOS_GSC
241 tristate "Samsung Exynos G-Scaler driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600242 depends on VIDEO_DEV && VIDEO_V4L2
243 depends on ARCH_EXYNOS5 || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300244 depends on HAS_DMA
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300245 select VIDEOBUF2_DMA_CONTIG
246 select V4L2_MEM2MEM_DEV
247 help
248 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
249
Fabien Dessenne28ffeeb2015-05-12 13:02:10 -0300250config VIDEO_STI_BDISP
251 tristate "STMicroelectronics BDISP 2D blitter driver"
252 depends on VIDEO_DEV && VIDEO_V4L2
Sudip Mukherjee42052072015-12-30 11:26:03 -0200253 depends on HAS_DMA
Fabien Dessenne28ffeeb2015-05-12 13:02:10 -0300254 depends on ARCH_STI || COMPILE_TEST
Fabien Dessenne28ffeeb2015-05-12 13:02:10 -0300255 select VIDEOBUF2_DMA_CONTIG
256 select V4L2_MEM2MEM_DEV
257 help
258 This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
259
Guennadi Liakhovetski05efa712012-10-05 07:43:41 -0300260config VIDEO_SH_VEU
261 tristate "SuperH VEU mem2mem video processing driver"
Martin Schwidefsky0244ad02013-08-30 09:39:53 +0200262 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
Guennadi Liakhovetski05efa712012-10-05 07:43:41 -0300263 select VIDEOBUF2_DMA_CONTIG
264 select V4L2_MEM2MEM_DEV
265 help
266 Support for the Video Engine Unit (VEU) on SuperH and
267 SH-Mobile SoCs.
268
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300269config VIDEO_RENESAS_JPU
270 tristate "Renesas JPEG Processing Unit"
Geert Uytterhoevenf8445642015-09-06 07:11:48 -0300271 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
Simon Horman71c5dab2016-03-24 22:46:45 -0300272 depends on ARCH_RENESAS || COMPILE_TEST
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300273 select VIDEOBUF2_DMA_CONTIG
274 select V4L2_MEM2MEM_DEV
275 ---help---
276 This is a V4L2 driver for the Renesas JPEG Processing Unit.
277
278 To compile this driver as a module, choose M here: the module
279 will be called rcar_jpu.
280
Laurent Pinchart7b492352016-02-11 22:29:58 -0200281config VIDEO_RENESAS_FCP
282 tristate "Renesas Frame Compression Processor"
283 depends on ARCH_RENESAS || COMPILE_TEST
284 depends on OF
285 ---help---
286 This is a driver for the Renesas Frame Compression Processor (FCP).
287 The FCP is a companion module of video processing modules in the
288 Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
289 VSP and FDP modules.
290
291 To compile this driver as a module, choose M here: the module
292 will be called rcar-fcp.
293
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300294config VIDEO_RENESAS_VSP1
295 tristate "Renesas VSP1 Video Processing Engine"
Geert Uytterhoeven66bf8fa2013-09-06 08:43:56 -0300296 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
Simon Horman71c5dab2016-03-24 22:46:45 -0300297 depends on (ARCH_RENESAS && OF) || COMPILE_TEST
Arnd Bergmann19994672016-06-30 09:23:03 -0300298 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300299 select VIDEOBUF2_DMA_CONTIG
300 ---help---
301 This is a V4L2 driver for the Renesas VSP1 video processing engine.
302
303 To compile this driver as a module, choose M here: the module
304 will be called vsp1.
305
Archit Taneja45719122013-10-16 02:36:47 -0300306config VIDEO_TI_VPE
307 tristate "TI VPE (Video Processing Engine) driver"
Mauro Carvalho Chehabf3334182014-08-20 13:41:56 -0600308 depends on VIDEO_DEV && VIDEO_V4L2
309 depends on SOC_DRA7XX || COMPILE_TEST
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300310 depends on HAS_DMA
Archit Taneja45719122013-10-16 02:36:47 -0300311 select VIDEOBUF2_DMA_CONTIG
312 select V4L2_MEM2MEM_DEV
313 default n
314 ---help---
315 Support for the TI VPE(Video Processing Engine) block
316 found on DRA7XX SoC.
317
318config VIDEO_TI_VPE_DEBUG
319 bool "VPE debug messages"
320 depends on VIDEO_TI_VPE
321 ---help---
322 Enable debug messages on VPE driver.
323
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300324endif # V4L_MEM2MEM_DRIVERS
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300325
Mauro Carvalho Chehab7a46e182012-08-20 10:07:27 -0300326menuconfig V4L_TEST_DRIVERS
327 bool "Media test drivers"
328 depends on MEDIA_CAMERA_SUPPORT
329
330if V4L_TEST_DRIVERS
Hans Verkuile75420d2014-08-25 08:06:34 -0300331
332source "drivers/media/platform/vivid/Kconfig"
333
Hans Verkuil1f923a42014-09-22 09:27:17 -0300334config VIDEO_VIM2M
335 tristate "Virtual Memory-to-Memory Driver"
Mauro Carvalho Chehab7a46e182012-08-20 10:07:27 -0300336 depends on VIDEO_DEV && VIDEO_V4L2
337 select VIDEOBUF2_VMALLOC
338 select V4L2_MEM2MEM_DEV
339 default n
340 ---help---
341 This is a virtual test device for the memory-to-memory driver
342 framework.
343endif #V4L_TEST_DRIVERS
Peter Griffin850a3f72015-07-30 14:09:00 -0300344
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300345menuconfig DVB_PLATFORM_DRIVERS
346 bool "DVB platform devices"
347 depends on MEDIA_DIGITAL_TV_SUPPORT
348 default n
349 ---help---
350 Say Y here to enable support for platform-specific Digital TV drivers.
351
352if DVB_PLATFORM_DRIVERS
Peter Griffin850a3f72015-07-30 14:09:00 -0300353source "drivers/media/platform/sti/c8sectpfe/Kconfig"
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300354endif #DVB_PLATFORM_DRIVERS