drivers/iio/adc/Kconfig

Source file repositories/reference/linux-study-clean/drivers/iio/adc/Kconfig

File Facts

System
Linux kernel
Corpus path
drivers/iio/adc/Kconfig
Extension
[no extension]
Size
60704 bytes
Lines
2003
Domain
Driver Families
Bucket
drivers/iio
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
#
# ADC drivers
#
# When adding new entries keep the list in alphabetical order

menu "Analog to digital converters"

config IIO_ADC_HELPER
	tristate

config 88PM886_GPADC
	tristate "Marvell 88PM886 GPADC driver"
	depends on MFD_88PM886_PMIC
	default MFD_88PM886_PMIC
	help
	  Say Y here to enable support for the GPADC (General Purpose ADC)
	  found on the Marvell 88PM886 PMIC. The GPADC measures various
	  internal voltages and temperatures, including (but not limited to)
	  system, battery and USB Vbus.

	  To compile this driver as a module, choose M here: the module will be
	  called 88pm886-gpadc.

config AB8500_GPADC
	bool "ST-Ericsson AB8500 GPADC driver"
	depends on AB8500_CORE && REGULATOR_AB8500
	default y
	help
	  AB8500 Analog Baseband, mixed signal integrated circuit GPADC
	  (General Purpose Analog to Digital Converter) driver used to monitor
	  internal voltages, convert accessory and battery, AC (charger, mains)
	  and USB voltages integral to the U8500 platform.

config AD_SIGMA_DELTA
	tristate
	select IIO_BUFFER
	select IIO_BUFFER_DMAENGINE
	select IIO_TRIGGERED_BUFFER
	select SPI_OFFLOAD

config AD4000
	tristate "Analog Devices AD4000 ADC Driver"
	depends on SPI
	select IIO_BUFFER
	select IIO_BUFFER_DMAENGINE
	select IIO_TRIGGERED_BUFFER
	select SPI_OFFLOAD
	help
	  Say yes here to build support for Analog Devices AD4000 high speed
	  SPI analog to digital converters (ADC). If intended to use with
	  SPI offloading support, it is recommended to enable
	  CONFIG_SPI_AXI_SPI_ENGINE, CONFIG_PWM_AXI_PWMGEN, and
	  CONFIG_SPI_OFFLOAD_TRIGGER_PWM.

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

config AD4030
	tristate "Analog Devices AD4030 ADC Driver"
	depends on SPI
	depends on GPIOLIB
	depends on PWM
	select REGMAP
	select IIO_BUFFER
	select IIO_BUFFER_DMA
	select IIO_BUFFER_DMAENGINE
	select IIO_TRIGGERED_BUFFER
	select SPI_OFFLOAD
	select SPI_OFFLOAD_TRIGGER_PWM

Annotation

Implementation Notes