blob: 7e152bbb4fa66ef46db0a16048437d97461ce6ad [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
Alexandre Courbot2da185d2020-10-13 14:44:28 +0200256 depends on VIDEO_MEDIATEK_VPU || MTK_SCP
257 # The two following lines ensure we have the same state ("m" or "y") as
258 # our dependencies, to avoid missing symbols during link.
259 depends on VIDEO_MEDIATEK_VPU || !VIDEO_MEDIATEK_VPU
260 depends on MTK_SCP || !MTK_SCP
Tiffany Lin4e855a62016-05-03 07:11:24 -0300261 select VIDEOBUF2_DMA_CONTIG
262 select V4L2_MEM2MEM_DEV
Alexandre Courbot2da185d2020-10-13 14:44:28 +0200263 select VIDEO_MEDIATEK_VCODEC_VPU if VIDEO_MEDIATEK_VPU
264 select VIDEO_MEDIATEK_VCODEC_SCP if MTK_SCP
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400265 help
Alexandre Courbot2da185d2020-10-13 14:44:28 +0200266 Mediatek video codec driver provides HW capability to
267 encode and decode in a range of video formats on MT8173
268 and MT8183.
Tiffany Lin4e855a62016-05-03 07:11:24 -0300269
Alexandre Courbot2da185d2020-10-13 14:44:28 +0200270 Note that support for MT8173 requires VIDEO_MEDIATEK_VPU to
271 also be selected. Support for MT8183 depends on MTK_SCP.
272
273 To compile this driver as modules, choose M here: the
274 modules will be called mtk-vcodec-dec and mtk-vcodec-enc.
275
276config VIDEO_MEDIATEK_VCODEC_VPU
277 bool
278
279config VIDEO_MEDIATEK_VCODEC_SCP
280 bool
Tiffany Lin4e855a62016-05-03 07:11:24 -0300281
Javier Martin8f0755c2012-07-26 05:55:18 -0300282config VIDEO_MEM2MEM_DEINTERLACE
283 tristate "Deinterlace support"
Ezequiel Garcia9e73d232018-05-18 17:07:47 -0400284 depends on VIDEO_DEV && VIDEO_V4L2
Mauro Carvalho Chehab12bd88e2014-08-26 16:45:39 -0300285 depends on HAS_DMA
Javier Martin8f0755c2012-07-26 05:55:18 -0300286 select VIDEOBUF2_DMA_CONTIG
287 select V4L2_MEM2MEM_DEV
288 help
289 Generic deinterlacing V4L2 driver.
290
Kamil Debski91884732011-10-06 11:32:12 -0300291config VIDEO_SAMSUNG_S5P_G2D
292 tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600293 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300294 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Kamil Debski91884732011-10-06 11:32:12 -0300295 select VIDEOBUF2_DMA_CONTIG
296 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400297 help
Kamil Debski91884732011-10-06 11:32:12 -0300298 This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
299 2d graphics accelerator.
Sylwester Nawrocki5fd8f732010-08-03 09:50:29 -0300300
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300301config VIDEO_SAMSUNG_S5P_JPEG
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300302 tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600303 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300304 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300305 select VIDEOBUF2_DMA_CONTIG
306 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400307 help
Jacek Anaszewski3246fda2014-07-11 12:19:42 -0300308 This is a v4l2 driver for Samsung S5P, EXYNOS3250
309 and EXYNOS4 JPEG codec
Andrzej Pietrasiewiczbb677f32011-11-24 11:15:23 -0300310
Kamil Debskiaf935742011-06-21 10:51:26 -0300311config VIDEO_SAMSUNG_S5P_MFC
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300312 tristate "Samsung S5P MFC Video Codec"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600313 depends on VIDEO_DEV && VIDEO_V4L2
Sylwester Nawrocki098bcd22014-10-06 13:08:06 -0300314 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
Kamil Debskiaf935742011-06-21 10:51:26 -0300315 select VIDEOBUF2_DMA_CONTIG
Kamil Debskiaf935742011-06-21 10:51:26 -0300316 help
Jeongtae Parkf96f3cf2012-10-03 22:19:11 -0300317 MFC 5.1 and 6.x driver for V4L2
Kamil Debskiaf935742011-06-21 10:51:26 -0300318
Javier Martin8091cb72012-01-13 06:31:02 -0300319config VIDEO_MX2_EMMAPRP
320 tristate "MX2 eMMa-PrP support"
Mauro Carvalho Chehab1c17d8c2014-08-20 13:35:22 -0600321 depends on VIDEO_DEV && VIDEO_V4L2
322 depends on SOC_IMX27 || COMPILE_TEST
Javier Martin8091cb72012-01-13 06:31:02 -0300323 select VIDEOBUF2_DMA_CONTIG
324 select V4L2_MEM2MEM_DEV
325 help
326 MX2X chips have a PrP that can be used to process buffers from
327 memory to memory. Operations include resizing and format
328 conversion.
329
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300330config VIDEO_SAMSUNG_EXYNOS_GSC
331 tristate "Samsung Exynos G-Scaler driver"
Mauro Carvalho Chehab71550432014-08-20 13:21:35 -0600332 depends on VIDEO_DEV && VIDEO_V4L2
Marek Szyprowski6f99e1b2016-11-09 12:29:37 -0200333 depends on ARCH_EXYNOS || COMPILE_TEST
Shaik Ameer Basha655ceff2012-08-16 10:19:56 -0300334 select VIDEOBUF2_DMA_CONTIG
335 select V4L2_MEM2MEM_DEV
336 help
337 This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
338
Fabien Dessenne28ffeeb2015-05-12 13:02:10 -0300339config VIDEO_STI_BDISP
340 tristate "STMicroelectronics BDISP 2D blitter driver"
341 depends on VIDEO_DEV && VIDEO_V4L2
342 depends on ARCH_STI || COMPILE_TEST
Fabien Dessenne28ffeeb2015-05-12 13:02:10 -0300343 select VIDEOBUF2_DMA_CONTIG
344 select V4L2_MEM2MEM_DEV
345 help
346 This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
347
Jean-Christophe Trotin57b2c062016-09-05 11:06:29 -0300348config VIDEO_STI_HVA
349 tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
350 depends on VIDEO_DEV && VIDEO_V4L2
Jean-Christophe Trotin57b2c062016-09-05 11:06:29 -0300351 depends on ARCH_STI || COMPILE_TEST
352 select VIDEOBUF2_DMA_CONTIG
353 select V4L2_MEM2MEM_DEV
354 help
355 This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
356 video encoder of STMicroelectronics SoC, allowing hardware encoding of
357 raw uncompressed formats in various compressed video bitstreams format.
358
359 To compile this driver as a module, choose M here:
360 the module will be called st-hva.
361
Jean-Christophe Trotinc610b5a2017-01-31 08:37:57 -0200362config VIDEO_STI_HVA_DEBUGFS
363 bool "Export STMicroelectronics HVA internals in debugfs"
364 depends on VIDEO_STI_HVA
365 depends on DEBUG_FS
366 help
367 Select this to see information about the internal state and the last
Mauro Carvalho Chehab4a3fad72018-01-04 06:47:28 -0500368 operation of STMicroelectronics HVA multi-format video encoder in
369 debugfs.
Jean-Christophe Trotinc610b5a2017-01-31 08:37:57 -0200370
Mauro Carvalho Chehab4a3fad72018-01-04 06:47:28 -0500371 Choose N unless you know you need this.
Jean-Christophe Trotinc610b5a2017-01-31 08:37:57 -0200372
Hugues Fruchetf3865092017-02-02 12:59:48 -0200373config VIDEO_STI_DELTA
374 tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
375 depends on VIDEO_DEV && VIDEO_V4L2
376 depends on ARCH_STI || COMPILE_TEST
Hugues Fruchetf3865092017-02-02 12:59:48 -0200377 help
378 This V4L2 driver enables DELTA multi-format video decoder
379 of STMicroelectronics STiH4xx SoC series allowing hardware
380 decoding of various compressed video bitstream format in
381 raw uncompressed format.
382
383 Use this option to see the decoders available for such
384 hardware.
385
386 Please notice that the driver will only be built if
387 at least one of the DELTA decoder below is selected.
388
389if VIDEO_STI_DELTA
390
Hugues Fruchet433ff5b42017-02-02 12:59:52 -0200391config VIDEO_STI_DELTA_MJPEG
392 bool "STMicroelectronics DELTA MJPEG support"
393 default y
394 help
395 Enables DELTA MJPEG hardware support.
396
397 To compile this driver as a module, choose M here:
398 the module will be called st-delta.
399
Hugues Fruchetf3865092017-02-02 12:59:48 -0200400config VIDEO_STI_DELTA_DRIVER
401 tristate
402 depends on VIDEO_STI_DELTA
Hugues Fruchet433ff5b42017-02-02 12:59:52 -0200403 depends on VIDEO_STI_DELTA_MJPEG
404 default VIDEO_STI_DELTA_MJPEG
Hugues Fruchetf3865092017-02-02 12:59:48 -0200405 select VIDEOBUF2_DMA_CONTIG
406 select V4L2_MEM2MEM_DEV
Hugues Fruchet91c83f32017-02-02 12:59:50 -0200407 select RPMSG
Hugues Fruchetf3865092017-02-02 12:59:48 -0200408
409endif # VIDEO_STI_DELTA
410
Kieran Bingham4710b752016-06-30 10:41:23 -0300411config VIDEO_RENESAS_FDP1
412 tristate "Renesas Fine Display Processor"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400413 depends on VIDEO_DEV && VIDEO_V4L2
Geert Uytterhoeven4e61d7d2018-05-18 06:51:23 -0400414 depends on ARCH_RENESAS || COMPILE_TEST
Laurent Pinchart23178302018-07-11 10:23:32 -0400415 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
Kieran Bingham4710b752016-06-30 10:41:23 -0300416 select VIDEOBUF2_DMA_CONTIG
417 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400418 help
Kieran Bingham4710b752016-06-30 10:41:23 -0300419 This is a V4L2 driver for the Renesas Fine Display Processor
420 providing colour space conversion, and de-interlacing features.
421
422 To compile this driver as a module, choose M here: the module
423 will be called rcar_fdp1.
424
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300425config VIDEO_RENESAS_JPU
426 tristate "Renesas JPEG Processing Unit"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400427 depends on VIDEO_DEV && VIDEO_V4L2
Simon Horman71c5dab2016-03-24 22:46:45 -0300428 depends on ARCH_RENESAS || COMPILE_TEST
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300429 select VIDEOBUF2_DMA_CONTIG
430 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400431 help
Mikhail Ulyanov2c42cdb2015-07-22 08:23:03 -0300432 This is a V4L2 driver for the Renesas JPEG Processing Unit.
433
434 To compile this driver as a module, choose M here: the module
435 will be called rcar_jpu.
436
Laurent Pinchart7b492352016-02-11 22:29:58 -0200437config VIDEO_RENESAS_FCP
438 tristate "Renesas Frame Compression Processor"
439 depends on ARCH_RENESAS || COMPILE_TEST
440 depends on OF
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400441 help
Laurent Pinchart7b492352016-02-11 22:29:58 -0200442 This is a driver for the Renesas Frame Compression Processor (FCP).
443 The FCP is a companion module of video processing modules in the
Lad Prabhakare2d7dac2020-09-11 12:10:46 +0200444 Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
445 the codec, VSP and FDP modules.
Laurent Pinchart7b492352016-02-11 22:29:58 -0200446
447 To compile this driver as a module, choose M here: the module
448 will be called rcar-fcp.
449
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300450config VIDEO_RENESAS_VSP1
451 tristate "Renesas VSP1 Video Processing Engine"
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100452 depends on VIDEO_V4L2
Geert Uytterhoeven01f7b2e2018-02-26 13:09:10 -0500453 depends on ARCH_RENESAS || COMPILE_TEST
Arnd Bergmann19994672016-06-30 09:23:03 -0300454 depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
Mauro Carvalho Chehab32a363d2020-03-25 15:36:56 +0100455 select MEDIA_CONTROLLER
456 select VIDEO_V4L2_SUBDEV_API
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300457 select VIDEOBUF2_DMA_CONTIG
Laurent Pinchart99362e32016-09-07 08:58:49 -0300458 select VIDEOBUF2_VMALLOC
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400459 help
Laurent Pinchart26e0ca22013-06-04 11:22:30 -0300460 This is a V4L2 driver for the Renesas VSP1 video processing engine.
461
462 To compile this driver as a module, choose M here: the module
463 will be called vsp1.
464
Jacob Chenf7e7b482017-10-11 00:29:35 -0700465config VIDEO_ROCKCHIP_RGA
466 tristate "Rockchip Raster 2d Graphic Acceleration Unit"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400467 depends on VIDEO_DEV && VIDEO_V4L2
Jacob Chenf7e7b482017-10-11 00:29:35 -0700468 depends on ARCH_ROCKCHIP || COMPILE_TEST
469 select VIDEOBUF2_DMA_SG
470 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400471 help
Jacob Chenf7e7b482017-10-11 00:29:35 -0700472 This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
473 Rockchip RGA is a separate 2D raster graphic acceleration unit.
474 It accelerates 2D graphics operations, such as point/line drawing,
475 image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
476
477 To compile this driver as a module choose m here.
478
Archit Taneja45719122013-10-16 02:36:47 -0300479config VIDEO_TI_VPE
480 tristate "TI VPE (Video Processing Engine) driver"
Mauro Carvalho Chehabf3334182014-08-20 13:41:56 -0600481 depends on VIDEO_DEV && VIDEO_V4L2
482 depends on SOC_DRA7XX || COMPILE_TEST
Archit Taneja45719122013-10-16 02:36:47 -0300483 select VIDEOBUF2_DMA_CONTIG
484 select V4L2_MEM2MEM_DEV
Benoit Parrote4e9aea2016-11-18 21:20:11 -0200485 select VIDEO_TI_VPDMA
Benoit Parrot1c6e8172016-11-18 21:20:39 -0200486 select VIDEO_TI_SC
Benoit Parrot51b56c32016-11-18 21:20:43 -0200487 select VIDEO_TI_CSC
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400488 help
Archit Taneja45719122013-10-16 02:36:47 -0300489 Support for the TI VPE(Video Processing Engine) block
490 found on DRA7XX SoC.
491
492config VIDEO_TI_VPE_DEBUG
493 bool "VPE debug messages"
494 depends on VIDEO_TI_VPE
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400495 help
Archit Taneja45719122013-10-16 02:36:47 -0300496 Enable debug messages on VPE driver.
497
Stanimir Varbanov70352802017-06-15 13:31:50 -0300498config VIDEO_QCOM_VENUS
499 tristate "Qualcomm Venus V4L2 encoder/decoder driver"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400500 depends on VIDEO_DEV && VIDEO_V4L2
Stanimir Varbanov76724b32017-06-20 10:13:50 -0300501 depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
Stanimir Varbanov32f0a6d2019-08-13 12:25:08 -0300502 depends on INTERCONNECT || !INTERCONNECT
Arnd Bergmann0399b692017-07-17 04:56:49 -0400503 select QCOM_MDT_LOADER if ARCH_QCOM
504 select QCOM_SCM if ARCH_QCOM
Stanimir Varbanov70352802017-06-15 13:31:50 -0300505 select VIDEOBUF2_DMA_SG
506 select V4L2_MEM2MEM_DEV
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400507 help
Stanimir Varbanov70352802017-06-15 13:31:50 -0300508 This is a V4L2 driver for Qualcomm Venus video accelerator
509 hardware. It accelerates encoding and decoding operations
510 on various Qualcomm SoCs.
511 To compile this driver as a module choose m here.
512
Jernej Skrabeca4260ea2019-10-23 19:13:31 -0300513config VIDEO_SUN8I_DEINTERLACE
514 tristate "Allwinner Deinterlace driver"
515 depends on VIDEO_DEV && VIDEO_V4L2
516 depends on ARCH_SUNXI || COMPILE_TEST
517 depends on COMMON_CLK && OF
518 depends on PM
519 select VIDEOBUF2_DMA_CONTIG
520 select V4L2_MEM2MEM_DEV
521 help
522 Support for the Allwinner deinterlace unit with scaling
523 capability found on some SoCs, like H3.
524 To compile this driver as a module choose m here.
525
Jernej Skrabecd77182a2020-01-25 00:20:12 +0100526config VIDEO_SUN8I_ROTATE
527 tristate "Allwinner DE2 rotation driver"
528 depends on VIDEO_DEV && VIDEO_V4L2
529 depends on ARCH_SUNXI || COMPILE_TEST
530 depends on COMMON_CLK && OF
531 depends on PM
532 select VIDEOBUF2_DMA_CONTIG
533 select V4L2_MEM2MEM_DEV
534 help
535 Support for the Allwinner DE2 rotation unit.
536 To compile this driver as a module choose m here.
537
Pawel Osciak96d8eab2010-04-23 05:38:38 -0300538endif # V4L_MEM2MEM_DRIVERS
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300539
Benoit Parrote4e9aea2016-11-18 21:20:11 -0200540# TI VIDEO PORT Helper Modules
541# These will be selected by VPE and VIP
542config VIDEO_TI_VPDMA
543 tristate
544
Benoit Parrot1c6e8172016-11-18 21:20:39 -0200545config VIDEO_TI_SC
546 tristate
547
Benoit Parrot51b56c32016-11-18 21:20:43 -0200548config VIDEO_TI_CSC
549 tristate
550
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300551menuconfig DVB_PLATFORM_DRIVERS
552 bool "DVB platform devices"
Mauro Carvalho Chehab85f7cd32020-04-14 11:00:30 +0200553 depends on MEDIA_DIGITAL_TV_SUPPORT
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400554 help
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300555 Say Y here to enable support for platform-specific Digital TV drivers.
556
557if DVB_PLATFORM_DRIVERS
Peter Griffin850a3f72015-07-30 14:09:00 -0300558source "drivers/media/platform/sti/c8sectpfe/Kconfig"
Mauro Carvalho Chehabca051892015-08-11 19:24:05 -0300559endif #DVB_PLATFORM_DRIVERS
Hans Verkuil56a263a2017-04-17 07:44:35 -0300560
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300561menuconfig SDR_PLATFORM_DRIVERS
562 bool "SDR platform devices"
563 depends on MEDIA_SDR_SUPPORT
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400564 help
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300565 Say Y here to enable support for platform-specific SDR Drivers.
566
567if SDR_PLATFORM_DRIVERS
568
569config VIDEO_RCAR_DRIF
Mauro Carvalho Chehab8b72c182019-02-18 14:29:00 -0500570 tristate "Renesas Digital Radio Interface (DRIF)"
Geert Uytterhoeven4cff79e2018-05-17 13:18:12 -0400571 depends on VIDEO_V4L2
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300572 depends on ARCH_RENESAS || COMPILE_TEST
573 select VIDEOBUF2_VMALLOC
Mauro Carvalho Chehabb60a5b82019-03-20 06:39:44 -0400574 help
Ramesh Shanmugasundaram7625ee92017-06-12 10:26:19 -0300575 Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
576 Radio Interface that interfaces with an RF front end chip. It is a
577 receiver of digital data which uses DMA to transfer received data to
578 a configured location for an application to use.
579
580 To compile this driver as a module, choose M here; the module
581 will be called rcar_drif.
582
583endif # SDR_PLATFORM_DRIVERS