xref: /linux/drivers/media/platform/Kconfig (revision 343e89a792a571b28b9c02850db7af2ef25ffb20)
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_TIMBERDALE
58	tristate "Support for timberdale Video In/LogiWIN"
59	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && HAS_DMA
60	depends on (MFD_TIMBERDALE && TIMB_DMA) || COMPILE_TEST
61	select VIDEO_ADV7180
62	select VIDEOBUF_DMA_CONTIG
63	---help---
64	  Add support for the Video In peripherial of the timberdale FPGA.
65
66config VIDEO_M32R_AR
67	tristate "AR devices"
68	depends on VIDEO_V4L2
69	depends on M32R || COMPILE_TEST
70	---help---
71	  This is a video4linux driver for the Renesas AR (Artificial Retina)
72	  camera module.
73
74config VIDEO_M32R_AR_M64278
75	tristate "AR device with color module M64278(VGA)"
76	depends on PLAT_M32700UT
77	select VIDEO_M32R_AR
78	---help---
79	  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.
85
86config VIDEO_OMAP3
87	tristate "OMAP 3 Camera support"
88	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
89	depends on HAS_DMA && OF
90	depends on OMAP_IOMMU
91	select ARM_DMA_USE_IOMMU
92	select VIDEOBUF2_DMA_CONTIG
93	select MFD_SYSCON
94	---help---
95	  Driver for an OMAP 3 camera controller.
96
97config VIDEO_OMAP3_DEBUG
98	bool "OMAP 3 Camera debug messages"
99	depends on VIDEO_OMAP3
100	---help---
101	  Enable debug messages on OMAP 3 camera controller driver.
102
103config VIDEO_S3C_CAMIF
104	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
105	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
106	depends on PM
107	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
108	depends on HAS_DMA
109	select VIDEOBUF2_DMA_CONTIG
110	---help---
111	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
112	  host interface (CAMIF).
113
114	  To compile this driver as a module, choose M here: the module
115	  will be called s3c-camif.
116
117source "drivers/media/platform/soc_camera/Kconfig"
118source "drivers/media/platform/exynos4-is/Kconfig"
119source "drivers/media/platform/s5p-tv/Kconfig"
120source "drivers/media/platform/am437x/Kconfig"
121source "drivers/media/platform/xilinx/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	select VIDEOBUF2_DMA_CONTIG
128	default n
129	---help---
130	  Support for the TI CAL (Camera Adaptation Layer) block
131	  found on DRA72X SoC.
132	  In TI Technical Reference Manual this module is referred as
133	  Camera Interface Subsystem (CAMSS).
134
135endif # V4L_PLATFORM_DRIVERS
136
137menuconfig V4L_MEM2MEM_DRIVERS
138	bool "Memory-to-memory multimedia devices"
139	depends on VIDEO_V4L2
140	depends on MEDIA_CAMERA_SUPPORT
141	default n
142	---help---
143	  Say Y here to enable selecting drivers for V4L devices that
144	  use system memory for both source and destination buffers, as opposed
145	  to capture and output drivers, which use memory buffers for just
146	  one of those.
147
148if V4L_MEM2MEM_DRIVERS
149
150config VIDEO_CODA
151	tristate "Chips&Media Coda multi-standard codec IP"
152	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
153	depends on HAS_DMA
154	select SRAM
155	select VIDEOBUF2_DMA_CONTIG
156	select VIDEOBUF2_VMALLOC
157	select V4L2_MEM2MEM_DEV
158	select GENERIC_ALLOCATOR
159	---help---
160	   Coda is a range of video codec IPs that supports
161	   H.264, MPEG-4, and other video formats.
162
163config VIDEO_MEM2MEM_DEINTERLACE
164	tristate "Deinterlace support"
165	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
166	depends on HAS_DMA
167	select VIDEOBUF2_DMA_CONTIG
168	select V4L2_MEM2MEM_DEV
169	help
170	    Generic deinterlacing V4L2 driver.
171
172config VIDEO_SAMSUNG_S5P_G2D
173	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
174	depends on VIDEO_DEV && VIDEO_V4L2
175	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
176	depends on HAS_DMA
177	select VIDEOBUF2_DMA_CONTIG
178	select V4L2_MEM2MEM_DEV
179	default n
180	---help---
181	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
182	  2d graphics accelerator.
183
184config VIDEO_SAMSUNG_S5P_JPEG
185	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
186	depends on VIDEO_DEV && VIDEO_V4L2
187	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
188	depends on HAS_DMA
189	select VIDEOBUF2_DMA_CONTIG
190	select V4L2_MEM2MEM_DEV
191	---help---
192	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
193	  and EXYNOS4 JPEG codec
194
195config VIDEO_SAMSUNG_S5P_MFC
196	tristate "Samsung S5P MFC Video Codec"
197	depends on VIDEO_DEV && VIDEO_V4L2
198	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
199	depends on HAS_DMA
200	select VIDEOBUF2_DMA_CONTIG
201	default n
202	help
203	    MFC 5.1 and 6.x driver for V4L2
204
205config VIDEO_MX2_EMMAPRP
206	tristate "MX2 eMMa-PrP support"
207	depends on VIDEO_DEV && VIDEO_V4L2
208	depends on SOC_IMX27 || COMPILE_TEST
209	depends on HAS_DMA
210	select VIDEOBUF2_DMA_CONTIG
211	select V4L2_MEM2MEM_DEV
212	help
213	    MX2X chips have a PrP that can be used to process buffers from
214	    memory to memory. Operations include resizing and format
215	    conversion.
216
217config VIDEO_SAMSUNG_EXYNOS_GSC
218	tristate "Samsung Exynos G-Scaler driver"
219	depends on VIDEO_DEV && VIDEO_V4L2
220	depends on ARCH_EXYNOS5 || COMPILE_TEST
221	depends on HAS_DMA
222	select VIDEOBUF2_DMA_CONTIG
223	select V4L2_MEM2MEM_DEV
224	help
225	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
226
227config VIDEO_STI_BDISP
228	tristate "STMicroelectronics BDISP 2D blitter driver"
229	depends on VIDEO_DEV && VIDEO_V4L2
230	depends on ARCH_STI || COMPILE_TEST
231	select VIDEOBUF2_DMA_CONTIG
232	select V4L2_MEM2MEM_DEV
233	help
234	  This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
235
236config VIDEO_SH_VEU
237	tristate "SuperH VEU mem2mem video processing driver"
238	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
239	select VIDEOBUF2_DMA_CONTIG
240	select V4L2_MEM2MEM_DEV
241	help
242	    Support for the Video Engine Unit (VEU) on SuperH and
243	    SH-Mobile SoCs.
244
245config VIDEO_RENESAS_JPU
246	tristate "Renesas JPEG Processing Unit"
247	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
248	depends on ARCH_SHMOBILE || COMPILE_TEST
249	select VIDEOBUF2_DMA_CONTIG
250	select V4L2_MEM2MEM_DEV
251	---help---
252	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
253
254	  To compile this driver as a module, choose M here: the module
255	  will be called rcar_jpu.
256
257config VIDEO_RENESAS_VSP1
258	tristate "Renesas VSP1 Video Processing Engine"
259	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
260	depends on (ARCH_SHMOBILE && OF) || COMPILE_TEST
261	select VIDEOBUF2_DMA_CONTIG
262	---help---
263	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
264
265	  To compile this driver as a module, choose M here: the module
266	  will be called vsp1.
267
268config VIDEO_TI_VPE
269	tristate "TI VPE (Video Processing Engine) driver"
270	depends on VIDEO_DEV && VIDEO_V4L2
271	depends on SOC_DRA7XX || COMPILE_TEST
272	depends on HAS_DMA
273	select VIDEOBUF2_DMA_CONTIG
274	select V4L2_MEM2MEM_DEV
275	default n
276	---help---
277	  Support for the TI VPE(Video Processing Engine) block
278	  found on DRA7XX SoC.
279
280config VIDEO_TI_VPE_DEBUG
281	bool "VPE debug messages"
282	depends on VIDEO_TI_VPE
283	---help---
284	  Enable debug messages on VPE driver.
285
286endif # V4L_MEM2MEM_DRIVERS
287
288menuconfig V4L_TEST_DRIVERS
289	bool "Media test drivers"
290	depends on MEDIA_CAMERA_SUPPORT
291
292if V4L_TEST_DRIVERS
293
294source "drivers/media/platform/vivid/Kconfig"
295
296config VIDEO_VIM2M
297	tristate "Virtual Memory-to-Memory Driver"
298	depends on VIDEO_DEV && VIDEO_V4L2
299	select VIDEOBUF2_VMALLOC
300	select V4L2_MEM2MEM_DEV
301	default n
302	---help---
303	  This is a virtual test device for the memory-to-memory driver
304	  framework.
305endif #V4L_TEST_DRIVERS
306
307menuconfig DVB_PLATFORM_DRIVERS
308	bool "DVB platform devices"
309	depends on MEDIA_DIGITAL_TV_SUPPORT
310	default n
311	---help---
312	  Say Y here to enable support for platform-specific Digital TV drivers.
313
314if DVB_PLATFORM_DRIVERS
315source "drivers/media/platform/sti/c8sectpfe/Kconfig"
316endif #DVB_PLATFORM_DRIVERS
317