blob: a3cb104956d5629162d5091de479d723ea50fb2e [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Hans Verkuil044ab152011-09-30 05:05:35 -03002#
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -03003# Platform drivers
Peter Griffin850a3f72015-07-30 14:09:00 -03004# Most drivers here are currently for webcam support
Mauro Carvalho Chehab724f4a32012-05-28 08:17:49 -03005
Hans Verkuile9eb0da2011-11-08 11:02:34 -03006menuconfig V4L_PLATFORM_DRIVERS
7 bool "V4L platform devices"
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -04008 help
Hans Verkuile9eb0da2011-11-08 11:02:34 -03009 Say Y here to enable support for platform-specific V4L drivers.
10
11if V4L_PLATFORM_DRIVERS
12
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030013source "drivers/media/platform/marvell-ccic/Kconfig"
Jonathan Corbetf8fc7292011-06-11 17:46:42 +000014
Hans Verkuil9fa0b852011-09-30 09:06:11 -030015config VIDEO_VIA_CAMERA
16 tristate "VIAFB camera controller support"
Mauro Carvalho Chehab324efc72020-04-23 16:46:07 +020017 depends on FB_VIA && VIDEO_V4L2
Hans Verkuil4590c072019-07-28 10:43:41 -040018 select VIDEOBUF2_DMA_SG
Hans Verkuil9fa0b852011-09-30 09:06:11 -030019 select VIDEO_OV7670
20 help
21 Driver support for the integrated camera controller in VIA
22 Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems
23 with ov7670 sensors.
24
25#
26# Platform multimedia device configuration
27#
Maxime Ripard1fc3b372018-05-04 10:08:08 -040028source "drivers/media/platform/cadence/Kconfig"
Hans Verkuil9fa0b852011-09-30 09:06:11 -030029
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030030source "drivers/media/platform/davinci/Kconfig"
Hans Verkuil9fa0b852011-09-30 09:06:11 -030031
Mauro Carvalho Chehab2c3fb082012-08-14 17:31:16 -030032source "drivers/media/platform/omap/Kconfig"
Hans Verkuil9fa0b852011-09-30 09:06:11 -030033
Eddie Jamesd2b43872018-12-11 11:57:01 -050034config VIDEO_ASPEED
35 tristate "Aspeed AST2400 and AST2500 Video Engine driver"
36 depends on VIDEO_V4L2
37 select VIDEOBUF2_DMA_CONTIG
38 help
39 Support for the Aspeed Video Engine (VE) embedded in the Aspeed
40 AST2400 and AST2500 SOCs. The VE can capture and compress video data
41 from digital or analog sources.
42
Hans Verkuil9fa0b852011-09-30 09:06:11 -030043config VIDEO_SH_VOU
44 tristate "SuperH VOU video output driver"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -040045 depends on VIDEO_DEV && I2C
Laurent Pinchart215c65a02013-11-26 22:18:28 -030046 depends on ARCH_SHMOBILE || COMPILE_TEST
Arnd Bergmann3ff863b2015-10-15 21:35:40 -030047 select VIDEOBUF2_DMA_CONTIG
Hans Verkuil9fa0b852011-09-30 09:06:11 -030048 help
49 Support for the Video Output Unit (VOU) on SuperH SoCs.
50
51config VIDEO_VIU
52 tristate "Freescale VIU Video Driver"
Anders Roxell530d4732018-04-23 15:31:39 -040053 depends on VIDEO_V4L2 && (PPC_MPC512x || COMPILE_TEST) && I2C
Hans Verkuil9fa0b852011-09-30 09:06:11 -030054 select VIDEOBUF_DMA_CONTIG
55 default y
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -040056 help
Hans Verkuil9fa0b852011-09-30 09:06:11 -030057 Support for Freescale VIU video driver. This device captures
58 video data, or overlays video on DIU frame buffer.
59
60 Say Y here if you want to enable VIU device on MPC5121e Rev2+.
61 In doubt, say N.
62
Philipp Zabel68803ad2017-06-07 15:33:55 -030063config VIDEO_MUX
64 tristate "Video Multiplexer"
Philipp Zabel435945e2017-07-18 09:26:00 -040065 select MULTIPLEXER
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +010066 depends on VIDEO_V4L2 && OF
67 select MEDIA_CONTROLLER
68 select VIDEO_V4L2_SUBDEV_API
Philipp Zabel68803ad2017-06-07 15:33:55 -030069 select REGMAP
Steve Longerbeamc5afc782018-09-29 15:54:10 -040070 select V4L2_FWNODE
Philipp Zabel68803ad2017-06-07 15:33:55 -030071 help
72 This driver provides support for N:1 video bus multiplexers.
73
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030074config VIDEO_OMAP3
Kees Cooke141a482013-01-16 18:53:43 -080075 tristate "OMAP 3 Camera support"
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +010076 depends on VIDEO_V4L2 && I2C
Arnd Bergmann24313112018-04-09 05:48:01 -040077 depends on (ARCH_OMAP3 && OMAP_IOMMU) || COMPILE_TEST
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -040078 depends on COMMON_CLK && OF
Arnd Bergmann24313112018-04-09 05:48:01 -040079 select ARM_DMA_USE_IOMMU if OMAP_IOMMU
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +010080 select MEDIA_CONTROLLER
81 select VIDEO_V4L2_SUBDEV_API
Peter Meerwald9aabd952014-07-04 04:51:47 -030082 select VIDEOBUF2_DMA_CONTIG
Sakari Ailus503596a2015-03-25 19:57:34 -030083 select MFD_SYSCON
Sakari Ailus859969b2016-08-26 20:17:25 -030084 select V4L2_FWNODE
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -040085 help
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030086 Driver for an OMAP 3 camera controller.
87
88config VIDEO_OMAP3_DEBUG
89 bool "OMAP 3 Camera debug messages"
90 depends on VIDEO_OMAP3
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -040091 help
Laurent Pinchart7e8970e2011-02-12 18:05:06 -030092 Enable debug messages on OMAP 3 camera controller driver.
93
Robert Jarzmik4bb738f2016-09-06 06:04:23 -030094config VIDEO_PXA27x
95 tristate "PXA27x Quick Capture Interface driver"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -040096 depends on VIDEO_DEV && VIDEO_V4L2
Hans Verkuil5809ecd2016-09-06 07:37:45 -030097 depends on PXA27x || COMPILE_TEST
Robert Jarzmik4bb738f2016-09-06 06:04:23 -030098 select VIDEOBUF2_DMA_SG
99 select SG_SPLIT
Sakari Ailus859969b2016-08-26 20:17:25 -0300100 select V4L2_FWNODE
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400101 help
Robert Jarzmik4bb738f2016-09-06 06:04:23 -0300102 This is a v4l2 driver for the PXA27x Quick Capture Interface
103
Todor Tomovf5c074942017-08-08 09:30:08 -0400104config VIDEO_QCOM_CAMSS
Todor Tomovec6859b2018-07-25 12:38:13 -0400105 tristate "Qualcomm V4L2 Camera Subsystem driver"
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100106 depends on VIDEO_V4L2
Todor Tomovf5c074942017-08-08 09:30:08 -0400107 depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100108 select MEDIA_CONTROLLER
109 select VIDEO_V4L2_SUBDEV_API
Todor Tomovf5c074942017-08-08 09:30:08 -0400110 select VIDEOBUF2_DMA_SG
111 select V4L2_FWNODE
112
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300113config VIDEO_S3C_CAMIF
114 tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100115 depends on VIDEO_V4L2 && I2C && PM
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600116 depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100117 select MEDIA_CONTROLLER
118 select VIDEO_V4L2_SUBDEV_API
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300119 select VIDEOBUF2_DMA_CONTIG
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400120 help
Sylwester Nawrockibabde1c2012-08-22 20:09:18 -0300121 This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
122 host interface (CAMIF).
123
124 To compile this driver as a module, choose M here: the module
125 will be called s3c-camif.
126
Hugues Fruchet37404f92017-05-05 12:31:21 -0300127config VIDEO_STM32_DCMI
128 tristate "STM32 Digital Camera Memory Interface (DCMI) support"
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100129 depends on VIDEO_V4L2 && OF
Hugues Fruchet37404f92017-05-05 12:31:21 -0300130 depends on ARCH_STM32 || COMPILE_TEST
131 select VIDEOBUF2_DMA_CONTIG
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100132 select MEDIA_CONTROLLER
Sakari Ailus859969b2016-08-26 20:17:25 -0300133 select V4L2_FWNODE
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400134 help
Hugues Fruchet37404f92017-05-05 12:31:21 -0300135 This module makes the STM32 Digital Camera Memory Interface (DCMI)
136 available as a v4l2 device.
137
138 To compile this driver as a module, choose M here: the module
139 will be called stm32-dcmi.
140
Jacopo Mondi32e5a702018-02-22 05:37:19 -0500141config VIDEO_RENESAS_CEU
142 tristate "Renesas Capture Engine Unit (CEU) driver"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400143 depends on VIDEO_DEV && VIDEO_V4L2
Jacopo Mondi32e5a702018-02-22 05:37:19 -0500144 depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
145 select VIDEOBUF2_DMA_CONTIG
146 select V4L2_FWNODE
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400147 help
Jacopo Mondi32e5a702018-02-22 05:37:19 -0500148 This is a v4l2 driver for the Renesas CEU Interface
149
Sylwester Nawrocki56fa1a62013-03-24 16:54:25 +0100150source "drivers/media/platform/exynos4-is/Kconfig"
Benoit Parrot417d2e52014-12-09 16:43:44 -0300151source "drivers/media/platform/am437x/Kconfig"
Laurent Pinchartdf330512013-05-15 11:36:19 -0300152source "drivers/media/platform/xilinx/Kconfig"
Niklas Söderlundf00add92016-04-26 10:22:19 -0300153source "drivers/media/platform/rcar-vin/Kconfig"
Songjun Wu10626742016-08-17 03:05:27 -0300154source "drivers/media/platform/atmel/Kconfig"
Maxime Ripard3f0e6df2019-08-22 05:21:13 -0300155source "drivers/media/platform/sunxi/Kconfig"
Tomasz Stanislawskia52074e2011-03-02 13:16:37 -0300156
Benoit Parrot343e89a2016-01-06 21:37:26 -0200157config VIDEO_TI_CAL
158 tristate "TI CAL (Camera Adaptation Layer) driver"
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100159 depends on VIDEO_DEV && VIDEO_V4L2
160 select MEDIA_CONTROLLER
161 select VIDEO_V4L2_SUBDEV_API
Benoit Parrot7a3b9682019-11-12 15:53:42 +0100162 depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
Benoit Parrot343e89a2016-01-06 21:37:26 -0200163 select VIDEOBUF2_DMA_CONTIG
Sakari Ailus859969b2016-08-26 20:17:25 -0300164 select V4L2_FWNODE
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400165 help
Benoit Parrot343e89a2016-01-06 21:37:26 -0200166 Support for the TI CAL (Camera Adaptation Layer) block
167 found on DRA72X SoC.
168 In TI Technical Reference Manual this module is referred as
169 Camera Interface Subsystem (CAMSS).
170
Hans Verkuile9eb0da2011-11-08 11:02:34 -0300171endif # V4L_PLATFORM_DRIVERS
Pawel Osciak7f986392010-04-23 05:38:37 -0300172
173menuconfig V4L_MEM2MEM_DRIVERS
174 bool "Memory-to-memory multimedia devices"
175 depends on VIDEO_V4L2
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400176 help
Pawel Osciak7f986392010-04-23 05:38:37 -0300177 Say Y here to enable selecting drivers for V4L devices that
178 use system memory for both source and destination buffers, as opposed
179 to capture and output drivers, which use memory buffers for just
180 one of those.
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300181
182if V4L_MEM2MEM_DRIVERS
183
Javier Martin186b2502012-07-26 05:53:35 -0300184config VIDEO_CODA
185 tristate "Chips&Media Coda multi-standard codec IP"
Mauro Carvalho Chehabc1b5e3d2017-03-09 16:55:48 -0300186 depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
Fabio Estevame9436342013-09-30 11:12:22 -0300187 select SRAM
Javier Martin186b2502012-07-26 05:53:35 -0300188 select VIDEOBUF2_DMA_CONTIG
Philipp Zabelbb04aa62015-01-23 13:51:30 -0300189 select VIDEOBUF2_VMALLOC
Philipp Zabel12310812020-03-18 19:35:33 +0100190 select V4L2_JPEG_HELPER
Javier Martin186b2502012-07-26 05:53:35 -0300191 select V4L2_MEM2MEM_DEV
Philipp Zabel39b06ac2014-07-11 06:36:25 -0300192 select GENERIC_ALLOCATOR
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400193 help
Javier Martin186b2502012-07-26 05:53:35 -0300194 Coda is a range of video codec IPs that supports
195 H.264, MPEG-4, and other video formats.
196
Philipp Zabelb0444f12017-01-20 12:00:20 -0200197config VIDEO_IMX_VDOA
198 def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
199
Philipp Zabel51abcf72018-09-06 05:02:14 -0400200config VIDEO_IMX_PXP
201 tristate "i.MX Pixel Pipeline (PXP)"
202 depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
203 select VIDEOBUF2_DMA_CONTIG
204 select V4L2_MEM2MEM_DEV
205 help
206 The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
207 color space conversion, and rotation.
208
Rick Changb2f0d272016-12-14 06:04:48 -0200209config VIDEO_MEDIATEK_JPEG
210 tristate "Mediatek JPEG Codec driver"
Maoguang Meng29951072020-01-13 04:52:02 +0100211 depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST
Rick Changb2f0d272016-12-14 06:04:48 -0200212 depends on VIDEO_DEV && VIDEO_V4L2
213 depends on ARCH_MEDIATEK || COMPILE_TEST
Rick Changb2f0d272016-12-14 06:04:48 -0200214 select VIDEOBUF2_DMA_CONTIG
215 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400216 help
Rick Changb2f0d272016-12-14 06:04:48 -0200217 Mediatek jpeg codec driver provides HW capability to decode
218 JPEG format
219
220 To compile this driver as a module, choose M here: the
221 module will be called mtk-jpeg
222
Andrew-CT Chen3003a182016-05-03 07:11:21 -0300223config VIDEO_MEDIATEK_VPU
224 tristate "Mediatek Video Processor Unit"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400225 depends on VIDEO_DEV && VIDEO_V4L2
Andrew-CT Chen3003a182016-05-03 07:11:21 -0300226 depends on ARCH_MEDIATEK || COMPILE_TEST
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400227 help
Andrew-CT Chen3003a182016-05-03 07:11:21 -0300228 This driver provides downloading VPU firmware and
229 communicating with VPU. This driver for hw video
230 codec embedded in Mediatek's MT8173 SOCs. It is able
231 to handle video decoding/encoding in a range of formats.
232
233 To compile this driver as a module, choose M here: the
234 module will be called mtk-vpu.
235
Minghsiu Tsaic8eb2d72016-09-08 10:09:03 -0300236config VIDEO_MEDIATEK_MDP
237 tristate "Mediatek MDP driver"
238 depends on MTK_IOMMU || COMPILE_TEST
239 depends on VIDEO_DEV && VIDEO_V4L2
240 depends on ARCH_MEDIATEK || COMPILE_TEST
Minghsiu Tsaic8eb2d72016-09-08 10:09:03 -0300241 select VIDEOBUF2_DMA_CONTIG
242 select V4L2_MEM2MEM_DEV
243 select VIDEO_MEDIATEK_VPU
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400244 help
Minghsiu Tsaic8eb2d72016-09-08 10:09:03 -0300245 It is a v4l2 driver and present in Mediatek MT8173 SoCs.
246 The driver supports for scaling and color space conversion.
247
248 To compile this driver as a module, choose M here: the
249 module will be called mtk-mdp.
250
Tiffany Lin4e855a62016-05-03 07:11:24 -0300251config VIDEO_MEDIATEK_VCODEC
252 tristate "Mediatek Video Codec driver"
Hans Verkuilc1023ba2016-07-08 16:11:19 -0300253 depends on MTK_IOMMU || COMPILE_TEST
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400254 depends on VIDEO_DEV && VIDEO_V4L2
Tiffany Lin4e855a62016-05-03 07:11:24 -0300255 depends on ARCH_MEDIATEK || COMPILE_TEST
256 select VIDEOBUF2_DMA_CONTIG
257 select V4L2_MEM2MEM_DEV
258 select VIDEO_MEDIATEK_VPU
Yunfei Dongc7244812020-08-21 12:35:54 +0200259 select MTK_SCP
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400260 help
Tiffany Lin4e855a62016-05-03 07:11:24 -0300261 Mediatek video codec driver provides HW capability to
262 encode and decode in a range of video formats
263 This driver rely on VPU driver to communicate with VPU.
264
Alexandre Courbot209d9262020-08-21 12:43:05 +0200265 To compile this driver as modules, choose M here: the
266 modules will be called mtk-vcodec-dec and mtk-vcodec-enc.
Tiffany Lin4e855a62016-05-03 07:11:24 -0300267
Javier Martin8f0755c2012-07-26 05:55:18 -0300268config VIDEO_MEM2MEM_DEINTERLACE
269 tristate "Deinterlace support"
Ezequiel Garcia9e73d232018-05-18 17:07:47 -0400270 depends on VIDEO_DEV && VIDEO_V4L2
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300271 depends on HAS_DMA
Javier Martin8f0755c2012-07-26 05:55:18 -0300272 select VIDEOBUF2_DMA_CONTIG
273 select V4L2_MEM2MEM_DEV
274 help
275 Generic deinterlacing V4L2 driver.
276
Kamil Debski91884732011-10-06 11:32:12 -0300277config VIDEO_SAMSUNG_S5P_G2D
278 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600279 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300280 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Kamil Debski91884732011-10-06 11:32:12 -0300281 select VIDEOBUF2_DMA_CONTIG
282 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400283 help
Kamil Debski91884732011-10-06 11:32:12 -0300284 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
285 2d graphics accelerator.
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300286
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300287config VIDEO_SAMSUNG_S5P_JPEG
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300288 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600289 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300290 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300291 select VIDEOBUF2_DMA_CONTIG
292 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400293 help
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300294 This is a v4l2 driver for Samsung S5P, EXYNOS3250
295 and EXYNOS4 JPEG codec
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300296
Kamil Debskiaf935742011-06-21 10:51:26 -0300297config VIDEO_SAMSUNG_S5P_MFC
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300298 tristate "Samsung S5P MFC Video Codec"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600299 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300300 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Kamil Debskiaf935742011-06-21 10:51:26 -0300301 select VIDEOBUF2_DMA_CONTIG
Kamil Debskiaf935742011-06-21 10:51:26 -0300302 help
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300303 MFC 5.1 and 6.x driver for V4L2
Kamil Debskiaf935742011-06-21 10:51:26 -0300304
Javier Martin8091cb72012-01-13 06:31:02 -0300305config VIDEO_MX2_EMMAPRP
306 tristate "MX2 eMMa-PrP support"
Mauro Carvalho Chehab1c17d8c2014-08-20 13:35:22 -0600307 depends on VIDEO_DEV && VIDEO_V4L2
308 depends on SOC_IMX27 || COMPILE_TEST
Javier Martin8091cb72012-01-13 06:31:02 -0300309 select VIDEOBUF2_DMA_CONTIG
310 select V4L2_MEM2MEM_DEV
311 help
312 MX2X chips have a PrP that can be used to process buffers from
313 memory to memory. Operations include resizing and format
314 conversion.
315
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300316config VIDEO_SAMSUNG_EXYNOS_GSC
317 tristate "Samsung Exynos G-Scaler driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600318 depends on VIDEO_DEV && VIDEO_V4L2
Marek Szyprowski6f99e1b2016-11-09 12:29:37 -0200319 depends on ARCH_EXYNOS || COMPILE_TEST
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300320 select VIDEOBUF2_DMA_CONTIG
321 select V4L2_MEM2MEM_DEV
322 help
323 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
324
Fabien Dessenne28ffeeb2015-05-12 13:02:10 -0300325config VIDEO_STI_BDISP
326 tristate "STMicroelectronics BDISP 2D blitter driver"
327 depends on VIDEO_DEV && VIDEO_V4L2
328 depends on ARCH_STI || COMPILE_TEST
Fabien Dessenne28ffeeb2015-05-12 13:02:10 -0300329 select VIDEOBUF2_DMA_CONTIG
330 select V4L2_MEM2MEM_DEV
331 help
332 This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
333
Jean-Christophe Trotin57b2c062016-09-05 11:06:29 -0300334config VIDEO_STI_HVA
335 tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
336 depends on VIDEO_DEV && VIDEO_V4L2
Jean-Christophe Trotin57b2c062016-09-05 11:06:29 -0300337 depends on ARCH_STI || COMPILE_TEST
338 select VIDEOBUF2_DMA_CONTIG
339 select V4L2_MEM2MEM_DEV
340 help
341 This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
342 video encoder of STMicroelectronics SoC, allowing hardware encoding of
343 raw uncompressed formats in various compressed video bitstreams format.
344
345 To compile this driver as a module, choose M here:
346 the module will be called st-hva.
347
Jean-Christophe Trotinc610b5a2017-01-31 08:37:57 -0200348config VIDEO_STI_HVA_DEBUGFS
349 bool "Export STMicroelectronics HVA internals in debugfs"
350 depends on VIDEO_STI_HVA
351 depends on DEBUG_FS
352 help
353 Select this to see information about the internal state and the last
Mauro Carvalho Chehab4a3fad72018-01-04 06:47:28 -0500354 operation of STMicroelectronics HVA multi-format video encoder in
355 debugfs.
Jean-Christophe Trotinc610b5a2017-01-31 08:37:57 -0200356
Mauro Carvalho Chehab4a3fad72018-01-04 06:47:28 -0500357 Choose N unless you know you need this.
Jean-Christophe Trotinc610b5a2017-01-31 08:37:57 -0200358
Hugues Fruchetf3865092017-02-02 12:59:48 -0200359config VIDEO_STI_DELTA
360 tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
361 depends on VIDEO_DEV && VIDEO_V4L2
362 depends on ARCH_STI || COMPILE_TEST
Hugues Fruchetf3865092017-02-02 12:59:48 -0200363 help
364 This V4L2 driver enables DELTA multi-format video decoder
365 of STMicroelectronics STiH4xx SoC series allowing hardware
366 decoding of various compressed video bitstream format in
367 raw uncompressed format.
368
369 Use this option to see the decoders available for such
370 hardware.
371
372 Please notice that the driver will only be built if
373 at least one of the DELTA decoder below is selected.
374
375if VIDEO_STI_DELTA
376
Hugues Fruchet433ff5b42017-02-02 12:59:52 -0200377config VIDEO_STI_DELTA_MJPEG
378 bool "STMicroelectronics DELTA MJPEG support"
379 default y
380 help
381 Enables DELTA MJPEG hardware support.
382
383 To compile this driver as a module, choose M here:
384 the module will be called st-delta.
385
Hugues Fruchetf3865092017-02-02 12:59:48 -0200386config VIDEO_STI_DELTA_DRIVER
387 tristate
388 depends on VIDEO_STI_DELTA
Hugues Fruchet433ff5b42017-02-02 12:59:52 -0200389 depends on VIDEO_STI_DELTA_MJPEG
390 default VIDEO_STI_DELTA_MJPEG
Hugues Fruchetf3865092017-02-02 12:59:48 -0200391 select VIDEOBUF2_DMA_CONTIG
392 select V4L2_MEM2MEM_DEV
Hugues Fruchet91c83f32017-02-02 12:59:50 -0200393 select RPMSG
Hugues Fruchetf3865092017-02-02 12:59:48 -0200394
395endif # VIDEO_STI_DELTA
396
Kieran Bingham4710b752016-06-30 10:41:23 -0300397config VIDEO_RENESAS_FDP1
398 tristate "Renesas Fine Display Processor"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400399 depends on VIDEO_DEV && VIDEO_V4L2
Geert Uytterhoeven4e61d7d2018-05-18 06:51:23 -0400400 depends on ARCH_RENESAS || COMPILE_TEST
Laurent Pinchart23178302018-07-11 10:23:32 -0400401 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
Kieran Bingham4710b752016-06-30 10:41:23 -0300402 select VIDEOBUF2_DMA_CONTIG
403 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400404 help
Kieran Bingham4710b752016-06-30 10:41:23 -0300405 This is a V4L2 driver for the Renesas Fine Display Processor
406 providing colour space conversion, and de-interlacing features.
407
408 To compile this driver as a module, choose M here: the module
409 will be called rcar_fdp1.
410
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300411config VIDEO_RENESAS_JPU
412 tristate "Renesas JPEG Processing Unit"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400413 depends on VIDEO_DEV && VIDEO_V4L2
Simon Horman71c5dab2016-03-24 22:46:45 -0300414 depends on ARCH_RENESAS || COMPILE_TEST
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300415 select VIDEOBUF2_DMA_CONTIG
416 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400417 help
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300418 This is a V4L2 driver for the Renesas JPEG Processing Unit.
419
420 To compile this driver as a module, choose M here: the module
421 will be called rcar_jpu.
422
Laurent Pinchart7b492352016-02-11 22:29:58 -0200423config VIDEO_RENESAS_FCP
424 tristate "Renesas Frame Compression Processor"
425 depends on ARCH_RENESAS || COMPILE_TEST
426 depends on OF
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400427 help
Laurent Pinchart7b492352016-02-11 22:29:58 -0200428 This is a driver for the Renesas Frame Compression Processor (FCP).
429 The FCP is a companion module of video processing modules in the
Lad Prabhakare2d7dac2020-09-11 12:10:46 +0200430 Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
431 the codec, VSP and FDP modules.
Laurent Pinchart7b492352016-02-11 22:29:58 -0200432
433 To compile this driver as a module, choose M here: the module
434 will be called rcar-fcp.
435
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300436config VIDEO_RENESAS_VSP1
437 tristate "Renesas VSP1 Video Processing Engine"
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100438 depends on VIDEO_V4L2
Geert Uytterhoeven01f7b2e2018-02-26 13:09:10 -0500439 depends on ARCH_RENESAS || COMPILE_TEST
Arnd Bergmann19994672016-06-30 09:23:03 -0300440 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100441 select MEDIA_CONTROLLER
442 select VIDEO_V4L2_SUBDEV_API
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300443 select VIDEOBUF2_DMA_CONTIG
Laurent Pinchart99362e32016-09-07 08:58:49 -0300444 select VIDEOBUF2_VMALLOC
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400445 help
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300446 This is a V4L2 driver for the Renesas VSP1 video processing engine.
447
448 To compile this driver as a module, choose M here: the module
449 will be called vsp1.
450
Jacob Chenf7e7b482017-10-11 00:29:35 -0700451config VIDEO_ROCKCHIP_RGA
452 tristate "Rockchip Raster 2d Graphic Acceleration Unit"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400453 depends on VIDEO_DEV && VIDEO_V4L2
Jacob Chenf7e7b482017-10-11 00:29:35 -0700454 depends on ARCH_ROCKCHIP || COMPILE_TEST
455 select VIDEOBUF2_DMA_SG
456 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400457 help
Jacob Chenf7e7b482017-10-11 00:29:35 -0700458 This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
459 Rockchip RGA is a separate 2D raster graphic acceleration unit.
460 It accelerates 2D graphics operations, such as point/line drawing,
461 image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
462
463 To compile this driver as a module choose m here.
464
Archit Taneja45719122013-10-16 02:36:47 -0300465config VIDEO_TI_VPE
466 tristate "TI VPE (Video Processing Engine) driver"
Mauro Carvalho Chehabf3334182014-08-20 13:41:56 -0600467 depends on VIDEO_DEV && VIDEO_V4L2
468 depends on SOC_DRA7XX || COMPILE_TEST
Archit Taneja45719122013-10-16 02:36:47 -0300469 select VIDEOBUF2_DMA_CONTIG
470 select V4L2_MEM2MEM_DEV
Benoit Parrote4e9aea2016-11-18 21:20:11 -0200471 select VIDEO_TI_VPDMA
Benoit Parrot1c6e8172016-11-18 21:20:39 -0200472 select VIDEO_TI_SC
Benoit Parrot51b56c32016-11-18 21:20:43 -0200473 select VIDEO_TI_CSC
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400474 help
Archit Taneja45719122013-10-16 02:36:47 -0300475 Support for the TI VPE(Video Processing Engine) block
476 found on DRA7XX SoC.
477
478config VIDEO_TI_VPE_DEBUG
479 bool "VPE debug messages"
480 depends on VIDEO_TI_VPE
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400481 help
Archit Taneja45719122013-10-16 02:36:47 -0300482 Enable debug messages on VPE driver.
483
Stanimir Varbanov70352802017-06-15 13:31:50 -0300484config VIDEO_QCOM_VENUS
485 tristate "Qualcomm Venus V4L2 encoder/decoder driver"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400486 depends on VIDEO_DEV && VIDEO_V4L2
Stanimir Varbanov76724b32017-06-20 10:13:50 -0300487 depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
Stanimir Varbanov32f0a6d2019-08-13 12:25:08 -0300488 depends on INTERCONNECT || !INTERCONNECT
Arnd Bergmann0399b692017-07-17 04:56:49 -0400489 select QCOM_MDT_LOADER if ARCH_QCOM
490 select QCOM_SCM if ARCH_QCOM
Stanimir Varbanov70352802017-06-15 13:31:50 -0300491 select VIDEOBUF2_DMA_SG
492 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400493 help
Stanimir Varbanov70352802017-06-15 13:31:50 -0300494 This is a V4L2 driver for Qualcomm Venus video accelerator
495 hardware. It accelerates encoding and decoding operations
496 on various Qualcomm SoCs.
497 To compile this driver as a module choose m here.
498
Jernej Skrabeca4260ea2019-10-23 19:13:31 -0300499config VIDEO_SUN8I_DEINTERLACE
500 tristate "Allwinner Deinterlace driver"
501 depends on VIDEO_DEV && VIDEO_V4L2
502 depends on ARCH_SUNXI || COMPILE_TEST
503 depends on COMMON_CLK && OF
504 depends on PM
505 select VIDEOBUF2_DMA_CONTIG
506 select V4L2_MEM2MEM_DEV
507 help
508 Support for the Allwinner deinterlace unit with scaling
509 capability found on some SoCs, like H3.
510 To compile this driver as a module choose m here.
511
Jernej Skrabecd77182a2020-01-25 00:20:12 +0100512config VIDEO_SUN8I_ROTATE
513 tristate "Allwinner DE2 rotation driver"
514 depends on VIDEO_DEV && VIDEO_V4L2
515 depends on ARCH_SUNXI || COMPILE_TEST
516 depends on COMMON_CLK && OF
517 depends on PM
518 select VIDEOBUF2_DMA_CONTIG
519 select V4L2_MEM2MEM_DEV
520 help
521 Support for the Allwinner DE2 rotation unit.
522 To compile this driver as a module choose m here.
523
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300524endif # V4L_MEM2MEM_DRIVERS
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300525
Benoit Parrote4e9aea2016-11-18 21:20:11 -0200526# TI VIDEO PORT Helper Modules
527# These will be selected by VPE and VIP
528config VIDEO_TI_VPDMA
529 tristate
530
Benoit Parrot1c6e8172016-11-18 21:20:39 -0200531config VIDEO_TI_SC
532 tristate
533
Benoit Parrot51b56c32016-11-18 21:20:43 -0200534config VIDEO_TI_CSC
535 tristate
536
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300537menuconfig DVB_PLATFORM_DRIVERS
538 bool "DVB platform devices"
Mauro Carvalho Chehab85f7cd32020-04-14 11:00:30 +0200539 depends on MEDIA_DIGITAL_TV_SUPPORT
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400540 help
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300541 Say Y here to enable support for platform-specific Digital TV drivers.
542
543if DVB_PLATFORM_DRIVERS
Peter Griffin850a3f72015-07-30 14:09:00 -0300544source "drivers/media/platform/sti/c8sectpfe/Kconfig"
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300545endif #DVB_PLATFORM_DRIVERS
Hans Verkuil56a263a2017-04-17 07:44:35 -0300546
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300547menuconfig SDR_PLATFORM_DRIVERS
548 bool "SDR platform devices"
549 depends on MEDIA_SDR_SUPPORT
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400550 help
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300551 Say Y here to enable support for platform-specific SDR Drivers.
552
553if SDR_PLATFORM_DRIVERS
554
555config VIDEO_RCAR_DRIF
Mauro Carvalho Chehab8b72c182019-02-18 14:29:00 -0500556 tristate "Renesas Digital Radio Interface (DRIF)"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400557 depends on VIDEO_V4L2
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300558 depends on ARCH_RENESAS || COMPILE_TEST
559 select VIDEOBUF2_VMALLOC
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400560 help
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300561 Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
562 Radio Interface that interfaces with an RF front end chip. It is a
563 receiver of digital data which uses DMA to transfer received data to
564 a configured location for an application to use.
565
566 To compile this driver as a module, choose M here; the module
567 will be called rcar_drif.
568
569endif # SDR_PLATFORM_DRIVERS