Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-drm-fsl-dcu.git] / drivers / media / platform / Kconfig
1 #
2 # Platform drivers
3 #       All drivers here are currently for webcam support
4
5 menuconfig 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
12 if V4L_PLATFORM_DRIVERS
13
14 source "drivers/media/platform/marvell-ccic/Kconfig"
15
16 config 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
30 source "drivers/media/platform/davinci/Kconfig"
31
32 source "drivers/media/platform/omap/Kconfig"
33
34 source "drivers/media/platform/blackfin/Kconfig"
35
36 config 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
44 config 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
56 config 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
66 config 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
74 config 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
81 config 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
93 config 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
100 config 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
106 config 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
112 config 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
124 source "drivers/media/platform/soc_camera/Kconfig"
125 source "drivers/media/platform/exynos4-is/Kconfig"
126 source "drivers/media/platform/s5p-tv/Kconfig"
127
128 endif # V4L_PLATFORM_DRIVERS
129
130 menuconfig 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
141 if V4L_MEM2MEM_DRIVERS
142
143 config VIDEO_CODA
144         tristate "Chips&Media Coda multi-standard codec IP"
145         depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
146         select SRAM
147         select VIDEOBUF2_DMA_CONTIG
148         select V4L2_MEM2MEM_DEV
149         ---help---
150            Coda is a range of video codec IPs that supports
151            H.264, MPEG-4, and other video formats.
152
153 config 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
161 config VIDEO_SAMSUNG_S5P_G2D
162         tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
163         depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
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
171 config VIDEO_SAMSUNG_S5P_JPEG
172         tristate "Samsung S5P/Exynos4 JPEG codec driver"
173         depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
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
179 config VIDEO_SAMSUNG_S5P_MFC
180         tristate "Samsung S5P MFC Video Codec"
181         depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
182         select VIDEOBUF2_DMA_CONTIG
183         default n
184         help
185             MFC 5.1 and 6.x driver for V4L2
186
187 config 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
197 config 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
205 config VIDEO_SH_VEU
206         tristate "SuperH VEU mem2mem video processing driver"
207         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
208         select VIDEOBUF2_DMA_CONTIG
209         select V4L2_MEM2MEM_DEV
210         help
211             Support for the Video Engine Unit (VEU) on SuperH and
212             SH-Mobile SoCs.
213
214 config VIDEO_RENESAS_VSP1
215         tristate "Renesas VSP1 Video Processing Engine"
216         depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
217         select VIDEOBUF2_DMA_CONTIG
218         ---help---
219           This is a V4L2 driver for the Renesas VSP1 video processing engine.
220
221           To compile this driver as a module, choose M here: the module
222           will be called vsp1.
223
224 config VIDEO_TI_VPE
225         tristate "TI VPE (Video Processing Engine) driver"
226         depends on VIDEO_DEV && VIDEO_V4L2 && SOC_DRA7XX
227         select VIDEOBUF2_DMA_CONTIG
228         select V4L2_MEM2MEM_DEV
229         default n
230         ---help---
231           Support for the TI VPE(Video Processing Engine) block
232           found on DRA7XX SoC.
233
234 config VIDEO_TI_VPE_DEBUG
235         bool "VPE debug messages"
236         depends on VIDEO_TI_VPE
237         ---help---
238           Enable debug messages on VPE driver.
239
240 endif # V4L_MEM2MEM_DRIVERS
241
242 menuconfig V4L_TEST_DRIVERS
243         bool "Media test drivers"
244         depends on MEDIA_CAMERA_SUPPORT
245
246 if V4L_TEST_DRIVERS
247 config VIDEO_VIVI
248         tristate "Virtual Video Driver"
249         depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
250         select FONT_SUPPORT
251         select FONT_8x16
252         select VIDEOBUF2_VMALLOC
253         default n
254         ---help---
255           Enables a virtual video driver. This device shows a color bar
256           and a timestamp, as a real device would generate by using V4L2
257           api.
258           Say Y here if you want to test video apps or debug V4L devices.
259           In doubt, say N.
260
261 config VIDEO_MEM2MEM_TESTDEV
262         tristate "Virtual test device for mem2mem framework"
263         depends on VIDEO_DEV && VIDEO_V4L2
264         select VIDEOBUF2_VMALLOC
265         select V4L2_MEM2MEM_DEV
266         default n
267         ---help---
268           This is a virtual test device for the memory-to-memory driver
269           framework.
270 endif #V4L_TEST_DRIVERS