xref: /openbmc/linux/drivers/media/platform/Kconfig (revision 161f4089)
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 && I2C
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 && VIDEO_V4L2_INT_DEVICE
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"
102	depends on OMAP_IOVMM && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
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 (ARCH_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/exynos4-is/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	---help---
149	   Coda is a range of video codec IPs that supports
150	   H.264, MPEG-4, and other video formats.
151
152config VIDEO_MEM2MEM_DEINTERLACE
153	tristate "Deinterlace support"
154	depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
155	select VIDEOBUF2_DMA_CONTIG
156	select V4L2_MEM2MEM_DEV
157	help
158	    Generic deinterlacing V4L2 driver.
159
160config VIDEO_SAMSUNG_S5P_G2D
161	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
162	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
163	select VIDEOBUF2_DMA_CONTIG
164	select V4L2_MEM2MEM_DEV
165	default n
166	---help---
167	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
168	  2d graphics accelerator.
169
170config VIDEO_SAMSUNG_S5P_JPEG
171	tristate "Samsung S5P/Exynos4 JPEG codec driver"
172	depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
173	select VIDEOBUF2_DMA_CONTIG
174	select V4L2_MEM2MEM_DEV
175	---help---
176	  This is a v4l2 driver for Samsung S5P 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
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
223endif # V4L_MEM2MEM_DRIVERS
224
225menuconfig V4L_TEST_DRIVERS
226	bool "Media test drivers"
227	depends on MEDIA_CAMERA_SUPPORT
228
229if V4L_TEST_DRIVERS
230config VIDEO_VIVI
231	tristate "Virtual Video Driver"
232	depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
233	select FONT_SUPPORT
234	select FONT_8x16
235	select VIDEOBUF2_VMALLOC
236	default n
237	---help---
238	  Enables a virtual video driver. This device shows a color bar
239	  and a timestamp, as a real device would generate by using V4L2
240	  api.
241	  Say Y here if you want to test video apps or debug V4L devices.
242	  In doubt, say N.
243
244config VIDEO_MEM2MEM_TESTDEV
245	tristate "Virtual test device for mem2mem framework"
246	depends on VIDEO_DEV && VIDEO_V4L2
247	select VIDEOBUF2_VMALLOC
248	select V4L2_MEM2MEM_DEV
249	default n
250	---help---
251	  This is a virtual test device for the memory-to-memory driver
252	  framework.
253endif #V4L_TEST_DRIVERS
254