18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Platform drivers
48c2ecf20Sopenharmony_ci#	Most drivers here are currently for webcam support
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cimenuconfig V4L_PLATFORM_DRIVERS
78c2ecf20Sopenharmony_ci	bool "V4L platform devices"
88c2ecf20Sopenharmony_ci	help
98c2ecf20Sopenharmony_ci	  Say Y here to enable support for platform-specific V4L drivers.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciif V4L_PLATFORM_DRIVERS
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_cisource "drivers/media/platform/marvell-ccic/Kconfig"
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciconfig VIDEO_VIA_CAMERA
168c2ecf20Sopenharmony_ci	tristate "VIAFB camera controller support"
178c2ecf20Sopenharmony_ci	depends on FB_VIA && VIDEO_V4L2
188c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_SG
198c2ecf20Sopenharmony_ci	select VIDEO_OV7670
208c2ecf20Sopenharmony_ci	help
218c2ecf20Sopenharmony_ci	   Driver support for the integrated camera controller in VIA
228c2ecf20Sopenharmony_ci	   Chrome9 chipsets.  Currently only tested on OLPC xo-1.5 systems
238c2ecf20Sopenharmony_ci	   with ov7670 sensors.
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#
268c2ecf20Sopenharmony_ci# Platform multimedia device configuration
278c2ecf20Sopenharmony_ci#
288c2ecf20Sopenharmony_cisource "drivers/media/platform/cadence/Kconfig"
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_cisource "drivers/media/platform/davinci/Kconfig"
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_cisource "drivers/media/platform/omap/Kconfig"
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciconfig VIDEO_ASPEED
358c2ecf20Sopenharmony_ci	tristate "Aspeed AST2400 and AST2500 Video Engine driver"
368c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2
378c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
388c2ecf20Sopenharmony_ci	help
398c2ecf20Sopenharmony_ci	  Support for the Aspeed Video Engine (VE) embedded in the Aspeed
408c2ecf20Sopenharmony_ci	  AST2400 and AST2500 SOCs. The VE can capture and compress video data
418c2ecf20Sopenharmony_ci	  from digital or analog sources.
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciconfig VIDEO_SH_VOU
448c2ecf20Sopenharmony_ci	tristate "SuperH VOU video output driver"
458c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && I2C
468c2ecf20Sopenharmony_ci	depends on ARCH_SHMOBILE || COMPILE_TEST
478c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
488c2ecf20Sopenharmony_ci	help
498c2ecf20Sopenharmony_ci	  Support for the Video Output Unit (VOU) on SuperH SoCs.
508c2ecf20Sopenharmony_ci
518c2ecf20Sopenharmony_ciconfig VIDEO_VIU
528c2ecf20Sopenharmony_ci	tristate "Freescale VIU Video Driver"
538c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2 && (PPC_MPC512x || COMPILE_TEST) && I2C
548c2ecf20Sopenharmony_ci	select VIDEOBUF_DMA_CONTIG
558c2ecf20Sopenharmony_ci	default y
568c2ecf20Sopenharmony_ci	help
578c2ecf20Sopenharmony_ci	  Support for Freescale VIU video driver. This device captures
588c2ecf20Sopenharmony_ci	  video data, or overlays video on DIU frame buffer.
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci	  Say Y here if you want to enable VIU device on MPC5121e Rev2+.
618c2ecf20Sopenharmony_ci	  In doubt, say N.
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ciconfig VIDEO_MUX
648c2ecf20Sopenharmony_ci	tristate "Video Multiplexer"
658c2ecf20Sopenharmony_ci	select MULTIPLEXER
668c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2 && OF
678c2ecf20Sopenharmony_ci	select MEDIA_CONTROLLER
688c2ecf20Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
698c2ecf20Sopenharmony_ci	select REGMAP
708c2ecf20Sopenharmony_ci	select V4L2_FWNODE
718c2ecf20Sopenharmony_ci	help
728c2ecf20Sopenharmony_ci	  This driver provides support for N:1 video bus multiplexers.
738c2ecf20Sopenharmony_ci
748c2ecf20Sopenharmony_ciconfig VIDEO_OMAP3
758c2ecf20Sopenharmony_ci	tristate "OMAP 3 Camera support"
768c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2 && I2C
778c2ecf20Sopenharmony_ci	depends on (ARCH_OMAP3 && OMAP_IOMMU) || COMPILE_TEST
788c2ecf20Sopenharmony_ci	depends on COMMON_CLK && OF
798c2ecf20Sopenharmony_ci	select ARM_DMA_USE_IOMMU if OMAP_IOMMU
808c2ecf20Sopenharmony_ci	select MEDIA_CONTROLLER
818c2ecf20Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
828c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
838c2ecf20Sopenharmony_ci	select MFD_SYSCON
848c2ecf20Sopenharmony_ci	select V4L2_FWNODE
858c2ecf20Sopenharmony_ci	help
868c2ecf20Sopenharmony_ci	  Driver for an OMAP 3 camera controller.
878c2ecf20Sopenharmony_ci
888c2ecf20Sopenharmony_ciconfig VIDEO_OMAP3_DEBUG
898c2ecf20Sopenharmony_ci	bool "OMAP 3 Camera debug messages"
908c2ecf20Sopenharmony_ci	depends on VIDEO_OMAP3
918c2ecf20Sopenharmony_ci	help
928c2ecf20Sopenharmony_ci	  Enable debug messages on OMAP 3 camera controller driver.
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ciconfig VIDEO_PXA27x
958c2ecf20Sopenharmony_ci	tristate "PXA27x Quick Capture Interface driver"
968c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
978c2ecf20Sopenharmony_ci	depends on PXA27x || COMPILE_TEST
988c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_SG
998c2ecf20Sopenharmony_ci	select SG_SPLIT
1008c2ecf20Sopenharmony_ci	select V4L2_FWNODE
1018c2ecf20Sopenharmony_ci	help
1028c2ecf20Sopenharmony_ci	  This is a v4l2 driver for the PXA27x Quick Capture Interface
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ciconfig VIDEO_QCOM_CAMSS
1058c2ecf20Sopenharmony_ci	tristate "Qualcomm V4L2 Camera Subsystem driver"
1068c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2
1078c2ecf20Sopenharmony_ci	depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
1088c2ecf20Sopenharmony_ci	select MEDIA_CONTROLLER
1098c2ecf20Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
1108c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_SG
1118c2ecf20Sopenharmony_ci	select V4L2_FWNODE
1128c2ecf20Sopenharmony_ci
1138c2ecf20Sopenharmony_ciconfig VIDEO_S3C_CAMIF
1148c2ecf20Sopenharmony_ci	tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
1158c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2 && I2C && PM
1168c2ecf20Sopenharmony_ci	depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
1178c2ecf20Sopenharmony_ci	select MEDIA_CONTROLLER
1188c2ecf20Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
1198c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1208c2ecf20Sopenharmony_ci	help
1218c2ecf20Sopenharmony_ci	  This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
1228c2ecf20Sopenharmony_ci	  host interface (CAMIF).
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
1258c2ecf20Sopenharmony_ci	  will be called s3c-camif.
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ciconfig VIDEO_STM32_DCMI
1288c2ecf20Sopenharmony_ci	tristate "STM32 Digital Camera Memory Interface (DCMI) support"
1298c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2 && OF
1308c2ecf20Sopenharmony_ci	depends on ARCH_STM32 || COMPILE_TEST
1318c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1328c2ecf20Sopenharmony_ci	select MEDIA_CONTROLLER
1338c2ecf20Sopenharmony_ci	select V4L2_FWNODE
1348c2ecf20Sopenharmony_ci	help
1358c2ecf20Sopenharmony_ci	  This module makes the STM32 Digital Camera Memory Interface (DCMI)
1368c2ecf20Sopenharmony_ci	  available as a v4l2 device.
1378c2ecf20Sopenharmony_ci
1388c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
1398c2ecf20Sopenharmony_ci	  will be called stm32-dcmi.
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ciconfig VIDEO_RENESAS_CEU
1428c2ecf20Sopenharmony_ci	tristate "Renesas Capture Engine Unit (CEU) driver"
1438c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
1448c2ecf20Sopenharmony_ci	depends on ARCH_SHMOBILE || ARCH_R7S72100 || COMPILE_TEST
1458c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1468c2ecf20Sopenharmony_ci	select V4L2_FWNODE
1478c2ecf20Sopenharmony_ci	help
1488c2ecf20Sopenharmony_ci	  This is a v4l2 driver for the Renesas CEU Interface
1498c2ecf20Sopenharmony_ci
1508c2ecf20Sopenharmony_cisource "drivers/media/platform/exynos4-is/Kconfig"
1518c2ecf20Sopenharmony_cisource "drivers/media/platform/am437x/Kconfig"
1528c2ecf20Sopenharmony_cisource "drivers/media/platform/xilinx/Kconfig"
1538c2ecf20Sopenharmony_cisource "drivers/media/platform/rcar-vin/Kconfig"
1548c2ecf20Sopenharmony_cisource "drivers/media/platform/atmel/Kconfig"
1558c2ecf20Sopenharmony_cisource "drivers/media/platform/sunxi/Kconfig"
1568c2ecf20Sopenharmony_ci
1578c2ecf20Sopenharmony_ciconfig VIDEO_TI_CAL
1588c2ecf20Sopenharmony_ci	tristate "TI CAL (Camera Adaptation Layer) driver"
1598c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
1608c2ecf20Sopenharmony_ci	select MEDIA_CONTROLLER
1618c2ecf20Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
1628c2ecf20Sopenharmony_ci	depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
1638c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1648c2ecf20Sopenharmony_ci	select V4L2_FWNODE
1658c2ecf20Sopenharmony_ci	help
1668c2ecf20Sopenharmony_ci	  Support for the TI CAL (Camera Adaptation Layer) block
1678c2ecf20Sopenharmony_ci	  found on DRA72X SoC.
1688c2ecf20Sopenharmony_ci	  In TI Technical Reference Manual this module is referred as
1698c2ecf20Sopenharmony_ci	  Camera Interface Subsystem (CAMSS).
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ciendif # V4L_PLATFORM_DRIVERS
1728c2ecf20Sopenharmony_ci
1738c2ecf20Sopenharmony_cimenuconfig V4L_MEM2MEM_DRIVERS
1748c2ecf20Sopenharmony_ci	bool "Memory-to-memory multimedia devices"
1758c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2
1768c2ecf20Sopenharmony_ci	help
1778c2ecf20Sopenharmony_ci	  Say Y here to enable selecting drivers for V4L devices that
1788c2ecf20Sopenharmony_ci	  use system memory for both source and destination buffers, as opposed
1798c2ecf20Sopenharmony_ci	  to capture and output drivers, which use memory buffers for just
1808c2ecf20Sopenharmony_ci	  one of those.
1818c2ecf20Sopenharmony_ci
1828c2ecf20Sopenharmony_ciif V4L_MEM2MEM_DRIVERS
1838c2ecf20Sopenharmony_ci
1848c2ecf20Sopenharmony_ciconfig VIDEO_CODA
1858c2ecf20Sopenharmony_ci	tristate "Chips&Media Coda multi-standard codec IP"
1868c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
1878c2ecf20Sopenharmony_ci	select SRAM
1888c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
1898c2ecf20Sopenharmony_ci	select VIDEOBUF2_VMALLOC
1908c2ecf20Sopenharmony_ci	select V4L2_JPEG_HELPER
1918c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
1928c2ecf20Sopenharmony_ci	select GENERIC_ALLOCATOR
1938c2ecf20Sopenharmony_ci	help
1948c2ecf20Sopenharmony_ci	   Coda is a range of video codec IPs that supports
1958c2ecf20Sopenharmony_ci	   H.264, MPEG-4, and other video formats.
1968c2ecf20Sopenharmony_ci
1978c2ecf20Sopenharmony_ciconfig VIDEO_IMX_VDOA
1988c2ecf20Sopenharmony_ci	def_tristate VIDEO_CODA if SOC_IMX6Q || COMPILE_TEST
1998c2ecf20Sopenharmony_ci
2008c2ecf20Sopenharmony_ciconfig VIDEO_IMX_PXP
2018c2ecf20Sopenharmony_ci	tristate "i.MX Pixel Pipeline (PXP)"
2028c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2 && (ARCH_MXC || COMPILE_TEST)
2038c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2048c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2058c2ecf20Sopenharmony_ci	help
2068c2ecf20Sopenharmony_ci	  The i.MX Pixel Pipeline is a memory-to-memory engine for scaling,
2078c2ecf20Sopenharmony_ci	  color space conversion, and rotation.
2088c2ecf20Sopenharmony_ci
2098c2ecf20Sopenharmony_ciconfig VIDEO_MEDIATEK_JPEG
2108c2ecf20Sopenharmony_ci	tristate "Mediatek JPEG Codec driver"
2118c2ecf20Sopenharmony_ci	depends on MTK_IOMMU_V1 || MTK_IOMMU || COMPILE_TEST
2128c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
2138c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
2148c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2158c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2168c2ecf20Sopenharmony_ci	help
2178c2ecf20Sopenharmony_ci	  Mediatek jpeg codec driver provides HW capability to decode
2188c2ecf20Sopenharmony_ci	  JPEG format
2198c2ecf20Sopenharmony_ci
2208c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the
2218c2ecf20Sopenharmony_ci	  module will be called mtk-jpeg
2228c2ecf20Sopenharmony_ci
2238c2ecf20Sopenharmony_ciconfig VIDEO_MEDIATEK_VPU
2248c2ecf20Sopenharmony_ci	tristate "Mediatek Video Processor Unit"
2258c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
2268c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
2278c2ecf20Sopenharmony_ci	help
2288c2ecf20Sopenharmony_ci	    This driver provides downloading VPU firmware and
2298c2ecf20Sopenharmony_ci	    communicating with VPU. This driver for hw video
2308c2ecf20Sopenharmony_ci	    codec embedded in Mediatek's MT8173 SOCs. It is able
2318c2ecf20Sopenharmony_ci	    to handle video decoding/encoding in a range of formats.
2328c2ecf20Sopenharmony_ci
2338c2ecf20Sopenharmony_ci	    To compile this driver as a module, choose M here: the
2348c2ecf20Sopenharmony_ci	    module will be called mtk-vpu.
2358c2ecf20Sopenharmony_ci
2368c2ecf20Sopenharmony_ciconfig VIDEO_MEDIATEK_MDP
2378c2ecf20Sopenharmony_ci	tristate "Mediatek MDP driver"
2388c2ecf20Sopenharmony_ci	depends on MTK_IOMMU || COMPILE_TEST
2398c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
2408c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
2418c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2428c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2438c2ecf20Sopenharmony_ci	select VIDEO_MEDIATEK_VPU
2448c2ecf20Sopenharmony_ci	help
2458c2ecf20Sopenharmony_ci	    It is a v4l2 driver and present in Mediatek MT8173 SoCs.
2468c2ecf20Sopenharmony_ci	    The driver supports for scaling and color space conversion.
2478c2ecf20Sopenharmony_ci
2488c2ecf20Sopenharmony_ci	    To compile this driver as a module, choose M here: the
2498c2ecf20Sopenharmony_ci	    module will be called mtk-mdp.
2508c2ecf20Sopenharmony_ci
2518c2ecf20Sopenharmony_ciconfig VIDEO_MEDIATEK_VCODEC
2528c2ecf20Sopenharmony_ci	tristate "Mediatek Video Codec driver"
2538c2ecf20Sopenharmony_ci	depends on MTK_IOMMU || COMPILE_TEST
2548c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
2558c2ecf20Sopenharmony_ci	depends on ARCH_MEDIATEK || COMPILE_TEST
2568c2ecf20Sopenharmony_ci	depends on VIDEO_MEDIATEK_VPU || MTK_SCP
2578c2ecf20Sopenharmony_ci	# The two following lines ensure we have the same state ("m" or "y") as
2588c2ecf20Sopenharmony_ci	# our dependencies, to avoid missing symbols during link.
2598c2ecf20Sopenharmony_ci	depends on VIDEO_MEDIATEK_VPU || !VIDEO_MEDIATEK_VPU
2608c2ecf20Sopenharmony_ci	depends on MTK_SCP || !MTK_SCP
2618c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2628c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2638c2ecf20Sopenharmony_ci	select VIDEO_MEDIATEK_VCODEC_VPU if VIDEO_MEDIATEK_VPU
2648c2ecf20Sopenharmony_ci	select VIDEO_MEDIATEK_VCODEC_SCP if MTK_SCP
2658c2ecf20Sopenharmony_ci	help
2668c2ecf20Sopenharmony_ci	  Mediatek video codec driver provides HW capability to
2678c2ecf20Sopenharmony_ci	  encode and decode in a range of video formats on MT8173
2688c2ecf20Sopenharmony_ci	  and MT8183.
2698c2ecf20Sopenharmony_ci
2708c2ecf20Sopenharmony_ci	  Note that support for MT8173 requires VIDEO_MEDIATEK_VPU to
2718c2ecf20Sopenharmony_ci	  also be selected. Support for MT8183 depends on MTK_SCP.
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci	  To compile this driver as modules, choose M here: the
2748c2ecf20Sopenharmony_ci	  modules will be called mtk-vcodec-dec and mtk-vcodec-enc.
2758c2ecf20Sopenharmony_ci
2768c2ecf20Sopenharmony_ciconfig VIDEO_MEDIATEK_VCODEC_VPU
2778c2ecf20Sopenharmony_ci	bool
2788c2ecf20Sopenharmony_ci
2798c2ecf20Sopenharmony_ciconfig VIDEO_MEDIATEK_VCODEC_SCP
2808c2ecf20Sopenharmony_ci	bool
2818c2ecf20Sopenharmony_ci
2828c2ecf20Sopenharmony_ciconfig VIDEO_MEM2MEM_DEINTERLACE
2838c2ecf20Sopenharmony_ci	tristate "Deinterlace support"
2848c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
2858c2ecf20Sopenharmony_ci	depends on HAS_DMA
2868c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2878c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2888c2ecf20Sopenharmony_ci	help
2898c2ecf20Sopenharmony_ci	    Generic deinterlacing V4L2 driver.
2908c2ecf20Sopenharmony_ci
2918c2ecf20Sopenharmony_ciconfig VIDEO_SAMSUNG_S5P_G2D
2928c2ecf20Sopenharmony_ci	tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
2938c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
2948c2ecf20Sopenharmony_ci	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
2958c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
2968c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
2978c2ecf20Sopenharmony_ci	help
2988c2ecf20Sopenharmony_ci	  This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
2998c2ecf20Sopenharmony_ci	  2d graphics accelerator.
3008c2ecf20Sopenharmony_ci
3018c2ecf20Sopenharmony_ciconfig VIDEO_SAMSUNG_S5P_JPEG
3028c2ecf20Sopenharmony_ci	tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
3038c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
3048c2ecf20Sopenharmony_ci	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
3058c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
3068c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
3078c2ecf20Sopenharmony_ci	help
3088c2ecf20Sopenharmony_ci	  This is a v4l2 driver for Samsung S5P, EXYNOS3250
3098c2ecf20Sopenharmony_ci	  and EXYNOS4 JPEG codec
3108c2ecf20Sopenharmony_ci
3118c2ecf20Sopenharmony_ciconfig VIDEO_SAMSUNG_S5P_MFC
3128c2ecf20Sopenharmony_ci	tristate "Samsung S5P MFC Video Codec"
3138c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
3148c2ecf20Sopenharmony_ci	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
3158c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
3168c2ecf20Sopenharmony_ci	help
3178c2ecf20Sopenharmony_ci	    MFC 5.1 and 6.x driver for V4L2
3188c2ecf20Sopenharmony_ci
3198c2ecf20Sopenharmony_ciconfig VIDEO_MX2_EMMAPRP
3208c2ecf20Sopenharmony_ci	tristate "MX2 eMMa-PrP support"
3218c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
3228c2ecf20Sopenharmony_ci	depends on SOC_IMX27 || COMPILE_TEST
3238c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
3248c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
3258c2ecf20Sopenharmony_ci	help
3268c2ecf20Sopenharmony_ci	    MX2X chips have a PrP that can be used to process buffers from
3278c2ecf20Sopenharmony_ci	    memory to memory. Operations include resizing and format
3288c2ecf20Sopenharmony_ci	    conversion.
3298c2ecf20Sopenharmony_ci
3308c2ecf20Sopenharmony_ciconfig VIDEO_SAMSUNG_EXYNOS_GSC
3318c2ecf20Sopenharmony_ci	tristate "Samsung Exynos G-Scaler driver"
3328c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
3338c2ecf20Sopenharmony_ci	depends on ARCH_EXYNOS || COMPILE_TEST
3348c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
3358c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
3368c2ecf20Sopenharmony_ci	help
3378c2ecf20Sopenharmony_ci	  This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_ciconfig VIDEO_STI_BDISP
3408c2ecf20Sopenharmony_ci	tristate "STMicroelectronics BDISP 2D blitter driver"
3418c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
3428c2ecf20Sopenharmony_ci	depends on ARCH_STI || COMPILE_TEST
3438c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
3448c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
3458c2ecf20Sopenharmony_ci	help
3468c2ecf20Sopenharmony_ci	  This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
3478c2ecf20Sopenharmony_ci
3488c2ecf20Sopenharmony_ciconfig VIDEO_STI_HVA
3498c2ecf20Sopenharmony_ci	tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
3508c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
3518c2ecf20Sopenharmony_ci	depends on ARCH_STI || COMPILE_TEST
3528c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
3538c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
3548c2ecf20Sopenharmony_ci	help
3558c2ecf20Sopenharmony_ci	  This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
3568c2ecf20Sopenharmony_ci	  video encoder of STMicroelectronics SoC, allowing hardware encoding of
3578c2ecf20Sopenharmony_ci	  raw uncompressed formats in various compressed video bitstreams format.
3588c2ecf20Sopenharmony_ci
3598c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here:
3608c2ecf20Sopenharmony_ci	  the module will be called st-hva.
3618c2ecf20Sopenharmony_ci
3628c2ecf20Sopenharmony_ciconfig VIDEO_STI_HVA_DEBUGFS
3638c2ecf20Sopenharmony_ci	bool "Export STMicroelectronics HVA internals in debugfs"
3648c2ecf20Sopenharmony_ci	depends on VIDEO_STI_HVA
3658c2ecf20Sopenharmony_ci	depends on DEBUG_FS
3668c2ecf20Sopenharmony_ci	help
3678c2ecf20Sopenharmony_ci	  Select this to see information about the internal state and the last
3688c2ecf20Sopenharmony_ci	  operation of STMicroelectronics HVA multi-format video encoder in
3698c2ecf20Sopenharmony_ci	  debugfs.
3708c2ecf20Sopenharmony_ci
3718c2ecf20Sopenharmony_ci	  Choose N unless you know you need this.
3728c2ecf20Sopenharmony_ci
3738c2ecf20Sopenharmony_ciconfig VIDEO_STI_DELTA
3748c2ecf20Sopenharmony_ci	tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
3758c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
3768c2ecf20Sopenharmony_ci	depends on ARCH_STI || COMPILE_TEST
3778c2ecf20Sopenharmony_ci	help
3788c2ecf20Sopenharmony_ci		This V4L2 driver enables DELTA multi-format video decoder
3798c2ecf20Sopenharmony_ci		of STMicroelectronics STiH4xx SoC series allowing hardware
3808c2ecf20Sopenharmony_ci		decoding of various compressed video bitstream format in
3818c2ecf20Sopenharmony_ci		raw uncompressed format.
3828c2ecf20Sopenharmony_ci
3838c2ecf20Sopenharmony_ci		Use this option to see the decoders available for such
3848c2ecf20Sopenharmony_ci		hardware.
3858c2ecf20Sopenharmony_ci
3868c2ecf20Sopenharmony_ci		Please notice that the driver will only be built if
3878c2ecf20Sopenharmony_ci		at least one of the DELTA decoder below is selected.
3888c2ecf20Sopenharmony_ci
3898c2ecf20Sopenharmony_ciif VIDEO_STI_DELTA
3908c2ecf20Sopenharmony_ci
3918c2ecf20Sopenharmony_ciconfig VIDEO_STI_DELTA_MJPEG
3928c2ecf20Sopenharmony_ci	bool "STMicroelectronics DELTA MJPEG support"
3938c2ecf20Sopenharmony_ci	default y
3948c2ecf20Sopenharmony_ci	help
3958c2ecf20Sopenharmony_ci		Enables DELTA MJPEG hardware support.
3968c2ecf20Sopenharmony_ci
3978c2ecf20Sopenharmony_ci		To compile this driver as a module, choose M here:
3988c2ecf20Sopenharmony_ci		the module will be called st-delta.
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ciconfig VIDEO_STI_DELTA_DRIVER
4018c2ecf20Sopenharmony_ci	tristate
4028c2ecf20Sopenharmony_ci	depends on VIDEO_STI_DELTA
4038c2ecf20Sopenharmony_ci	depends on VIDEO_STI_DELTA_MJPEG
4048c2ecf20Sopenharmony_ci	default VIDEO_STI_DELTA_MJPEG
4058c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
4068c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
4078c2ecf20Sopenharmony_ci	select RPMSG
4088c2ecf20Sopenharmony_ci
4098c2ecf20Sopenharmony_ciendif # VIDEO_STI_DELTA
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_ciconfig VIDEO_RENESAS_FDP1
4128c2ecf20Sopenharmony_ci	tristate "Renesas Fine Display Processor"
4138c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
4148c2ecf20Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
4158c2ecf20Sopenharmony_ci	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
4168c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
4178c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
4188c2ecf20Sopenharmony_ci	help
4198c2ecf20Sopenharmony_ci	  This is a V4L2 driver for the Renesas Fine Display Processor
4208c2ecf20Sopenharmony_ci	  providing colour space conversion, and de-interlacing features.
4218c2ecf20Sopenharmony_ci
4228c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
4238c2ecf20Sopenharmony_ci	  will be called rcar_fdp1.
4248c2ecf20Sopenharmony_ci
4258c2ecf20Sopenharmony_ciconfig VIDEO_RENESAS_JPU
4268c2ecf20Sopenharmony_ci	tristate "Renesas JPEG Processing Unit"
4278c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
4288c2ecf20Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
4298c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
4308c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
4318c2ecf20Sopenharmony_ci	help
4328c2ecf20Sopenharmony_ci	  This is a V4L2 driver for the Renesas JPEG Processing Unit.
4338c2ecf20Sopenharmony_ci
4348c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
4358c2ecf20Sopenharmony_ci	  will be called rcar_jpu.
4368c2ecf20Sopenharmony_ci
4378c2ecf20Sopenharmony_ciconfig VIDEO_RENESAS_FCP
4388c2ecf20Sopenharmony_ci	tristate "Renesas Frame Compression Processor"
4398c2ecf20Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
4408c2ecf20Sopenharmony_ci	depends on OF
4418c2ecf20Sopenharmony_ci	help
4428c2ecf20Sopenharmony_ci	  This is a driver for the Renesas Frame Compression Processor (FCP).
4438c2ecf20Sopenharmony_ci	  The FCP is a companion module of video processing modules in the
4448c2ecf20Sopenharmony_ci	  Renesas R-Car Gen3 and RZ/G2 SoCs. It handles memory access for
4458c2ecf20Sopenharmony_ci	  the codec, VSP and FDP modules.
4468c2ecf20Sopenharmony_ci
4478c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
4488c2ecf20Sopenharmony_ci	  will be called rcar-fcp.
4498c2ecf20Sopenharmony_ci
4508c2ecf20Sopenharmony_ciconfig VIDEO_RENESAS_VSP1
4518c2ecf20Sopenharmony_ci	tristate "Renesas VSP1 Video Processing Engine"
4528c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2
4538c2ecf20Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
4548c2ecf20Sopenharmony_ci	depends on (!ARM64 && !VIDEO_RENESAS_FCP) || VIDEO_RENESAS_FCP
4558c2ecf20Sopenharmony_ci	select MEDIA_CONTROLLER
4568c2ecf20Sopenharmony_ci	select VIDEO_V4L2_SUBDEV_API
4578c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
4588c2ecf20Sopenharmony_ci	select VIDEOBUF2_VMALLOC
4598c2ecf20Sopenharmony_ci	help
4608c2ecf20Sopenharmony_ci	  This is a V4L2 driver for the Renesas VSP1 video processing engine.
4618c2ecf20Sopenharmony_ci
4628c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
4638c2ecf20Sopenharmony_ci	  will be called vsp1.
4648c2ecf20Sopenharmony_ci
4658c2ecf20Sopenharmony_ciconfig VIDEO_ROCKCHIP_RGA
4668c2ecf20Sopenharmony_ci	tristate "Rockchip Raster 2d Graphic Acceleration Unit"
4678c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
4688c2ecf20Sopenharmony_ci	depends on ARCH_ROCKCHIP || COMPILE_TEST
4698c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_SG
4708c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
4718c2ecf20Sopenharmony_ci	help
4728c2ecf20Sopenharmony_ci	  This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
4738c2ecf20Sopenharmony_ci	  Rockchip RGA is a separate 2D raster graphic acceleration unit.
4748c2ecf20Sopenharmony_ci	  It accelerates 2D graphics operations, such as point/line drawing,
4758c2ecf20Sopenharmony_ci	  image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
4768c2ecf20Sopenharmony_ci
4778c2ecf20Sopenharmony_ci	  To compile this driver as a module choose m here.
4788c2ecf20Sopenharmony_ci
4798c2ecf20Sopenharmony_ciconfig VIDEO_TI_VPE
4808c2ecf20Sopenharmony_ci	tristate "TI VPE (Video Processing Engine) driver"
4818c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
4828c2ecf20Sopenharmony_ci	depends on SOC_DRA7XX || COMPILE_TEST
4838c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
4848c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
4858c2ecf20Sopenharmony_ci	select VIDEO_TI_VPDMA
4868c2ecf20Sopenharmony_ci	select VIDEO_TI_SC
4878c2ecf20Sopenharmony_ci	select VIDEO_TI_CSC
4888c2ecf20Sopenharmony_ci	help
4898c2ecf20Sopenharmony_ci	  Support for the TI VPE(Video Processing Engine) block
4908c2ecf20Sopenharmony_ci	  found on DRA7XX SoC.
4918c2ecf20Sopenharmony_ci
4928c2ecf20Sopenharmony_ciconfig VIDEO_TI_VPE_DEBUG
4938c2ecf20Sopenharmony_ci	bool "VPE debug messages"
4948c2ecf20Sopenharmony_ci	depends on VIDEO_TI_VPE
4958c2ecf20Sopenharmony_ci	help
4968c2ecf20Sopenharmony_ci	  Enable debug messages on VPE driver.
4978c2ecf20Sopenharmony_ci
4988c2ecf20Sopenharmony_ciconfig VIDEO_QCOM_VENUS
4998c2ecf20Sopenharmony_ci	tristate "Qualcomm Venus V4L2 encoder/decoder driver"
5008c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
5018c2ecf20Sopenharmony_ci	depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
5028c2ecf20Sopenharmony_ci	depends on INTERCONNECT || !INTERCONNECT
5038c2ecf20Sopenharmony_ci	select QCOM_MDT_LOADER if ARCH_QCOM
5048c2ecf20Sopenharmony_ci	select QCOM_SCM if ARCH_QCOM
5058c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_SG
5068c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
5078c2ecf20Sopenharmony_ci	help
5088c2ecf20Sopenharmony_ci	  This is a V4L2 driver for Qualcomm Venus video accelerator
5098c2ecf20Sopenharmony_ci	  hardware. It accelerates encoding and decoding operations
5108c2ecf20Sopenharmony_ci	  on various Qualcomm SoCs.
5118c2ecf20Sopenharmony_ci	  To compile this driver as a module choose m here.
5128c2ecf20Sopenharmony_ci
5138c2ecf20Sopenharmony_ciconfig VIDEO_SUN8I_DEINTERLACE
5148c2ecf20Sopenharmony_ci	tristate "Allwinner Deinterlace driver"
5158c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
5168c2ecf20Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
5178c2ecf20Sopenharmony_ci	depends on COMMON_CLK && OF
5188c2ecf20Sopenharmony_ci	depends on PM
5198c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
5208c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
5218c2ecf20Sopenharmony_ci	help
5228c2ecf20Sopenharmony_ci	   Support for the Allwinner deinterlace unit with scaling
5238c2ecf20Sopenharmony_ci	   capability found on some SoCs, like H3.
5248c2ecf20Sopenharmony_ci	   To compile this driver as a module choose m here.
5258c2ecf20Sopenharmony_ci
5268c2ecf20Sopenharmony_ciconfig VIDEO_SUN8I_ROTATE
5278c2ecf20Sopenharmony_ci	tristate "Allwinner DE2 rotation driver"
5288c2ecf20Sopenharmony_ci	depends on VIDEO_DEV && VIDEO_V4L2
5298c2ecf20Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
5308c2ecf20Sopenharmony_ci	depends on COMMON_CLK && OF
5318c2ecf20Sopenharmony_ci	depends on PM
5328c2ecf20Sopenharmony_ci	select VIDEOBUF2_DMA_CONTIG
5338c2ecf20Sopenharmony_ci	select V4L2_MEM2MEM_DEV
5348c2ecf20Sopenharmony_ci	help
5358c2ecf20Sopenharmony_ci	   Support for the Allwinner DE2 rotation unit.
5368c2ecf20Sopenharmony_ci	   To compile this driver as a module choose m here.
5378c2ecf20Sopenharmony_ci
5388c2ecf20Sopenharmony_ciendif # V4L_MEM2MEM_DRIVERS
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_ci# TI VIDEO PORT Helper Modules
5418c2ecf20Sopenharmony_ci# These will be selected by VPE and VIP
5428c2ecf20Sopenharmony_ciconfig VIDEO_TI_VPDMA
5438c2ecf20Sopenharmony_ci	tristate
5448c2ecf20Sopenharmony_ci
5458c2ecf20Sopenharmony_ciconfig VIDEO_TI_SC
5468c2ecf20Sopenharmony_ci	tristate
5478c2ecf20Sopenharmony_ci
5488c2ecf20Sopenharmony_ciconfig VIDEO_TI_CSC
5498c2ecf20Sopenharmony_ci	tristate
5508c2ecf20Sopenharmony_ci
5518c2ecf20Sopenharmony_cimenuconfig DVB_PLATFORM_DRIVERS
5528c2ecf20Sopenharmony_ci	bool "DVB platform devices"
5538c2ecf20Sopenharmony_ci	depends on MEDIA_DIGITAL_TV_SUPPORT
5548c2ecf20Sopenharmony_ci	help
5558c2ecf20Sopenharmony_ci	  Say Y here to enable support for platform-specific Digital TV drivers.
5568c2ecf20Sopenharmony_ci
5578c2ecf20Sopenharmony_ciif DVB_PLATFORM_DRIVERS
5588c2ecf20Sopenharmony_cisource "drivers/media/platform/sti/c8sectpfe/Kconfig"
5598c2ecf20Sopenharmony_ciendif #DVB_PLATFORM_DRIVERS
5608c2ecf20Sopenharmony_ci
5618c2ecf20Sopenharmony_cimenuconfig SDR_PLATFORM_DRIVERS
5628c2ecf20Sopenharmony_ci	bool "SDR platform devices"
5638c2ecf20Sopenharmony_ci	depends on MEDIA_SDR_SUPPORT
5648c2ecf20Sopenharmony_ci	help
5658c2ecf20Sopenharmony_ci	  Say Y here to enable support for platform-specific SDR Drivers.
5668c2ecf20Sopenharmony_ci
5678c2ecf20Sopenharmony_ciif SDR_PLATFORM_DRIVERS
5688c2ecf20Sopenharmony_ci
5698c2ecf20Sopenharmony_ciconfig VIDEO_RCAR_DRIF
5708c2ecf20Sopenharmony_ci	tristate "Renesas Digital Radio Interface (DRIF)"
5718c2ecf20Sopenharmony_ci	depends on VIDEO_V4L2
5728c2ecf20Sopenharmony_ci	depends on ARCH_RENESAS || COMPILE_TEST
5738c2ecf20Sopenharmony_ci	select VIDEOBUF2_VMALLOC
5748c2ecf20Sopenharmony_ci	help
5758c2ecf20Sopenharmony_ci	  Say Y if you want to enable R-Car Gen3 DRIF support. DRIF is Digital
5768c2ecf20Sopenharmony_ci	  Radio Interface that interfaces with an RF front end chip. It is a
5778c2ecf20Sopenharmony_ci	  receiver of digital data which uses DMA to transfer received data to
5788c2ecf20Sopenharmony_ci	  a configured location for an application to use.
5798c2ecf20Sopenharmony_ci
5808c2ecf20Sopenharmony_ci	  To compile this driver as a module, choose M here; the module
5818c2ecf20Sopenharmony_ci	  will be called rcar_drif.
5828c2ecf20Sopenharmony_ci
5838c2ecf20Sopenharmony_ciendif # SDR_PLATFORM_DRIVERS
584