mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08:00
7e0a11a258
In order to better organize the platform/Kconfig, place mtk-vcodec-specific config stuff on a separate Kconfig file. Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
437 lines
13 KiB
Plaintext
437 lines
13 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Platform drivers
|
|
# Most drivers here are currently for webcam support
|
|
|
|
config V4L_PLATFORM_DRIVERS
|
|
bool "V4L platform devices"
|
|
help
|
|
Say Y here to enable support for platform-specific V4L drivers.
|
|
|
|
config SDR_PLATFORM_DRIVERS
|
|
bool "SDR platform devices"
|
|
depends on MEDIA_SDR_SUPPORT
|
|
help
|
|
Say Y here to enable support for platform-specific SDR Drivers.
|
|
|
|
config DVB_PLATFORM_DRIVERS
|
|
bool "DVB platform devices"
|
|
depends on MEDIA_DIGITAL_TV_SUPPORT
|
|
help
|
|
Say Y here to enable support for platform-specific Digital TV drivers.
|
|
|
|
config V4L_MEM2MEM_DRIVERS
|
|
bool "Memory-to-memory multimedia devices"
|
|
depends on VIDEO_V4L2
|
|
help
|
|
Say Y here to enable selecting drivers for V4L devices that
|
|
use system memory for both source and destination buffers, as opposed
|
|
to capture and output drivers, which use memory buffers for just
|
|
one of those.
|
|
|
|
source "drivers/media/platform/allegro-dvt/Kconfig"
|
|
source "drivers/media/platform/nxp/Kconfig"
|
|
|
|
source "drivers/media/platform/renesas/Kconfig"
|
|
|
|
# V4L platform drivers
|
|
|
|
source "drivers/media/platform/marvell-ccic/Kconfig"
|
|
|
|
source "drivers/media/platform/via/Kconfig"
|
|
|
|
source "drivers/media/platform/amphion/Kconfig"
|
|
source "drivers/media/platform/cadence/Kconfig"
|
|
|
|
source "drivers/media/platform/coda/Kconfig"
|
|
source "drivers/media/platform/davinci/Kconfig"
|
|
|
|
source "drivers/media/platform/exynos-gsc/Kconfig"
|
|
source "drivers/media/platform/meson/ge2d/Kconfig"
|
|
source "drivers/media/platform/mtk-jpeg/Kconfig"
|
|
source "drivers/media/platform/mtk-mdp/Kconfig"
|
|
source "drivers/media/platform/mtk-vcodec/Kconfig"
|
|
source "drivers/media/platform/omap/Kconfig"
|
|
|
|
source "drivers/media/platform/aspeed/Kconfig"
|
|
|
|
config VIDEO_MUX
|
|
tristate "Video Multiplexer"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
select MULTIPLEXER
|
|
depends on VIDEO_V4L2 && OF
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select REGMAP
|
|
select V4L2_FWNODE
|
|
help
|
|
This driver provides support for N:1 video bus multiplexers.
|
|
|
|
config VIDEO_OMAP3
|
|
tristate "OMAP 3 Camera support"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
depends on VIDEO_V4L2 && I2C
|
|
depends on (ARCH_OMAP3 && OMAP_IOMMU) || COMPILE_TEST
|
|
depends on COMMON_CLK && OF
|
|
select ARM_DMA_USE_IOMMU if OMAP_IOMMU
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select MFD_SYSCON
|
|
select V4L2_FWNODE
|
|
help
|
|
Driver for an OMAP 3 camera controller.
|
|
|
|
config VIDEO_OMAP3_DEBUG
|
|
bool "OMAP 3 Camera debug messages"
|
|
depends on VIDEO_OMAP3
|
|
help
|
|
Enable debug messages on OMAP 3 camera controller driver.
|
|
|
|
source "drivers/media/platform/intel/Kconfig"
|
|
|
|
config VIDEO_QCOM_CAMSS
|
|
tristate "Qualcomm V4L2 Camera Subsystem driver"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
depends on VIDEO_V4L2
|
|
depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select VIDEOBUF2_DMA_SG
|
|
select V4L2_FWNODE
|
|
|
|
config VIDEO_S3C_CAMIF
|
|
tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
depends on VIDEO_V4L2 && I2C && PM
|
|
depends on ARCH_S3C64XX || PLAT_S3C24XX || COMPILE_TEST
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
help
|
|
This is a v4l2 driver for s3c24xx and s3c64xx SoC series camera
|
|
host interface (CAMIF).
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called s3c-camif.
|
|
|
|
config VIDEO_STM32_DCMI
|
|
tristate "STM32 Digital Camera Memory Interface (DCMI) support"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
depends on VIDEO_V4L2 && OF
|
|
depends on ARCH_STM32 || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select MEDIA_CONTROLLER
|
|
select V4L2_FWNODE
|
|
help
|
|
This module makes the STM32 Digital Camera Memory Interface (DCMI)
|
|
available as a v4l2 device.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called stm32-dcmi.
|
|
|
|
config VIDEO_ROCKCHIP_ISP1
|
|
tristate "Rockchip Image Signal Processing v1 Unit driver"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
depends on VIDEO_V4L2 && OF
|
|
depends on ARCH_ROCKCHIP || COMPILE_TEST
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select VIDEOBUF2_VMALLOC
|
|
select V4L2_FWNODE
|
|
select GENERIC_PHY_MIPI_DPHY
|
|
default n
|
|
help
|
|
Enable this to support the Image Signal Processing (ISP) module
|
|
present in RK3399 SoCs.
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
will be called rockchip-isp1.
|
|
|
|
source "drivers/media/platform/exynos4-is/Kconfig"
|
|
source "drivers/media/platform/am437x/Kconfig"
|
|
source "drivers/media/platform/xilinx/Kconfig"
|
|
source "drivers/media/platform/atmel/Kconfig"
|
|
source "drivers/media/platform/sunxi/Kconfig"
|
|
|
|
config VIDEO_TI_CAL
|
|
tristate "TI CAL (Camera Adaptation Layer) driver"
|
|
depends on V4L_PLATFORM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
select MEDIA_CONTROLLER
|
|
select VIDEO_V4L2_SUBDEV_API
|
|
depends on SOC_DRA7XX || ARCH_K3 || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_FWNODE
|
|
help
|
|
Support for the TI CAL (Camera Adaptation Layer) block
|
|
found on DRA72X SoC.
|
|
In TI Technical Reference Manual this module is referred as
|
|
Camera Interface Subsystem (CAMSS).
|
|
|
|
config VIDEO_TI_CAL_MC
|
|
bool "Media Controller centric mode by default"
|
|
depends on VIDEO_TI_CAL
|
|
default n
|
|
help
|
|
Enables Media Controller centric mode by default.
|
|
|
|
If set, CAL driver will start in Media Controller mode by
|
|
default. Note that this behavior can be overridden via
|
|
module parameter 'mc_api'.
|
|
|
|
|
|
# Mem2mem drivers
|
|
|
|
config VIDEO_MEDIATEK_VPU
|
|
tristate "Mediatek Video Processor Unit"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
help
|
|
This driver provides downloading VPU firmware and
|
|
communicating with VPU. This driver for hw video
|
|
codec embedded in Mediatek's MT8173 SOCs. It is able
|
|
to handle video decoding/encoding in a range of formats.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called mtk-vpu.
|
|
|
|
config VIDEO_MEM2MEM_DEINTERLACE
|
|
tristate "Deinterlace support"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on HAS_DMA
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
Generic deinterlacing V4L2 driver.
|
|
|
|
config VIDEO_SAMSUNG_S5P_G2D
|
|
tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
|
|
2d graphics accelerator.
|
|
|
|
config VIDEO_SAMSUNG_S5P_JPEG
|
|
tristate "Samsung S5P/Exynos3250/Exynos4 JPEG codec driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
This is a v4l2 driver for Samsung S5P, EXYNOS3250
|
|
and EXYNOS4 JPEG codec
|
|
|
|
config VIDEO_SAMSUNG_S5P_MFC
|
|
tristate "Samsung S5P MFC Video Codec"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
help
|
|
MFC 5.1 and 6.x driver for V4L2
|
|
|
|
config VIDEO_STI_BDISP
|
|
tristate "STMicroelectronics BDISP 2D blitter driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_STI || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
This v4l2 mem2mem driver is a 2D blitter for STMicroelectronics SoC.
|
|
|
|
config VIDEO_STI_HVA
|
|
tristate "STMicroelectronics HVA multi-format video encoder V4L2 driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_STI || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
This V4L2 driver enables HVA (Hardware Video Accelerator) multi-format
|
|
video encoder of STMicroelectronics SoC, allowing hardware encoding of
|
|
raw uncompressed formats in various compressed video bitstreams format.
|
|
|
|
To compile this driver as a module, choose M here:
|
|
the module will be called st-hva.
|
|
|
|
config VIDEO_STI_HVA_DEBUGFS
|
|
bool "Export STMicroelectronics HVA internals in debugfs"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_STI_HVA
|
|
depends on DEBUG_FS
|
|
help
|
|
Select this to see information about the internal state and the last
|
|
operation of STMicroelectronics HVA multi-format video encoder in
|
|
debugfs.
|
|
|
|
Choose N unless you know you need this.
|
|
|
|
config VIDEO_STI_DELTA
|
|
tristate "STMicroelectronics DELTA multi-format video decoder V4L2 driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_STI || COMPILE_TEST
|
|
help
|
|
This V4L2 driver enables DELTA multi-format video decoder
|
|
of STMicroelectronics STiH4xx SoC series allowing hardware
|
|
decoding of various compressed video bitstream format in
|
|
raw uncompressed format.
|
|
|
|
Use this option to see the decoders available for such
|
|
hardware.
|
|
|
|
Please notice that the driver will only be built if
|
|
at least one of the DELTA decoder below is selected.
|
|
|
|
config VIDEO_STI_DELTA_MJPEG
|
|
bool "STMicroelectronics DELTA MJPEG support"
|
|
default y
|
|
depends on VIDEO_STI_DELTA
|
|
help
|
|
Enables DELTA MJPEG hardware support.
|
|
|
|
To compile this driver as a module, choose M here:
|
|
the module will be called st-delta.
|
|
|
|
config VIDEO_STI_DELTA_DRIVER
|
|
tristate
|
|
depends on VIDEO_STI_DELTA
|
|
depends on VIDEO_STI_DELTA_MJPEG
|
|
default VIDEO_STI_DELTA_MJPEG
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
select RPMSG
|
|
|
|
config VIDEO_STM32_DMA2D
|
|
tristate "STM32 Chrom-Art Accelerator (DMA2D)"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_STM32 || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
Enables DMA2D hardware support on stm32.
|
|
|
|
The STM32 DMA2D is a memory-to-memory engine for pixel conversion
|
|
and specialized DMA dedicated to image manipulation.
|
|
|
|
config VIDEO_ROCKCHIP_RGA
|
|
tristate "Rockchip Raster 2d Graphic Acceleration Unit"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_ROCKCHIP || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_SG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
This is a v4l2 driver for Rockchip SOC RGA 2d graphics accelerator.
|
|
Rockchip RGA is a separate 2D raster graphic acceleration unit.
|
|
It accelerates 2D graphics operations, such as point/line drawing,
|
|
image scaling, rotation, BitBLT, alpha blending and image blur/sharpness.
|
|
|
|
To compile this driver as a module choose m here.
|
|
|
|
config VIDEO_TI_VPE
|
|
tristate "TI VPE (Video Processing Engine) driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on SOC_DRA7XX || COMPILE_TEST
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
select VIDEO_TI_VPDMA
|
|
select VIDEO_TI_SC
|
|
select VIDEO_TI_CSC
|
|
help
|
|
Support for the TI VPE(Video Processing Engine) block
|
|
found on DRA7XX SoC.
|
|
|
|
config VIDEO_TI_VPE_DEBUG
|
|
bool "VPE debug messages"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_TI_VPE
|
|
help
|
|
Enable debug messages on VPE driver.
|
|
|
|
config VIDEO_QCOM_VENUS
|
|
tristate "Qualcomm Venus V4L2 encoder/decoder driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && QCOM_SMEM
|
|
depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST
|
|
select QCOM_MDT_LOADER if ARCH_QCOM
|
|
select QCOM_SCM
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
This is a V4L2 driver for Qualcomm Venus video accelerator
|
|
hardware. It accelerates encoding and decoding operations
|
|
on various Qualcomm SoCs.
|
|
To compile this driver as a module choose m here.
|
|
|
|
config VIDEO_SUN8I_DEINTERLACE
|
|
tristate "Allwinner Deinterlace driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on COMMON_CLK && OF
|
|
depends on PM
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
Support for the Allwinner deinterlace unit with scaling
|
|
capability found on some SoCs, like H3.
|
|
To compile this driver as a module choose m here.
|
|
|
|
config VIDEO_SUN8I_ROTATE
|
|
tristate "Allwinner DE2 rotation driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
depends on ARCH_SUNXI || COMPILE_TEST
|
|
depends on COMMON_CLK && OF
|
|
depends on PM
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
Support for the Allwinner DE2 rotation unit.
|
|
To compile this driver as a module choose m here.
|
|
|
|
config VIDEO_TEGRA_VDE
|
|
tristate "NVIDIA Tegra Video Decoder Engine driver"
|
|
depends on V4L_MEM2MEM_DRIVERS
|
|
depends on ARCH_TEGRA || COMPILE_TEST
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
select DMA_SHARED_BUFFER
|
|
select IOMMU_IOVA
|
|
select MEDIA_CONTROLLER
|
|
select MEDIA_CONTROLLER_REQUEST_API
|
|
select SRAM
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
select VIDEOBUF2_DMA_SG
|
|
select V4L2_H264
|
|
select V4L2_MEM2MEM_DEV
|
|
help
|
|
Support for the NVIDIA Tegra video decoder unit.
|
|
To compile this driver as a module choose m here.
|
|
|
|
# TI VIDEO PORT Helper Modules
|
|
# These will be selected by VPE and VIP
|
|
config VIDEO_TI_VPDMA
|
|
tristate
|
|
|
|
config VIDEO_TI_SC
|
|
tristate
|
|
|
|
config VIDEO_TI_CSC
|
|
tristate
|
|
|
|
# DVB platform drivers
|
|
source "drivers/media/platform/sti/c8sectpfe/Kconfig"
|