]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/media/platform/Kconfig
Merge remote-tracking branches 'asoc/topic/sgtl5000', 'asoc/topic/simple', 'asoc...
[mirror_ubuntu-bionic-kernel.git] / drivers / media / platform / Kconfig
CommitLineData
724f4a32
MCC
1#
2# Platform drivers
850a3f7d 3# Most drivers here are currently for webcam support
724f4a32 4
e9eb0dad
HV
5menuconfig V4L_PLATFORM_DRIVERS
6 bool "V4L platform devices"
724f4a32 7 depends on MEDIA_CAMERA_SUPPORT
e9eb0dad
HV
8 default n
9 ---help---
10 Say Y here to enable support for platform-specific V4L drivers.
11
12if V4L_PLATFORM_DRIVERS
13
2c3fb08b 14source "drivers/media/platform/marvell-ccic/Kconfig"
f8fc7298 15
9fa0b852
HV
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
2c3fb08b 30source "drivers/media/platform/davinci/Kconfig"
9fa0b852 31
2c3fb08b 32source "drivers/media/platform/omap/Kconfig"
9fa0b852 33
2c3fb08b 34source "drivers/media/platform/blackfin/Kconfig"
63b1a90d 35
9fa0b852
HV
36config VIDEO_SH_VOU
37 tristate "SuperH VOU video output driver"
b6334460 38 depends on MEDIA_CAMERA_SUPPORT
111eeaa7 39 depends on VIDEO_DEV && I2C && HAS_DMA
215c65a0 40 depends on ARCH_SHMOBILE || COMPILE_TEST
3ff863b8 41 select VIDEOBUF2_DMA_CONTIG
9fa0b852
HV
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
1450e6be
MCC
57config VIDEO_M32R_AR
58 tristate "AR devices"
7155043c
MCC
59 depends on VIDEO_V4L2
60 depends on M32R || COMPILE_TEST
add953ce 61 ---help---
1450e6be
MCC
62 This is a video4linux driver for the Renesas AR (Artificial Retina)
63 camera module.
add953ce 64
1450e6be
MCC
65config VIDEO_M32R_AR_M64278
66 tristate "AR device with color module M64278(VGA)"
67 depends on PLAT_M32700UT
68 select VIDEO_M32R_AR
add953ce 69 ---help---
1450e6be
MCC
70 This is a video4linux driver for the Renesas AR (Artificial
71 Retina) with M64278E-800 camera module.
72 This module supports VGA(640x480 pixels) resolutions.
add953ce
HV
73
74 To compile this driver as a module, choose M here: the
1450e6be 75 module will be called arv.
f8962605 76
7e8970e1 77config VIDEO_OMAP3
e141a481 78 tristate "OMAP 3 Camera support"
2a0a5472 79 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
78c66fbc 80 depends on HAS_DMA && OF
06b718c0 81 depends on OMAP_IOMMU
2a0a5472 82 select ARM_DMA_USE_IOMMU
9aabd95a 83 select VIDEOBUF2_DMA_CONTIG
503596a1 84 select MFD_SYSCON
7e8970e1
LP
85 ---help---
86 Driver for an OMAP 3 camera controller.
87
88config VIDEO_OMAP3_DEBUG
89 bool "OMAP 3 Camera debug messages"
90 depends on VIDEO_OMAP3
91 ---help---
92 Enable debug messages on OMAP 3 camera controller driver.
93
babde1c2
SN
94config VIDEO_S3C_CAMIF
95 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
96 depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
1b3e3aa6 97 depends on PM
7155043c 98 depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
12bd88e6 99 depends on HAS_DMA
babde1c2
SN
100 select VIDEOBUF2_DMA_CONTIG
101 ---help---
102 This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
103 host interface (CAMIF).
104
105 To compile this driver as a module, choose M here: the module
106 will be called s3c-camif.
107
b47ff4a3 108source "drivers/media/platform/soc_camera/Kconfig"
56fa1a6a 109source "drivers/media/platform/exynos4-is/Kconfig"
2c3fb08b 110source "drivers/media/platform/s5p-tv/Kconfig"
417d2e50 111source "drivers/media/platform/am437x/Kconfig"
df330515 112source "drivers/media/platform/xilinx/Kconfig"
f00add96 113source "drivers/media/platform/rcar-vin/Kconfig"
a52074ee 114
343e89a7
BP
115config VIDEO_TI_CAL
116 tristate "TI CAL (Camera Adaptation Layer) driver"
117 depends on VIDEO_DEV && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
118 depends on SOC_DRA7XX || COMPILE_TEST
83446227 119 depends on HAS_DMA
343e89a7
BP
120 select VIDEOBUF2_DMA_CONTIG
121 default n
122 ---help---
123 Support for the TI CAL (Camera Adaptation Layer) block
124 found on DRA72X SoC.
125 In TI Technical Reference Manual this module is referred as
126 Camera Interface Subsystem (CAMSS).
127
e9eb0dad 128endif # V4L_PLATFORM_DRIVERS
7f98639d
PO
129
130menuconfig V4L_MEM2MEM_DRIVERS
131 bool "Memory-to-memory multimedia devices"
132 depends on VIDEO_V4L2
b6334460 133 depends on MEDIA_CAMERA_SUPPORT
7f98639d
PO
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.
96d8eab5
PO
140
141if V4L_MEM2MEM_DRIVERS
142
186b250a
JM
143config VIDEO_CODA
144 tristate "Chips&Media Coda multi-standard codec IP"
1043667b 145 depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
12bd88e6 146 depends on HAS_DMA
e9436344 147 select SRAM
186b250a 148 select VIDEOBUF2_DMA_CONTIG
bb04aa6f 149 select VIDEOBUF2_VMALLOC
186b250a 150 select V4L2_MEM2MEM_DEV
39b06acc 151 select GENERIC_ALLOCATOR
186b250a
JM
152 ---help---
153 Coda is a range of video codec IPs that supports
154 H.264, MPEG-4, and other video formats.
155
3003a180
ACC
156config VIDEO_MEDIATEK_VPU
157 tristate "Mediatek Video Processor Unit"
158 depends on VIDEO_DEV && VIDEO_V4L2
159 depends on ARCH_MEDIATEK || COMPILE_TEST
160 ---help---
161 This driver provides downloading VPU firmware and
162 communicating with VPU. This driver for hw video
163 codec embedded in Mediatek's MT8173 SOCs. It is able
164 to handle video decoding/encoding in a range of formats.
165
166 To compile this driver as a module, choose M here: the
167 module will be called mtk-vpu.
168
4e855a6e
TL
169config VIDEO_MEDIATEK_VCODEC
170 tristate "Mediatek Video Codec driver"
c1023ba7 171 depends on MTK_IOMMU || COMPILE_TEST
73b14977 172 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
4e855a6e
TL
173 depends on ARCH_MEDIATEK || COMPILE_TEST
174 select VIDEOBUF2_DMA_CONTIG
175 select V4L2_MEM2MEM_DEV
176 select VIDEO_MEDIATEK_VPU
177 default n
178 ---help---
179 Mediatek video codec driver provides HW capability to
180 encode and decode in a range of video formats
181 This driver rely on VPU driver to communicate with VPU.
182
183 To compile this driver as a module, choose M here: the
184 module will be called mtk-vcodec
185
8f0755c0
JM
186config VIDEO_MEM2MEM_DEINTERLACE
187 tristate "Deinterlace support"
188 depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
12bd88e6 189 depends on HAS_DMA
8f0755c0
JM
190 select VIDEOBUF2_DMA_CONTIG
191 select V4L2_MEM2MEM_DEV
192 help
193 Generic deinterlacing V4L2 driver.
194
91884734
KD
195config VIDEO_SAMSUNG_S5P_G2D
196 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
7155043c 197 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 198 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 199 depends on HAS_DMA
91884734
KD
200 select VIDEOBUF2_DMA_CONTIG
201 select V4L2_MEM2MEM_DEV
202 default n
203 ---help---
204 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
205 2d graphics accelerator.
5fd8f738 206
bb677f3a 207config VIDEO_SAMSUNG_S5P_JPEG
3246fdaa 208 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
7155043c 209 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 210 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 211 depends on HAS_DMA
bb677f3a
AP
212 select VIDEOBUF2_DMA_CONTIG
213 select V4L2_MEM2MEM_DEV
214 ---help---
3246fdaa
JA
215 This is a v4l2 driver for Samsung S5P, EXYNOS3250
216 and EXYNOS4 JPEG codec
bb677f3a 217
af935746 218config VIDEO_SAMSUNG_S5P_MFC
f96f3cfa 219 tristate "Samsung S5P MFC Video Codec"
7155043c 220 depends on VIDEO_DEV && VIDEO_V4L2
098bcd23 221 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
12bd88e6 222 depends on HAS_DMA
af935746
KD
223 select VIDEOBUF2_DMA_CONTIG
224 default n
225 help
f96f3cfa 226 MFC 5.1 and 6.x driver for V4L2
af935746 227
8091cb7d
JM
228config VIDEO_MX2_EMMAPRP
229 tristate "MX2 eMMa-PrP support"
1c17d8c7
MCC
230 depends on VIDEO_DEV && VIDEO_V4L2
231 depends on SOC_IMX27 || COMPILE_TEST
12bd88e6 232 depends on HAS_DMA
8091cb7d
JM
233 select VIDEOBUF2_DMA_CONTIG
234 select V4L2_MEM2MEM_DEV
235 help
236 MX2X chips have a PrP that can be used to process buffers from
237 memory to memory. Operations include resizing and format
238 conversion.
239
655ceff1
SAB
240config VIDEO_SAMSUNG_EXYNOS_GSC
241 tristate "Samsung Exynos G-Scaler driver"
7155043c
MCC
242 depends on VIDEO_DEV && VIDEO_V4L2
243 depends on ARCH_EXYNOS5 || COMPILE_TEST
12bd88e6 244 depends on HAS_DMA
655ceff1
SAB
245 select VIDEOBUF2_DMA_CONTIG
246 select V4L2_MEM2MEM_DEV
247 help
248 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
249
28ffeebb
FD
250config VIDEO_STI_BDISP
251 tristate "STMicroelectronics BDISP 2D blitter driver"
252 depends on VIDEO_DEV && VIDEO_V4L2
42052076 253 depends on HAS_DMA
28ffeebb 254 depends on ARCH_STI || COMPILE_TEST
28ffeebb
FD
255 select VIDEOBUF2_DMA_CONTIG
256 select V4L2_MEM2MEM_DEV
257 help
258 This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
259
05efa71b
GL
260config VIDEO_SH_VEU
261 tristate "SuperH VEU mem2mem video processing driver"
0244ad00 262 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
05efa71b
GL
263 select VIDEOBUF2_DMA_CONTIG
264 select V4L2_MEM2MEM_DEV
265 help
266 Support for the Video Engine Unit (VEU) on SuperH and
267 SH-Mobile SoCs.
268
2c42cdba
MU
269config VIDEO_RENESAS_JPU
270 tristate "Renesas JPEG Processing Unit"
f8445646 271 depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
71c5daba 272 depends on ARCH_RENESAS || COMPILE_TEST
2c42cdba
MU
273 select VIDEOBUF2_DMA_CONTIG
274 select V4L2_MEM2MEM_DEV
275 ---help---
276 This is a V4L2 driver for the Renesas JPEG Processing Unit.
277
278 To compile this driver as a module, choose M here: the module
279 will be called rcar_jpu.
280
7b49235e
LP
281config VIDEO_RENESAS_FCP
282 tristate "Renesas Frame Compression Processor"
283 depends on ARCH_RENESAS || COMPILE_TEST
284 depends on OF
285 ---help---
286 This is a driver for the Renesas Frame Compression Processor (FCP).
287 The FCP is a companion module of video processing modules in the
288 Renesas R-Car Gen3 SoCs. It handles memory access for the codec,
289 VSP and FDP modules.
290
291 To compile this driver as a module, choose M here: the module
292 will be called rcar-fcp.
293
26e0ca22
LP
294config VIDEO_RENESAS_VSP1
295 tristate "Renesas VSP1 Video Processing Engine"
66bf8fa2 296 depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
71c5daba 297 depends on (ARCH_RENESAS && OF) || COMPILE_TEST
19994673 298 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
26e0ca22
LP
299 select VIDEOBUF2_DMA_CONTIG
300 ---help---
301 This is a V4L2 driver for the Renesas VSP1 video processing engine.
302
303 To compile this driver as a module, choose M here: the module
304 will be called vsp1.
305
45719127
AT
306config VIDEO_TI_VPE
307 tristate "TI VPE (Video Processing Engine) driver"
f3334180
MCC
308 depends on VIDEO_DEV && VIDEO_V4L2
309 depends on SOC_DRA7XX || COMPILE_TEST
12bd88e6 310 depends on HAS_DMA
45719127
AT
311 select VIDEOBUF2_DMA_CONTIG
312 select V4L2_MEM2MEM_DEV
313 default n
314 ---help---
315 Support for the TI VPE(Video Processing Engine) block
316 found on DRA7XX SoC.
317
318config VIDEO_TI_VPE_DEBUG
319 bool "VPE debug messages"
320 depends on VIDEO_TI_VPE
321 ---help---
322 Enable debug messages on VPE driver.
323
96d8eab5 324endif # V4L_MEM2MEM_DRIVERS
cb7a01ac 325
7a46e188
MCC
326menuconfig V4L_TEST_DRIVERS
327 bool "Media test drivers"
328 depends on MEDIA_CAMERA_SUPPORT
329
330if V4L_TEST_DRIVERS
e75420dd
HV
331
332source "drivers/media/platform/vivid/Kconfig"
333
1f923a42
HV
334config VIDEO_VIM2M
335 tristate "Virtual Memory-to-Memory Driver"
7a46e188
MCC
336 depends on VIDEO_DEV && VIDEO_V4L2
337 select VIDEOBUF2_VMALLOC
338 select V4L2_MEM2MEM_DEV
339 default n
340 ---help---
341 This is a virtual test device for the memory-to-memory driver
342 framework.
343endif #V4L_TEST_DRIVERS
850a3f7d 344
ca051897
MCC
345menuconfig DVB_PLATFORM_DRIVERS
346 bool "DVB platform devices"
347 depends on MEDIA_DIGITAL_TV_SUPPORT
348 default n
349 ---help---
350 Say Y here to enable support for platform-specific Digital TV drivers.
351
352if DVB_PLATFORM_DRIVERS
850a3f7d 353source "drivers/media/platform/sti/c8sectpfe/Kconfig"
ca051897 354endif #DVB_PLATFORM_DRIVERS