forked from Minki/linux
ca50c197bd
The fwnode_handle is a more generic way than OF device_node to describe firmware nodes. Instead of the OF API, use more generic fwnode API to obtain the same information. As the V4L2 fwnode support will be required by a small minority of e.g. ACPI based systems (the same might actually go for OF), make this a module instead of embedding it in the videodev module. The origins of the V4L2 fwnode framework is in the V4L2 OF framework. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Tested-by: Hans Verkuil <hans.verkuil@cisco.com> Tested-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
114 lines
2.4 KiB
Plaintext
114 lines
2.4 KiB
Plaintext
#
|
|
# Generic video config states
|
|
#
|
|
|
|
# Enable the V4L2 core and API
|
|
config VIDEO_V4L2
|
|
tristate
|
|
depends on (I2C || I2C=n) && VIDEO_DEV
|
|
select RATIONAL
|
|
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.
|
|
|
|
config VIDEO_PCI_SKELETON
|
|
tristate "Skeleton PCI V4L2 driver"
|
|
depends on PCI
|
|
depends on VIDEO_V4L2 && VIDEOBUF2_CORE
|
|
depends on VIDEOBUF2_MEMOPS && VIDEOBUF2_DMA_CONTIG
|
|
---help---
|
|
Enable build of the skeleton PCI driver, used as a reference
|
|
when developing new drivers.
|
|
|
|
# Used by drivers that need tuner.ko
|
|
config VIDEO_TUNER
|
|
tristate
|
|
|
|
# Used by drivers that need v4l2-mem2mem.ko
|
|
config V4L2_MEM2MEM_DEV
|
|
tristate
|
|
depends on VIDEOBUF2_CORE
|
|
|
|
# Used by LED subsystem flash drivers
|
|
config V4L2_FLASH_LED_CLASS
|
|
tristate "V4L2 flash API for LED flash class devices"
|
|
depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API
|
|
depends on LEDS_CLASS_FLASH
|
|
---help---
|
|
Say Y here to enable V4L2 flash API support for LED flash
|
|
class drivers.
|
|
|
|
When in doubt, say N.
|
|
|
|
config V4L2_FWNODE
|
|
tristate
|
|
|
|
# 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
|
|
select FRAME_VECTOR
|
|
|
|
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
|
|
|
|
config VIDEOBUF2_DVB
|
|
tristate
|
|
select VIDEOBUF2_CORE
|