mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 22:14:20 +08:00
a03636cb21
The omap24xx driver and the tcm825x sensor driver are the only two remaining drivers to still use the old deprecated v4l2-int-device API. Nobody maintains these drivers anymore. But unfortunately the v4l2-int-device API is used by out-of-tree drivers (MXC platform). This is a very bad situation since as long as this deprecated API stays in the kernel there is no reason for those out-of-tree drivers to convert. This patch moves v4l2-int-device and the two drivers that depend on it to staging in preparation for their removal. If someone would be interested in getting these drivers to work, then start with this since it's not very far from the state where they used to work: <URL:http://vihersipuli.retiisi.org.uk/cgi-bin/gitweb.cgi?p=~sailus/linux-omap/.git;a=summary> The branch is n800-cam. Porting to up-to-date APIs can then be done. David might have done some work in that area, so check with him first. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Sakari Ailus <sakari.ailus@iki.fi> Cc: David Cohen <dacohen@gmail.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
86 lines
1.7 KiB
Plaintext
86 lines
1.7 KiB
Plaintext
#
|
|
# Generic video config states
|
|
#
|
|
|
|
# Enable the V4L2 core and API
|
|
config VIDEO_V4L2
|
|
tristate
|
|
depends on (I2C || I2C=n) && VIDEO_DEV
|
|
default (I2C || I2C=n) && VIDEO_DEV
|
|
|
|
config VIDEO_ADV_DEBUG
|
|
bool "Enable advanced debug functionality on V4L2 drivers"
|
|
default n
|
|
---help---
|
|
Say Y here to enable advanced debugging functionality on some
|
|
V4L devices.
|
|
In doubt, say N.
|
|
|
|
config VIDEO_FIXED_MINOR_RANGES
|
|
bool "Enable old-style fixed minor ranges on drivers/video devices"
|
|
default n
|
|
---help---
|
|
Say Y here to enable the old-style fixed-range minor assignments.
|
|
Only useful if you rely on the old behavior and use mknod instead of udev.
|
|
|
|
When in doubt, say N.
|
|
|
|
# Used by drivers that need tuner.ko
|
|
config VIDEO_TUNER
|
|
tristate
|
|
depends on MEDIA_TUNER
|
|
|
|
# Used by drivers that need v4l2-mem2mem.ko
|
|
config V4L2_MEM2MEM_DEV
|
|
tristate
|
|
depends on VIDEOBUF2_CORE
|
|
|
|
# Used by drivers that need Videobuf modules
|
|
config VIDEOBUF_GEN
|
|
tristate
|
|
|
|
config VIDEOBUF_DMA_SG
|
|
tristate
|
|
depends on HAS_DMA
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_VMALLOC
|
|
tristate
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_DMA_CONTIG
|
|
tristate
|
|
depends on HAS_DMA
|
|
select VIDEOBUF_GEN
|
|
|
|
config VIDEOBUF_DVB
|
|
tristate
|
|
select VIDEOBUF_GEN
|
|
|
|
# Used by drivers that need Videobuf2 modules
|
|
config VIDEOBUF2_CORE
|
|
select DMA_SHARED_BUFFER
|
|
tristate
|
|
|
|
config VIDEOBUF2_MEMOPS
|
|
tristate
|
|
|
|
config VIDEOBUF2_DMA_CONTIG
|
|
tristate
|
|
depends on HAS_DMA
|
|
select VIDEOBUF2_CORE
|
|
select VIDEOBUF2_MEMOPS
|
|
select DMA_SHARED_BUFFER
|
|
|
|
config VIDEOBUF2_VMALLOC
|
|
tristate
|
|
select VIDEOBUF2_CORE
|
|
select VIDEOBUF2_MEMOPS
|
|
select DMA_SHARED_BUFFER
|
|
|
|
config VIDEOBUF2_DMA_SG
|
|
tristate
|
|
#depends on HAS_DMA
|
|
select VIDEOBUF2_CORE
|
|
select VIDEOBUF2_MEMOPS
|