drivers/media/i2c/Kconfig

Source file repositories/reference/linux-study-clean/drivers/media/i2c/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/media/i2c/Kconfig
Extension
[no extension]
Size
47768 bytes
Lines
1794
Domain
Driver Families
Bucket
drivers/media
Inferred role
Driver Families: build/configuration rule
Status
atlas-only

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0-only
#
# Multimedia Video device configuration
#

if VIDEO_DEV

comment "IR I2C driver auto-selected by 'Autoselect ancillary drivers'"
	depends on MEDIA_SUBDRV_AUTOSELECT && I2C && RC_CORE

config VIDEO_IR_I2C
	tristate "I2C module for IR" if !MEDIA_SUBDRV_AUTOSELECT || EXPERT
	depends on I2C && RC_CORE
	default y
	help
	  Most boards have an IR chip directly connected via GPIO. However,
	  some video boards have the IR connected via I2C bus.

	  If your board doesn't have an I2C IR chip, you may disable this
	  option.

	  In doubt, say Y.

#
# V4L2 I2C drivers that are related with Camera support
#

menuconfig VIDEO_CAMERA_SENSOR
	bool "Camera sensor devices"
	depends on MEDIA_CAMERA_SUPPORT && I2C && HAVE_CLK
	select MEDIA_CONTROLLER
	select V4L2_FWNODE
	select VIDEO_V4L2_SUBDEV_API
	default y

if VIDEO_CAMERA_SENSOR

config VIDEO_APTINA_PLL
	tristate

config VIDEO_CCS_PLL
	tristate

config VIDEO_ALVIUM_CSI2
	tristate "Allied Vision ALVIUM MIPI CSI-2 camera support"
	select V4L2_CCI_I2C
	help
	  This is a Video4Linux2 sensor-level driver for the Allied Vision
	  ALVIUM camera connected via MIPI CSI-2 interface.

	  To compile this driver as a module, choose M here: the
	  module will be called alvium-csi2.

config VIDEO_AR0521
	tristate "ON Semiconductor AR0521 sensor support"
	help
	  This is a Video4Linux2 sensor driver for the ON Semiconductor
	  AR0521 camera.

	  To compile this driver as a module, choose M here: the
	  module will be called ar0521.

config VIDEO_GC0308
	tristate "GalaxyCore GC0308 sensor support"
	select V4L2_CCI_I2C
	help
	  This is a Video4Linux2 sensor driver for the GalaxyCore
	  GC0308 camera.

	  To compile this driver as a module, choose M here: the

Annotation

Implementation Notes