Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# Generic video config states
#

# Enable the V4L2 core and API
config CONFIG_VIDEO_V4L2
	tristate
	depends on (CONFIG_I2C || CONFIG_I2C=n) && CONFIG_VIDEO_DEV
	select CONFIG_RATIONAL
	default (CONFIG_I2C || CONFIG_I2C=n) && CONFIG_VIDEO_DEV

config 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 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 CONFIG_VIDEO_PCI_SKELETON
	tristate "Skeleton PCI V4L2 driver"
	depends on CONFIG_PCI
	depends on CONFIG_VIDEO_V4L2 && CONFIG_VIDEOBUF2_CORE
	depends on CONFIG_VIDEOBUF2_MEMOPS && CONFIG_VIDEOBUF2_DMA_CONTIG
	---help---
	  Enable build of the skeleton CONFIG_PCI driver, used as a reference
	  when developing new drivers.

# Used by drivers that need tuner.ko
config CONFIG_VIDEO_TUNER
	tristate

# Used by drivers that need v4l2-mem2mem.ko
config CONFIG_V4L2_MEM2MEM_DEV
        tristate
        depends on CONFIG_VIDEOBUF2_CORE

# Used by LED subsystem flash drivers
config CONFIG_V4L2_FLASH_LED_CLASS
	tristate "V4L2 flash API for LED flash class devices"
	depends on CONFIG_VIDEO_V4L2 && CONFIG_VIDEO_V4L2_SUBDEV_API
	depends on CONFIG_LEDS_CLASS_FLASH
	---help---
	  Say Y here to enable V4L2 flash API support for LED flash
	  class drivers.

	  When in doubt, say N.

# Used by drivers that need Videobuf modules
config CONFIG_VIDEOBUF_GEN
	tristate

config CONFIG_VIDEOBUF_DMA_SG
	tristate
	depends on CONFIG_HAS_DMA
	select CONFIG_VIDEOBUF_GEN

config CONFIG_VIDEOBUF_VMALLOC
	tristate
	select CONFIG_VIDEOBUF_GEN

config CONFIG_VIDEOBUF_DMA_CONTIG
	tristate
	depends on CONFIG_HAS_DMA
	select CONFIG_VIDEOBUF_GEN

config CONFIG_VIDEOBUF_DVB
	tristate
	select CONFIG_VIDEOBUF_GEN

# Used by drivers that need Videobuf2 modules
config CONFIG_VIDEOBUF2_CORE
	select CONFIG_DMA_SHARED_BUFFER
	tristate

config CONFIG_VIDEOBUF2_MEMOPS
	tristate
	select CONFIG_FRAME_VECTOR

config CONFIG_VIDEOBUF2_DMA_CONTIG
	tristate
	depends on CONFIG_HAS_DMA
	select CONFIG_VIDEOBUF2_CORE
	select CONFIG_VIDEOBUF2_MEMOPS
	select CONFIG_DMA_SHARED_BUFFER

config CONFIG_VIDEOBUF2_VMALLOC
	tristate
	select CONFIG_VIDEOBUF2_CORE
	select CONFIG_VIDEOBUF2_MEMOPS
	select CONFIG_DMA_SHARED_BUFFER

config CONFIG_VIDEOBUF2_DMA_SG
	tristate
	depends on CONFIG_HAS_DMA
	select CONFIG_VIDEOBUF2_CORE
	select CONFIG_VIDEOBUF2_MEMOPS

config CONFIG_VIDEOBUF2_DVB
	tristate
	select CONFIG_VIDEOBUF2_CORE