xref: /linux/drivers/media/platform/Kconfig (revision 106267444f12fde77f5aee92ca862a7138a88508)
1#
2# Platform drivers
3#	Most drivers here are currently for webcam support
4
5menuconfig V4L_PLATFORM_DRIVERS
6	bool "V4L platform devices"
7	depends on MEDIA_CAMERA_SUPPORT
8	default n
9	---help---
10	  Say Y here to enable support for platform-specific V4L drivers.
11
12if V4L_PLATFORM_DRIVERS
13
14source "drivers/media/platform/marvell-ccic/Kconfig"
15
16config 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
30source "drivers/media/platform/davinci/Kconfig"
31
32source "drivers/media/platform/omap/Kconfig"
33
34source "drivers/media/platform/blackfin/Kconfig"
35
36config VIDEO_SH_VOU
37	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	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_M32R_AR
58	tristate "AR devices"
59	depends on VIDEO_V4L2
60	depends on M32R || COMPILE_TEST
61	---help---
62	  This is a video4linux driver for the Renesas AR (Artificial Retina)
63	  camera module.
64
65config VIDEO_M32R_AR_M64278
66	tristate "AR device with color module M64278(VGA)"
67	depends on PLAT_M32700UT
68	select VIDEO_M32R_AR
69	---help---
70	  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.
76
77config 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
81	depends on OMAP_IOMMU
82	select ARM_DMA_USE_IOMMU
83	select VIDEOBUF2_DMA_CONTIG
84	select MFD_SYSCON
85	---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
94config VIDEO_S3C_CAMIF
95	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
96	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
97	depends on PM
98	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
99	depends on HAS_DMA
100	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
108source "drivers/media/platform/soc_camera/Kconfig"
109source "drivers/media/platform/exynos4-is/Kconfig"
110source "drivers/media/platform/s5p-tv/Kconfig"
111source "drivers/media/platform/am437x/Kconfig"
112source "drivers/media/platform/xilinx/Kconfig"
113source "drivers/media/platform/rcar-vin/Kconfig"
114source "drivers/media/platform/atmel/Kconfig"
115
116config VIDEO_TI_CAL
117	tristate "TI CAL (Camera Adaptation Layer) driver"
118	depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
119	depends on SOC_DRA7XX || COMPILE_TEST
120	depends on HAS_DMA
121	select VIDEOBUF2_DMA_CONTIG
122	default n
123	---help---
124	  Support for the TI CAL (Camera Adaptation Layer) block
125	  found on DRA72X SoC.
126	  In TI Technical Reference Manual this module is referred as
127	  Camera Interface Subsystem (CAMSS).
128
129endif # V4L_PLATFORM_DRIVERS
130
131menuconfig V4L_MEM2MEM_DRIVERS
132	bool "Memory-to-memory multimedia devices"
133	depends on VIDEO_V4L2
134	depends on MEDIA_CAMERA_SUPPORT
135	default n
136	---help---
137	  Say Y here to enable selecting drivers for V4L devices that
138	  use system memory for both source and destination buffers, as opposed
139	  to capture and output drivers, which use memory buffers for just
140	  one of those.
141
142if V4L_MEM2MEM_DRIVERS
143
144config VIDEO_CODA
145	tristate "Chips&Media Coda multi-standard codec IP"
146	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
147	depends on HAS_DMA
148	select SRAM
149	select VIDEOBUF2_DMA_CONTIG
150	select VIDEOBUF2_VMALLOC
151	select V4L2_MEM2MEM_DEV
152	select GENERIC_ALLOCATOR
153	---help---
154	   Coda is a range of video codec IPs that supports
155	   H.264, MPEG-4, and other video formats.
156
157config VIDEO_MEDIATEK_VPU
158	tristate "Mediatek Video Processor Unit"
159	depends on VIDEO_DEV && VIDEO_V4L2
160	depends on ARCH_MEDIATEK || COMPILE_TEST
161	---help---
162	    This driver provides downloading VPU firmware and
163	    communicating with VPU. This driver for hw video
164	    codec embedded in Mediatek's MT8173 SOCs. It is able
165	    to handle video decoding/encoding in a range of formats.
166
167	    To compile this driver as a module, choose M here: the
168	    module will be called mtk-vpu.
169
170config VIDEO_MEDIATEK_VCODEC
171	tristate "Mediatek Video Codec driver"
172	depends on MTK_IOMMU || COMPILE_TEST
173	depends on VIDEO_DEV && VIDEO_V4L2
174	depends on ARCH_MEDIATEK || COMPILE_TEST
175	select VIDEOBUF2_DMA_CONTIG
176	select V4L2_MEM2MEM_DEV
177	select VIDEO_MEDIATEK_VPU
178	default n
179	---help---
180	    Mediatek video codec driver provides HW capability to
181	    encode and decode in a range of video formats
182	    This driver rely on VPU driver to communicate with VPU.
183
184	    To compile this driver as a module, choose M here: the
185	    module will be called mtk-vcodec
186
187config VIDEO_MEM2MEM_DEINTERLACE
188	tristate "Deinterlace support"
189	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
190	depends on HAS_DMA
191	select VIDEOBUF2_DMA_CONTIG
192	select V4L2_MEM2MEM_DEV
193	help
194	    Generic deinterlacing V4L2 driver.
195
196config VIDEO_SAMSUNG_S5P_G2D
197	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
198	depends on VIDEO_DEV && VIDEO_V4L2
199	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
200	depends on HAS_DMA
201	select VIDEOBUF2_DMA_CONTIG
202	select V4L2_MEM2MEM_DEV
203	default n
204	---help---
205	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
206	  2d graphics accelerator.
207
208config VIDEO_SAMSUNG_S5P_JPEG
209	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
210	depends on VIDEO_DEV && VIDEO_V4L2
211	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
212	depends on HAS_DMA
213	select VIDEOBUF2_DMA_CONTIG
214	select V4L2_MEM2MEM_DEV
215	---help---
216	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
217	  and EXYNOS4 JPEG codec
218
219config VIDEO_SAMSUNG_S5P_MFC
220	tristate "Samsung S5P MFC Video Codec"
221	depends on VIDEO_DEV && VIDEO_V4L2
222	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
223	depends on HAS_DMA
224	select VIDEOBUF2_DMA_CONTIG
225	default n
226	help
227	    MFC 5.1 and 6.x driver for V4L2
228
229config VIDEO_MX2_EMMAPRP
230	tristate "MX2 eMMa-PrP support"
231	depends on VIDEO_DEV && VIDEO_V4L2
232	depends on SOC_IMX27 || COMPILE_TEST
233	depends on HAS_DMA
234	select VIDEOBUF2_DMA_CONTIG
235	select V4L2_MEM2MEM_DEV
236	help
237	    MX2X chips have a PrP that can be used to process buffers from
238	    memory to memory. Operations include resizing and format
239	    conversion.
240
241config VIDEO_SAMSUNG_EXYNOS_GSC
242	tristate "Samsung Exynos G-Scaler driver"
243	depends on VIDEO_DEV && VIDEO_V4L2
244	depends on ARCH_EXYNOS5 || COMPILE_TEST
245	depends on HAS_DMA
246	select VIDEOBUF2_DMA_CONTIG
247	select V4L2_MEM2MEM_DEV
248	help
249	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
250
251config VIDEO_STI_BDISP
252	tristate "STMicroelectronics BDISP 2D blitter driver"
253	depends on VIDEO_DEV && VIDEO_V4L2
254	depends on HAS_DMA
255	depends on ARCH_STI || COMPILE_TEST
256	select VIDEOBUF2_DMA_CONTIG
257	select V4L2_MEM2MEM_DEV
258	help
259	  This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
260
261config VIDEO_SH_VEU
262	tristate "SuperH VEU mem2mem video processing driver"
263	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
264	select VIDEOBUF2_DMA_CONTIG
265	select V4L2_MEM2MEM_DEV
266	help
267	    Support for the Video Engine Unit (VEU) on SuperH and
268	    SH-Mobile SoCs.
269
270config VIDEO_RENESAS_JPU
271	tristate "Renesas JPEG Processing Unit"
272	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
273	depends on ARCH_RENESAS || COMPILE_TEST
274	select VIDEOBUF2_DMA_CONTIG
275	select V4L2_MEM2MEM_DEV
276	---help---
277	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
278
279	  To compile this driver as a module, choose M here: the module
280	  will be called rcar_jpu.
281
282config VIDEO_RENESAS_FCP
283	tristate "Renesas Frame Compression Processor"
284	depends on ARCH_RENESAS || COMPILE_TEST
285	depends on OF
286	---help---
287	  This is a driver for the Renesas Frame Compression Processor (FCP).
288	  The FCP is a companion module of video processing modules in the
289	  Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
290	  VSP and FDP modules.
291
292	  To compile this driver as a module, choose M here: the module
293	  will be called rcar-fcp.
294
295config VIDEO_RENESAS_VSP1
296	tristate "Renesas VSP1 Video Processing Engine"
297	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
298	depends on (ARCH_RENESAS && OF) || COMPILE_TEST
299	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
300	select VIDEOBUF2_DMA_CONTIG
301	---help---
302	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
303
304	  To compile this driver as a module, choose M here: the module
305	  will be called vsp1.
306
307config VIDEO_TI_VPE
308	tristate "TI VPE (Video Processing Engine) driver"
309	depends on VIDEO_DEV && VIDEO_V4L2
310	depends on SOC_DRA7XX || COMPILE_TEST
311	depends on HAS_DMA
312	select VIDEOBUF2_DMA_CONTIG
313	select V4L2_MEM2MEM_DEV
314	default n
315	---help---
316	  Support for the TI VPE(Video Processing Engine) block
317	  found on DRA7XX SoC.
318
319config VIDEO_TI_VPE_DEBUG
320	bool "VPE debug messages"
321	depends on VIDEO_TI_VPE
322	---help---
323	  Enable debug messages on VPE driver.
324
325endif # V4L_MEM2MEM_DRIVERS
326
327menuconfig V4L_TEST_DRIVERS
328	bool "Media test drivers"
329	depends on MEDIA_CAMERA_SUPPORT
330
331if V4L_TEST_DRIVERS
332
333source "drivers/media/platform/vivid/Kconfig"
334
335config VIDEO_VIM2M
336	tristate "Virtual Memory-to-Memory Driver"
337	depends on VIDEO_DEV && VIDEO_V4L2
338	select VIDEOBUF2_VMALLOC
339	select V4L2_MEM2MEM_DEV
340	default n
341	---help---
342	  This is a virtual test device for the memory-to-memory driver
343	  framework.
344endif #V4L_TEST_DRIVERS
345
346menuconfig DVB_PLATFORM_DRIVERS
347	bool "DVB platform devices"
348	depends on MEDIA_DIGITAL_TV_SUPPORT
349	default n
350	---help---
351	  Say Y here to enable support for platform-specific Digital TV drivers.
352
353if DVB_PLATFORM_DRIVERS
354source "drivers/media/platform/sti/c8sectpfe/Kconfig"
355endif #DVB_PLATFORM_DRIVERS
356