xref: /linux/drivers/media/platform/Kconfig (revision 3932b9ca55b0be314a36d3e84faff3e823c081f5)
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 && I2C && HAS_DMA
40	depends on ARCH_SHMOBILE || COMPILE_TEST
41	select VIDEOBUF_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 MFD_TIMBERDALE && VIDEO_V4L2 && I2C && DMADEVICES
60	select DMA_ENGINE
61	select TIMB_DMA
62	select VIDEO_ADV7180
63	select VIDEOBUF_DMA_CONTIG
64	---help---
65	  Add support for the Video In peripherial of the timberdale FPGA.
66
67config VIDEO_VINO
68	tristate "SGI Vino Video For Linux"
69	depends on I2C && SGI_IP22 && VIDEO_V4L2
70	select VIDEO_SAA7191 if MEDIA_SUBDRV_AUTOSELECT
71	help
72	  Say Y here to build in support for the Vino video input system found
73	  on SGI Indy machines.
74
75config VIDEO_M32R_AR
76	tristate "AR devices"
77	depends on M32R && VIDEO_V4L2
78	---help---
79	  This is a video4linux driver for the Renesas AR (Artificial Retina)
80	  camera module.
81
82config VIDEO_M32R_AR_M64278
83	tristate "AR device with color module M64278(VGA)"
84	depends on PLAT_M32700UT
85	select VIDEO_M32R_AR
86	---help---
87	  This is a video4linux driver for the Renesas AR (Artificial
88	  Retina) with M64278E-800 camera module.
89	  This module supports VGA(640x480 pixels) resolutions.
90
91	  To compile this driver as a module, choose M here: the
92	  module will be called arv.
93
94config VIDEO_OMAP3
95	tristate "OMAP 3 Camera support"
96	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
97	select ARM_DMA_USE_IOMMU
98	select OMAP_IOMMU
99	select VIDEOBUF2_DMA_CONTIG
100	---help---
101	  Driver for an OMAP 3 camera controller.
102
103config VIDEO_OMAP3_DEBUG
104	bool "OMAP 3 Camera debug messages"
105	depends on VIDEO_OMAP3
106	---help---
107	  Enable debug messages on OMAP 3 camera controller driver.
108
109config VIDEO_S3C_CAMIF
110	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
111	depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
112	depends on (ARCH_S3C64XX || PLAT_S3C24XX) && PM_RUNTIME
113	select VIDEOBUF2_DMA_CONTIG
114	---help---
115	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
116	  host interface (CAMIF).
117
118	  To compile this driver as a module, choose M here: the module
119	  will be called s3c-camif.
120
121source "drivers/media/platform/soc_camera/Kconfig"
122source "drivers/media/platform/exynos4-is/Kconfig"
123source "drivers/media/platform/s5p-tv/Kconfig"
124
125endif # V4L_PLATFORM_DRIVERS
126
127menuconfig V4L_MEM2MEM_DRIVERS
128	bool "Memory-to-memory multimedia devices"
129	depends on VIDEO_V4L2
130	depends on MEDIA_CAMERA_SUPPORT
131	default n
132	---help---
133	  Say Y here to enable selecting drivers for V4L devices that
134	  use system memory for both source and destination buffers, as opposed
135	  to capture and output drivers, which use memory buffers for just
136	  one of those.
137
138if V4L_MEM2MEM_DRIVERS
139
140config VIDEO_CODA
141	tristate "Chips&Media Coda multi-standard codec IP"
142	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
143	select SRAM
144	select VIDEOBUF2_DMA_CONTIG
145	select V4L2_MEM2MEM_DEV
146	select GENERIC_ALLOCATOR
147	---help---
148	   Coda is a range of video codec IPs that supports
149	   H.264, MPEG-4, and other video formats.
150
151config VIDEO_MEM2MEM_DEINTERLACE
152	tristate "Deinterlace support"
153	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
154	select VIDEOBUF2_DMA_CONTIG
155	select V4L2_MEM2MEM_DEV
156	help
157	    Generic deinterlacing V4L2 driver.
158
159config VIDEO_SAMSUNG_S5P_G2D
160	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
161	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
162	select VIDEOBUF2_DMA_CONTIG
163	select V4L2_MEM2MEM_DEV
164	default n
165	---help---
166	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
167	  2d graphics accelerator.
168
169config VIDEO_SAMSUNG_S5P_JPEG
170	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
171	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
172	select VIDEOBUF2_DMA_CONTIG
173	select V4L2_MEM2MEM_DEV
174	---help---
175	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
176	  and EXYNOS4 JPEG codec
177
178config VIDEO_SAMSUNG_S5P_MFC
179	tristate "Samsung S5P MFC Video Codec"
180	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
181	select VIDEOBUF2_DMA_CONTIG
182	default n
183	help
184	    MFC 5.1 and 6.x driver for V4L2
185
186config VIDEO_MX2_EMMAPRP
187	tristate "MX2 eMMa-PrP support"
188	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
189	select VIDEOBUF2_DMA_CONTIG
190	select V4L2_MEM2MEM_DEV
191	help
192	    MX2X chips have a PrP that can be used to process buffers from
193	    memory to memory. Operations include resizing and format
194	    conversion.
195
196config VIDEO_SAMSUNG_EXYNOS_GSC
197	tristate "Samsung Exynos G-Scaler driver"
198	depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_EXYNOS5
199	select VIDEOBUF2_DMA_CONTIG
200	select V4L2_MEM2MEM_DEV
201	help
202	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
203
204config VIDEO_SH_VEU
205	tristate "SuperH VEU mem2mem video processing driver"
206	depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
207	select VIDEOBUF2_DMA_CONTIG
208	select V4L2_MEM2MEM_DEV
209	help
210	    Support for the Video Engine Unit (VEU) on SuperH and
211	    SH-Mobile SoCs.
212
213config VIDEO_RENESAS_VSP1
214	tristate "Renesas VSP1 Video Processing Engine"
215	depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
216	select VIDEOBUF2_DMA_CONTIG
217	---help---
218	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
219
220	  To compile this driver as a module, choose M here: the module
221	  will be called vsp1.
222
223config VIDEO_TI_VPE
224	tristate "TI VPE (Video Processing Engine) driver"
225	depends on VIDEO_DEV && VIDEO_V4L2 && SOC_DRA7XX
226	select VIDEOBUF2_DMA_CONTIG
227	select V4L2_MEM2MEM_DEV
228	default n
229	---help---
230	  Support for the TI VPE(Video Processing Engine) block
231	  found on DRA7XX SoC.
232
233config VIDEO_TI_VPE_DEBUG
234	bool "VPE debug messages"
235	depends on VIDEO_TI_VPE
236	---help---
237	  Enable debug messages on VPE driver.
238
239endif # V4L_MEM2MEM_DRIVERS
240
241menuconfig V4L_TEST_DRIVERS
242	bool "Media test drivers"
243	depends on MEDIA_CAMERA_SUPPORT
244
245if V4L_TEST_DRIVERS
246config VIDEO_VIVI
247	tristate "Virtual Video Driver"
248	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
249	select FONT_SUPPORT
250	select FONT_8x16
251	select VIDEOBUF2_VMALLOC
252	default n
253	---help---
254	  Enables a virtual video driver. This device shows a color bar
255	  and a timestamp, as a real device would generate by using V4L2
256	  api.
257	  Say Y here if you want to test video apps or debug V4L devices.
258	  In doubt, say N.
259
260config VIDEO_MEM2MEM_TESTDEV
261	tristate "Virtual test device for mem2mem framework"
262	depends on VIDEO_DEV && VIDEO_V4L2
263	select VIDEOBUF2_VMALLOC
264	select V4L2_MEM2MEM_DEV
265	default n
266	---help---
267	  This is a virtual test device for the memory-to-memory driver
268	  framework.
269endif #V4L_TEST_DRIVERS
270