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