xref: /linux/drivers/media/platform/Kconfig (revision 0d456bad36d42d16022be045c8a53ddbb59ee478)
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
112config VIDEO_S3C_CAMIF
113	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
114	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
115	depends on (PLAT_S3C64XX || PLAT_S3C24XX) && PM_RUNTIME
116	select VIDEOBUF2_DMA_CONTIG
117	---help---
118	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
119	  host interface (CAMIF).
120
121	  To compile this driver as a module, choose M here: the module
122	  will be called s3c-camif.
123
124source "drivers/media/platform/soc_camera/Kconfig"
125source "drivers/media/platform/s5p-fimc/Kconfig"
126source "drivers/media/platform/s5p-tv/Kconfig"
127
128endif # V4L_PLATFORM_DRIVERS
129
130menuconfig V4L_MEM2MEM_DRIVERS
131	bool "Memory-to-memory multimedia devices"
132	depends on VIDEO_V4L2
133	depends on MEDIA_CAMERA_SUPPORT
134	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.
140
141if V4L_MEM2MEM_DRIVERS
142
143config VIDEO_CODA
144	tristate "Chips&Media Coda multi-standard codec IP"
145	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
146	select VIDEOBUF2_DMA_CONTIG
147	select V4L2_MEM2MEM_DEV
148	select IRAM_ALLOC if SOC_IMX53
149	---help---
150	   Coda is a range of video codec IPs that supports
151	   H.264, MPEG-4, and other video formats.
152
153config VIDEO_MEM2MEM_DEINTERLACE
154	tristate "Deinterlace support"
155	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
156	select VIDEOBUF2_DMA_CONTIG
157	select V4L2_MEM2MEM_DEV
158	help
159	    Generic deinterlacing V4L2 driver.
160
161config VIDEO_SAMSUNG_S5P_G2D
162	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
163	depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
164	select VIDEOBUF2_DMA_CONTIG
165	select V4L2_MEM2MEM_DEV
166	default n
167	---help---
168	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
169	  2d graphics accelerator.
170
171config VIDEO_SAMSUNG_S5P_JPEG
172	tristate "Samsung S5P/Exynos4 JPEG codec driver (EXPERIMENTAL)"
173	depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P && EXPERIMENTAL
174	select VIDEOBUF2_DMA_CONTIG
175	select V4L2_MEM2MEM_DEV
176	---help---
177	  This is a v4l2 driver for Samsung S5P and EXYNOS4 JPEG codec
178
179config VIDEO_SAMSUNG_S5P_MFC
180	tristate "Samsung S5P MFC Video Codec"
181	depends on VIDEO_DEV && VIDEO_V4L2 && PLAT_S5P
182	select VIDEOBUF2_DMA_CONTIG
183	default n
184	help
185	    MFC 5.1 and 6.x driver for V4L2
186
187config VIDEO_MX2_EMMAPRP
188	tristate "MX2 eMMa-PrP support"
189	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
190	select VIDEOBUF2_DMA_CONTIG
191	select V4L2_MEM2MEM_DEV
192	help
193	    MX2X chips have a PrP that can be used to process buffers from
194	    memory to memory. Operations include resizing and format
195	    conversion.
196
197config VIDEO_SAMSUNG_EXYNOS_GSC
198	tristate "Samsung Exynos G-Scaler driver"
199	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_EXYNOS5
200	select VIDEOBUF2_DMA_CONTIG
201	select V4L2_MEM2MEM_DEV
202	help
203	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
204
205endif # V4L_MEM2MEM_DRIVERS
206
207menuconfig V4L_TEST_DRIVERS
208	bool "Media test drivers"
209	depends on MEDIA_CAMERA_SUPPORT
210
211if V4L_TEST_DRIVERS
212config VIDEO_VIVI
213	tristate "Virtual Video Driver"
214	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
215	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE
216	select FONT_8x16
217	select VIDEOBUF2_VMALLOC
218	default n
219	---help---
220	  Enables a virtual video driver. This device shows a color bar
221	  and a timestamp, as a real device would generate by using V4L2
222	  api.
223	  Say Y here if you want to test video apps or debug V4L devices.
224	  In doubt, say N.
225
226config VIDEO_MEM2MEM_TESTDEV
227	tristate "Virtual test device for mem2mem framework"
228	depends on VIDEO_DEV && VIDEO_V4L2
229	select VIDEOBUF2_VMALLOC
230	select V4L2_MEM2MEM_DEV
231	default n
232	---help---
233	  This is a virtual test device for the memory-to-memory driver
234	  framework.
235endif #V4L_TEST_DRIVERS
236