2012-05-28 19:17:49 +08:00
|
|
|
#
|
|
|
|
# Platform drivers
|
|
|
|
# All drivers here are currently for webcam support
|
|
|
|
|
2011-11-08 22:02:34 +08:00
|
|
|
menuconfig V4L_PLATFORM_DRIVERS
|
|
|
|
bool "V4L platform devices"
|
2012-05-28 19:17:49 +08:00
|
|
|
depends on MEDIA_CAMERA_SUPPORT
|
2011-11-08 22:02:34 +08:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Say Y here to enable support for platform-specific V4L drivers.
|
|
|
|
|
|
|
|
if V4L_PLATFORM_DRIVERS
|
|
|
|
|
2012-08-15 04:31:16 +08:00
|
|
|
source "drivers/media/platform/marvell-ccic/Kconfig"
|
2011-06-12 01:46:42 +08:00
|
|
|
|
2011-09-30 20:06:11 +08:00
|
|
|
config VIDEO_VIA_CAMERA
|
|
|
|
tristate "VIAFB camera controller support"
|
|
|
|
depends on FB_VIA
|
|
|
|
select VIDEOBUF_DMA_SG
|
|
|
|
select VIDEO_OV7670
|
|
|
|
help
|
|
|
|
Driver support for the integrated camera controller in VIA
|
|
|
|
Chrome9 chipsets. Currently only tested on OLPC xo-1.5 systems
|
|
|
|
with ov7670 sensors.
|
|
|
|
|
|
|
|
#
|
|
|
|
# Platform multimedia device configuration
|
|
|
|
#
|
|
|
|
|
2012-08-15 04:31:16 +08:00
|
|
|
source "drivers/media/platform/davinci/Kconfig"
|
2011-09-30 20:06:11 +08:00
|
|
|
|
2012-08-15 04:31:16 +08:00
|
|
|
source "drivers/media/platform/omap/Kconfig"
|
2011-09-30 20:06:11 +08:00
|
|
|
|
2012-08-15 04:31:16 +08:00
|
|
|
source "drivers/media/platform/blackfin/Kconfig"
|
2012-03-09 04:44:17 +08:00
|
|
|
|
2011-09-30 20:06:11 +08:00
|
|
|
config VIDEO_SH_VOU
|
|
|
|
tristate "SuperH VOU video output driver"
|
2012-08-20 21:32:19 +08:00
|
|
|
depends on MEDIA_CAMERA_SUPPORT
|
2014-02-22 03:57:17 +08:00
|
|
|
depends on VIDEO_DEV && I2C && HAS_DMA
|
2013-11-27 09:18:28 +08:00
|
|
|
depends on ARCH_SHMOBILE || COMPILE_TEST
|
2011-09-30 20:06:11 +08:00
|
|
|
select VIDEOBUF_DMA_CONTIG
|
|
|
|
help
|
|
|
|
Support for the Video Output Unit (VOU) on SuperH SoCs.
|
|
|
|
|
|
|
|
config VIDEO_VIU
|
|
|
|
tristate "Freescale VIU Video Driver"
|
|
|
|
depends on VIDEO_V4L2 && PPC_MPC512x
|
|
|
|
select VIDEOBUF_DMA_CONTIG
|
|
|
|
default y
|
|
|
|
---help---
|
|
|
|
Support for Freescale VIU video driver. This device captures
|
|
|
|
video data, or overlays video on DIU frame buffer.
|
|
|
|
|
|
|
|
Say Y here if you want to enable VIU device on MPC5121e Rev2+.
|
|
|
|
In doubt, say N.
|
|
|
|
|
|
|
|
config VIDEO_TIMBERDALE
|
|
|
|
tristate "Support for timberdale Video In/LogiWIN"
|
|
|
|
depends on VIDEO_V4L2 && I2C && DMADEVICES
|
|
|
|
select DMA_ENGINE
|
|
|
|
select TIMB_DMA
|
|
|
|
select VIDEO_ADV7180
|
|
|
|
select VIDEOBUF_DMA_CONTIG
|
|
|
|
---help---
|
|
|
|
Add support for the Video In peripherial of the timberdale FPGA.
|
|
|
|
|
|
|
|
config VIDEO_VINO
|
|
|
|
tristate "SGI Vino Video For Linux"
|
|
|
|
depends on I2C && SGI_IP22 && VIDEO_V4L2
|
2012-08-21 01:48:02 +08:00
|
|
|
select VIDEO_SAA7191 if MEDIA_SUBDRV_AUTOSELECT
|
2011-09-30 20:06:11 +08:00
|
|
|
help
|
|
|
|
Say Y here to build in support for the Vino video input system found
|
|
|
|
on SGI Indy machines.
|
|
|
|
|
2006-08-23 21:08:41 +08:00
|
|
|
config VIDEO_M32R_AR
|
|
|
|
tristate "AR devices"
|
2010-03-30 03:05:33 +08:00
|
|
|
depends on M32R && VIDEO_V4L2
|
2006-03-30 01:56:17 +08:00
|
|
|
---help---
|
2006-08-23 21:08:41 +08:00
|
|
|
This is a video4linux driver for the Renesas AR (Artificial Retina)
|
|
|
|
camera module.
|
2006-03-30 01:56:17 +08:00
|
|
|
|
2006-08-23 21:08:41 +08:00
|
|
|
config VIDEO_M32R_AR_M64278
|
|
|
|
tristate "AR device with color module M64278(VGA)"
|
|
|
|
depends on PLAT_M32700UT
|
|
|
|
select VIDEO_M32R_AR
|
2006-03-30 01:56:17 +08:00
|
|
|
---help---
|
2006-08-23 21:08:41 +08:00
|
|
|
This is a video4linux driver for the Renesas AR (Artificial
|
|
|
|
Retina) with M64278E-800 camera module.
|
|
|
|
This module supports VGA(640x480 pixels) resolutions.
|
2006-03-30 01:56:17 +08:00
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the
|
2006-08-23 21:08:41 +08:00
|
|
|
module will be called arv.
|
2006-03-30 02:15:21 +08:00
|
|
|
|
2011-02-13 05:05:06 +08:00
|
|
|
config VIDEO_OMAP3
|
2013-01-17 10:53:43 +08:00
|
|
|
tristate "OMAP 3 Camera support"
|
|
|
|
depends on OMAP_IOVMM && VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API && ARCH_OMAP3
|
2011-02-13 05:05:06 +08:00
|
|
|
---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.
|
|
|
|
|
2012-08-23 07:09:18 +08:00
|
|
|
config VIDEO_S3C_CAMIF
|
|
|
|
tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver"
|
|
|
|
depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API
|
2013-10-06 07:59:34 +08:00
|
|
|
depends on (ARCH_S3C64XX || PLAT_S3C24XX) && PM_RUNTIME
|
2012-08-23 07:09:18 +08:00
|
|
|
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.
|
|
|
|
|
2012-08-20 20:49:34 +08:00
|
|
|
source "drivers/media/platform/soc_camera/Kconfig"
|
2013-03-24 23:54:25 +08:00
|
|
|
source "drivers/media/platform/exynos4-is/Kconfig"
|
2012-08-15 04:31:16 +08:00
|
|
|
source "drivers/media/platform/s5p-tv/Kconfig"
|
2011-03-03 00:16:37 +08:00
|
|
|
|
2011-11-08 22:02:34 +08:00
|
|
|
endif # V4L_PLATFORM_DRIVERS
|
2010-04-23 16:38:37 +08:00
|
|
|
|
|
|
|
menuconfig V4L_MEM2MEM_DRIVERS
|
|
|
|
bool "Memory-to-memory multimedia devices"
|
|
|
|
depends on VIDEO_V4L2
|
2012-08-20 21:32:19 +08:00
|
|
|
depends on MEDIA_CAMERA_SUPPORT
|
2010-04-23 16:38:37 +08:00
|
|
|
default n
|
|
|
|
---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.
|
2010-04-23 16:38:38 +08:00
|
|
|
|
|
|
|
if V4L_MEM2MEM_DRIVERS
|
|
|
|
|
2012-07-26 16:53:35 +08:00
|
|
|
config VIDEO_CODA
|
|
|
|
tristate "Chips&Media Coda multi-standard codec IP"
|
2012-07-02 20:03:55 +08:00
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_MXC
|
2013-09-30 22:12:22 +08:00
|
|
|
select SRAM
|
2012-07-26 16:53:35 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
---help---
|
|
|
|
Coda is a range of video codec IPs that supports
|
|
|
|
H.264, MPEG-4, and other video formats.
|
|
|
|
|
2012-07-26 16:55:18 +08:00
|
|
|
config VIDEO_MEM2MEM_DEINTERLACE
|
|
|
|
tristate "Deinterlace support"
|
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && DMA_ENGINE
|
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
help
|
|
|
|
Generic deinterlacing V4L2 driver.
|
|
|
|
|
2011-10-06 22:32:12 +08:00
|
|
|
config VIDEO_SAMSUNG_S5P_G2D
|
|
|
|
tristate "Samsung S5P and EXYNOS4 G2D 2d graphics accelerator driver"
|
2013-06-19 00:25:44 +08:00
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
|
2011-10-06 22:32:12 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This is a v4l2 driver for Samsung S5P and EXYNOS4 G2D
|
|
|
|
2d graphics accelerator.
|
2010-08-03 20:50:29 +08:00
|
|
|
|
2011-11-24 22:15:23 +08:00
|
|
|
config VIDEO_SAMSUNG_S5P_JPEG
|
2013-01-17 10:53:43 +08:00
|
|
|
tristate "Samsung S5P/Exynos4 JPEG codec driver"
|
2013-06-19 00:25:44 +08:00
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
|
2011-11-24 22:15:23 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
---help---
|
|
|
|
This is a v4l2 driver for Samsung S5P and EXYNOS4 JPEG codec
|
|
|
|
|
2011-06-21 21:51:26 +08:00
|
|
|
config VIDEO_SAMSUNG_S5P_MFC
|
2012-10-04 09:19:11 +08:00
|
|
|
tristate "Samsung S5P MFC Video Codec"
|
2013-06-19 00:25:44 +08:00
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && (PLAT_S5P || ARCH_EXYNOS)
|
2011-06-21 21:51:26 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
default n
|
|
|
|
help
|
2012-10-04 09:19:11 +08:00
|
|
|
MFC 5.1 and 6.x driver for V4L2
|
2011-06-21 21:51:26 +08:00
|
|
|
|
2012-01-13 17:31:02 +08:00
|
|
|
config VIDEO_MX2_EMMAPRP
|
|
|
|
tristate "MX2 eMMa-PrP support"
|
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && SOC_IMX27
|
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
help
|
|
|
|
MX2X chips have a PrP that can be used to process buffers from
|
|
|
|
memory to memory. Operations include resizing and format
|
|
|
|
conversion.
|
|
|
|
|
2012-08-16 21:19:56 +08:00
|
|
|
config VIDEO_SAMSUNG_EXYNOS_GSC
|
|
|
|
tristate "Samsung Exynos G-Scaler driver"
|
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && ARCH_EXYNOS5
|
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
help
|
|
|
|
This is a v4l2 driver for Samsung EXYNOS5 SoC G-Scaler.
|
|
|
|
|
2012-10-05 18:43:41 +08:00
|
|
|
config VIDEO_SH_VEU
|
|
|
|
tristate "SuperH VEU mem2mem video processing driver"
|
2013-08-30 15:39:53 +08:00
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && HAS_DMA
|
2012-10-05 18:43:41 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
help
|
|
|
|
Support for the Video Engine Unit (VEU) on SuperH and
|
|
|
|
SH-Mobile SoCs.
|
|
|
|
|
2013-06-04 22:22:30 +08:00
|
|
|
config VIDEO_RENESAS_VSP1
|
|
|
|
tristate "Renesas VSP1 Video Processing Engine"
|
2013-09-06 19:43:56 +08:00
|
|
|
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API && HAS_DMA
|
2013-06-04 22:22:30 +08:00
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
---help---
|
|
|
|
This is a V4L2 driver for the Renesas VSP1 video processing engine.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called vsp1.
|
|
|
|
|
[media] v4l: ti-vpe: Add VPE mem to mem driver
VPE is a block which consists of a single memory to memory path which
can perform chrominance up/down sampling, de-interlacing, scaling, and
color space conversion of raster or tiled YUV420 coplanar, YUV422
coplanar or YUV422 interleaved video formats.
We create a mem2mem driver based primarily on the mem2mem-testdev
example. The de-interlacer, scaler and color space converter are all
bypassed for now to keep the driver simple. Chroma up/down sampler
blocks are implemented, so conversion beteen different YUV formats is
possible.
Each mem2mem context allocates a buffer for VPE MMR values which it will
use when it gets access to the VPE HW via the mem2mem queue, it also
allocates a VPDMA descriptor list to which configuration and data
descriptors are added.
Based on the information received via v4l2 ioctls for the source and
destination queues, the driver configures the values for the MMRs, and
stores them in the buffer. There are also some VPDMA parameters like
frame start and line mode which needs to be configured, these are
configured by direct register writes via the VPDMA helper functions.
The driver's device_run() mem2mem op will add each descriptor based on
how the source and destination queues are set up for the given ctx, once
the list is prepared, it's submitted to VPDMA, these descriptors when
parsed by VPDMA will upload MMR registers, start DMA of video buffers on
the various input and output clients/ports.
When the list is parsed completely(and the DMAs on all the output ports
done), an interrupt is generated which we use to notify that the source
and destination buffers are done. The rest of the driver is quite
similar to other mem2mem drivers, we use the multiplane v4l2 ioctls as
the HW support coplanar formats.
Signed-off-by: Archit Taneja <archit@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2013-10-16 13:36:47 +08:00
|
|
|
config VIDEO_TI_VPE
|
|
|
|
tristate "TI VPE (Video Processing Engine) driver"
|
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && SOC_DRA7XX
|
|
|
|
select VIDEOBUF2_DMA_CONTIG
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
default n
|
|
|
|
---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 VIDEO_TI_VPE
|
|
|
|
---help---
|
|
|
|
Enable debug messages on VPE driver.
|
|
|
|
|
2010-04-23 16:38:38 +08:00
|
|
|
endif # V4L_MEM2MEM_DRIVERS
|
2012-08-15 03:23:43 +08:00
|
|
|
|
2012-08-20 21:07:27 +08:00
|
|
|
menuconfig V4L_TEST_DRIVERS
|
|
|
|
bool "Media test drivers"
|
|
|
|
depends on MEDIA_CAMERA_SUPPORT
|
|
|
|
|
|
|
|
if V4L_TEST_DRIVERS
|
|
|
|
config VIDEO_VIVI
|
|
|
|
tristate "Virtual Video Driver"
|
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2 && !SPARC32 && !SPARC64
|
2013-05-15 19:26:20 +08:00
|
|
|
select FONT_SUPPORT
|
2012-08-20 21:07:27 +08:00
|
|
|
select FONT_8x16
|
|
|
|
select VIDEOBUF2_VMALLOC
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enables a virtual video driver. This device shows a color bar
|
|
|
|
and a timestamp, as a real device would generate by using V4L2
|
|
|
|
api.
|
|
|
|
Say Y here if you want to test video apps or debug V4L devices.
|
|
|
|
In doubt, say N.
|
|
|
|
|
|
|
|
config VIDEO_MEM2MEM_TESTDEV
|
|
|
|
tristate "Virtual test device for mem2mem framework"
|
|
|
|
depends on VIDEO_DEV && VIDEO_V4L2
|
|
|
|
select VIDEOBUF2_VMALLOC
|
|
|
|
select V4L2_MEM2MEM_DEV
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
This is a virtual test device for the memory-to-memory driver
|
|
|
|
framework.
|
|
|
|
endif #V4L_TEST_DRIVERS
|