xref: /linux/drivers/media/platform/Kconfig (revision 851462444d421c223965b12b836bef63da61b57f)
1#
2# Platform drivers
3#	All 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 && ARCH_SHMOBILE
40	select VIDEOBUF_DMA_CONTIG
41	help
42	  Support for the Video Output Unit (VOU) on SuperH SoCs.
43
44config VIDEO_VIU
45	tristate "Freescale VIU Video Driver"
46	depends on VIDEO_V4L2 && PPC_MPC512x
47	select VIDEOBUF_DMA_CONTIG
48	default y
49	---help---
50	  Support for Freescale VIU video driver. This device captures
51	  video data, or overlays video on DIU frame buffer.
52
53	  Say Y here if you want to enable VIU device on MPC5121e Rev2+.
54	  In doubt, say N.
55
56config VIDEO_TIMBERDALE
57	tristate "Support for timberdale Video In/LogiWIN"
58	depends on VIDEO_V4L2 && I2C && DMADEVICES
59	select DMA_ENGINE
60	select TIMB_DMA
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_VINO
67	tristate "SGI Vino Video For Linux"
68	depends on I2C && SGI_IP22 && VIDEO_V4L2
69	select VIDEO_SAA7191 if MEDIA_SUBDRV_AUTOSELECT
70	help
71	  Say Y here to build in support for the Vino video input system found
72	  on SGI Indy machines.
73
74config VIDEO_M32R_AR
75	tristate "AR devices"
76	depends on M32R && VIDEO_V4L2
77	---help---
78	  This is a video4linux driver for the Renesas AR (Artificial Retina)
79	  camera module.
80
81config VIDEO_M32R_AR_M64278
82	tristate "AR device with color module M64278(VGA)"
83	depends on PLAT_M32700UT
84	select VIDEO_M32R_AR
85	---help---
86	  This is a video4linux driver for the Renesas AR (Artificial
87	  Retina) with M64278E-800 camera module.
88	  This module supports VGA(640x480 pixels) resolutions.
89
90	  To compile this driver as a module, choose M here: the
91	  module will be called arv.
92
93config VIDEO_OMAP2
94	tristate "OMAP2 Camera Capture Interface driver"
95	depends on VIDEO_DEV && ARCH_OMAP2
96	select VIDEOBUF_DMA_SG
97	---help---
98	  This is a v4l2 driver for the TI OMAP2 camera capture interface
99
100config VIDEO_OMAP3
101	tristate "OMAP 3 Camera support (EXPERIMENTAL)"
102	depends on OMAP_IOVMM && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3 && EXPERIMENTAL
103	---help---
104	  Driver for an OMAP 3 camera controller.
105
106config VIDEO_OMAP3_DEBUG
107	bool "OMAP 3 Camera debug messages"
108	depends on VIDEO_OMAP3
109	---help---
110	  Enable debug messages on OMAP 3 camera controller driver.
111
112source "drivers/media/platform/soc_camera/Kconfig"
113source "drivers/media/platform/s5p-fimc/Kconfig"
114source "drivers/media/platform/s5p-tv/Kconfig"
115
116endif # V4L_PLATFORM_DRIVERS
117
118menuconfig V4L_MEM2MEM_DRIVERS
119	bool "Memory-to-memory multimedia devices"
120	depends on VIDEO_V4L2
121	depends on MEDIA_CAMERA_SUPPORT
122	default n
123	---help---
124	  Say Y here to enable selecting drivers for V4L devices that
125	  use system memory for both source and destination buffers, as opposed
126	  to capture and output drivers, which use memory buffers for just
127	  one of those.
128
129if V4L_MEM2MEM_DRIVERS
130
131config VIDEO_CODA
132	tristate "Chips&Media Coda multi-standard codec IP"
133	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
134	select VIDEOBUF2_DMA_CONTIG
135	select V4L2_MEM2MEM_DEV
136	select IRAM_ALLOC if SOC_IMX53
137	---help---
138	   Coda is a range of video codec IPs that supports
139	   H.264, MPEG-4, and other video formats.
140
141config VIDEO_MEM2MEM_DEINTERLACE
142	tristate "Deinterlace support"
143	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
144	select VIDEOBUF2_DMA_CONTIG
145	select V4L2_MEM2MEM_DEV
146	help
147	    Generic deinterlacing V4L2 driver.
148
149config VIDEO_SAMSUNG_S5P_G2D
150	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
151	depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
152	select VIDEOBUF2_DMA_CONTIG
153	select V4L2_MEM2MEM_DEV
154	default n
155	---help---
156	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
157	  2d graphics accelerator.
158
159config VIDEO_SAMSUNG_S5P_JPEG
160	tristate "Samsung S5P/Exynos4 JPEG codec driver (EXPERIMENTAL)"
161	depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P && EXPERIMENTAL
162	select VIDEOBUF2_DMA_CONTIG
163	select V4L2_MEM2MEM_DEV
164	---help---
165	  This is a v4l2 driver for Samsung S5P and EXYNOS4 JPEG codec
166
167config VIDEO_SAMSUNG_S5P_MFC
168	tristate "Samsung S5P MFC Video Codec"
169	depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
170	select VIDEOBUF2_DMA_CONTIG
171	default n
172	help
173	    MFC 5.1 and 6.x driver for V4L2
174
175config VIDEO_MX2_EMMAPRP
176	tristate "MX2 eMMa-PrP support"
177	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
178	select VIDEOBUF2_DMA_CONTIG
179	select V4L2_MEM2MEM_DEV
180	help
181	    MX2X chips have a PrP that can be used to process buffers from
182	    memory to memory. Operations include resizing and format
183	    conversion.
184
185config VIDEO_SAMSUNG_EXYNOS_GSC
186	tristate "Samsung Exynos G-Scaler driver"
187	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_EXYNOS5
188	select VIDEOBUF2_DMA_CONTIG
189	select V4L2_MEM2MEM_DEV
190	help
191	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
192
193endif # V4L_MEM2MEM_DRIVERS
194
195menuconfig V4L_TEST_DRIVERS
196	bool "Media test drivers"
197	depends on MEDIA_CAMERA_SUPPORT
198
199if V4L_TEST_DRIVERS
200config VIDEO_VIVI
201	tristate "Virtual Video Driver"
202	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
203	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
204	select FONT_8x16
205	select VIDEOBUF2_VMALLOC
206	default n
207	---help---
208	  Enables a virtual video driver. This device shows a color bar
209	  and a timestamp, as a real device would generate by using V4L2
210	  api.
211	  Say Y here if you want to test video apps or debug V4L devices.
212	  In doubt, say N.
213
214config VIDEO_MEM2MEM_TESTDEV
215	tristate "Virtual test device for mem2mem framework"
216	depends on VIDEO_DEV && VIDEO_V4L2
217	select VIDEOBUF2_VMALLOC
218	select V4L2_MEM2MEM_DEV
219	default n
220	---help---
221	  This is a virtual test device for the memory-to-memory driver
222	  framework.
223endif #V4L_TEST_DRIVERS
224