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