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