arm64: dts: rockchip: add u2phy0 and u2phy0_otg node for rk3399
[firefly-linux-kernel-4.4.55.git] / drivers / media / platform / Kconfig
1 #
2 # Platform drivers
3 #       Most 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 && 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
45 config 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
57 config VIDEO_TIMBERDALE
58         tristate "Support for timberdale Video In/LogiWIN"
59         depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && HAS_DMA
60         depends on (MFD_TIMBERDALE && TIMB_DMA) || COMPILE_TEST
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_M32R_AR
67         tristate "AR devices"
68         depends on VIDEO_V4L2
69         depends on M32R || COMPILE_TEST
70         ---help---
71           This is a video4linux driver for the Renesas AR (Artificial Retina)
72           camera module.
73
74 config VIDEO_M32R_AR_M64278
75         tristate "AR device with color module M64278(VGA)"
76         depends on PLAT_M32700UT
77         select VIDEO_M32R_AR
78         ---help---
79           This is a video4linux driver for the Renesas AR (Artificial
80           Retina) with M64278E-800 camera module.
81           This module supports VGA(640x480 pixels) resolutions.
82
83           To compile this driver as a module, choose M here: the
84           module will be called arv.
85
86 config VIDEO_OMAP3
87         tristate "OMAP 3 Camera support"
88         depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
89         depends on HAS_DMA && OF
90         depends on OMAP_IOMMU
91         depends on BROKEN
92         select ARM_DMA_USE_IOMMU
93         select VIDEOBUF2_DMA_CONTIG
94         select MFD_SYSCON
95         ---help---
96           Driver for an OMAP 3 camera controller.
97
98 config 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
104 config 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
118 source "drivers/media/platform/soc_camera/Kconfig"
119 source "drivers/media/platform/exynos4-is/Kconfig"
120 source "drivers/media/platform/s5p-tv/Kconfig"
121 source "drivers/media/platform/am437x/Kconfig"
122 source "drivers/media/platform/xilinx/Kconfig"
123
124 endif # V4L_PLATFORM_DRIVERS
125
126 menuconfig V4L_MEM2MEM_DRIVERS
127         bool "Memory-to-memory multimedia devices"
128         depends on VIDEO_V4L2
129         depends on MEDIA_CAMERA_SUPPORT
130         default n
131         ---help---
132           Say Y here to enable selecting drivers for V4L devices that
133           use system memory for both source and destination buffers, as opposed
134           to capture and output drivers, which use memory buffers for just
135           one of those.
136
137 if V4L_MEM2MEM_DRIVERS
138
139 config VIDEO_CODA
140         tristate "Chips&Media Coda multi-standard codec IP"
141         depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
142         depends on HAS_DMA
143         select SRAM
144         select VIDEOBUF2_DMA_CONTIG
145         select VIDEOBUF2_VMALLOC
146         select V4L2_MEM2MEM_DEV
147         select GENERIC_ALLOCATOR
148         ---help---
149            Coda is a range of video codec IPs that supports
150            H.264, MPEG-4, and other video formats.
151
152 config VIDEO_MEM2MEM_DEINTERLACE
153         tristate "Deinterlace support"
154         depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
155         depends on HAS_DMA
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
164         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
165         depends on HAS_DMA
166         select VIDEOBUF2_DMA_CONTIG
167         select V4L2_MEM2MEM_DEV
168         default n
169         ---help---
170           This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
171           2d graphics accelerator.
172
173 config VIDEO_SAMSUNG_S5P_JPEG
174         tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
175         depends on VIDEO_DEV && VIDEO_V4L2
176         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
177         depends on HAS_DMA
178         select VIDEOBUF2_DMA_CONTIG
179         select V4L2_MEM2MEM_DEV
180         ---help---
181           This is a v4l2 driver for Samsung S5P, EXYNOS3250
182           and EXYNOS4 JPEG codec
183
184 config VIDEO_SAMSUNG_S5P_MFC
185         tristate "Samsung S5P MFC Video Codec"
186         depends on VIDEO_DEV && VIDEO_V4L2
187         depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
188         depends on HAS_DMA
189         select VIDEOBUF2_DMA_CONTIG
190         default n
191         help
192             MFC 5.1 and 6.x driver for V4L2
193
194 config VIDEO_MX2_EMMAPRP
195         tristate "MX2 eMMa-PrP support"
196         depends on VIDEO_DEV && VIDEO_V4L2
197         depends on SOC_IMX27 || COMPILE_TEST
198         depends on HAS_DMA
199         select VIDEOBUF2_DMA_CONTIG
200         select V4L2_MEM2MEM_DEV
201         help
202             MX2X chips have a PrP that can be used to process buffers from
203             memory to memory. Operations include resizing and format
204             conversion.
205
206 config VIDEO_SAMSUNG_EXYNOS_GSC
207         tristate "Samsung Exynos G-Scaler driver"
208         depends on VIDEO_DEV && VIDEO_V4L2
209         depends on ARCH_EXYNOS5 || COMPILE_TEST
210         depends on HAS_DMA
211         select VIDEOBUF2_DMA_CONTIG
212         select V4L2_MEM2MEM_DEV
213         help
214           This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
215
216 config VIDEO_STI_BDISP
217         tristate "STMicroelectronics BDISP 2D blitter driver"
218         depends on VIDEO_DEV && VIDEO_V4L2
219         depends on ARCH_STI || COMPILE_TEST
220         depends on HAVE_DMA_ATTRS
221         select VIDEOBUF2_DMA_CONTIG
222         select V4L2_MEM2MEM_DEV
223         help
224           This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
225
226 config VIDEO_SH_VEU
227         tristate "SuperH VEU mem2mem video processing driver"
228         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
229         select VIDEOBUF2_DMA_CONTIG
230         select V4L2_MEM2MEM_DEV
231         help
232             Support for the Video Engine Unit (VEU) on SuperH and
233             SH-Mobile SoCs.
234
235 config VIDEO_RENESAS_JPU
236         tristate "Renesas JPEG Processing Unit"
237         depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
238         depends on ARCH_SHMOBILE || COMPILE_TEST
239         select VIDEOBUF2_DMA_CONTIG
240         select V4L2_MEM2MEM_DEV
241         ---help---
242           This is a V4L2 driver for the Renesas JPEG Processing Unit.
243
244           To compile this driver as a module, choose M here: the module
245           will be called rcar_jpu.
246
247 config VIDEO_RENESAS_VSP1
248         tristate "Renesas VSP1 Video Processing Engine"
249         depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
250         depends on (ARCH_SHMOBILE && OF) || COMPILE_TEST
251         select VIDEOBUF2_DMA_CONTIG
252         ---help---
253           This is a V4L2 driver for the Renesas VSP1 video processing engine.
254
255           To compile this driver as a module, choose M here: the module
256           will be called vsp1.
257
258 config VIDEO_TI_VPE
259         tristate "TI VPE (Video Processing Engine) driver"
260         depends on VIDEO_DEV && VIDEO_V4L2
261         depends on SOC_DRA7XX || COMPILE_TEST
262         depends on HAS_DMA
263         select VIDEOBUF2_DMA_CONTIG
264         select V4L2_MEM2MEM_DEV
265         default n
266         ---help---
267           Support for the TI VPE(Video Processing Engine) block
268           found on DRA7XX SoC.
269
270 config VIDEO_ROCKCHIP_VPU
271         tristate "Rockchip ROCKCHIP VPU driver"
272         depends on VIDEO_DEV && VIDEO_V4L2
273         select VIDEOBUF2_DMA_CONTIG
274         default n
275         ---help---
276           Support for the VPU video codec found on Rockchip SoC.
277
278           To compile this driver as a module, choose M here: the module
279           will be called rockchip-vpu.
280
281 config VIDEO_TI_VPE_DEBUG
282         bool "VPE debug messages"
283         depends on VIDEO_TI_VPE
284         ---help---
285           Enable debug messages on VPE driver.
286
287 endif # V4L_MEM2MEM_DRIVERS
288
289 menuconfig V4L_TEST_DRIVERS
290         bool "Media test drivers"
291         depends on MEDIA_CAMERA_SUPPORT
292
293 if V4L_TEST_DRIVERS
294
295 source "drivers/media/platform/vivid/Kconfig"
296
297 config VIDEO_VIM2M
298         tristate "Virtual Memory-to-Memory Driver"
299         depends on VIDEO_DEV && VIDEO_V4L2
300         select VIDEOBUF2_VMALLOC
301         select V4L2_MEM2MEM_DEV
302         default n
303         ---help---
304           This is a virtual test device for the memory-to-memory driver
305           framework.
306 endif #V4L_TEST_DRIVERS
307
308 menuconfig DVB_PLATFORM_DRIVERS
309         bool "DVB platform devices"
310         depends on MEDIA_DIGITAL_TV_SUPPORT
311         default n
312         ---help---
313           Say Y here to enable support for platform-specific Digital TV drivers.
314
315 if DVB_PLATFORM_DRIVERS
316 source "drivers/media/platform/sti/c8sectpfe/Kconfig"
317 endif #DVB_PLATFORM_DRIVERS