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

# SPDX-License-Identifier: GPL-2.0-only
#
# Industrial I/O subsystem configuration
#

menuconfig CONFIG_IIO
	tristate "Industrial I/O support"
	help
	  The industrial I/O subsystem provides a unified framework for
	  drivers for many different types of embedded sensors using a
	  number of different physical interfaces (i2c, spi, etc).

if CONFIG_IIO

config CONFIG_IIO_BUFFER
	bool "Enable buffer support within IIO"
	help
	  Provide core support for various buffer based data
	  acquisition methods.

if CONFIG_IIO_BUFFER
	source "drivers/iio/buffer/Kconfig"
endif # CONFIG_IIO_BUFFER

config CONFIG_IIO_CONFIGFS
	tristate "Enable IIO configuration via configfs"
	select CONFIG_CONFIGFS_FS
	help
	  This allows configuring various CONFIG_IIO bits through configfs
	  (e.g. software triggers). For more info see
	  Documentation/iio/iio_configfs.rst.

config CONFIG_IIO_TRIGGER
	bool "Enable triggered sampling support"
	help
	  Provides CONFIG_IIO core support for triggers.  Currently these
	  are used to initialize capture of samples to push into
	  buffers.  The triggers are effectively a 'capture
	  data now' interrupt.

config CONFIG_IIO_CONSUMERS_PER_TRIGGER
	int "Maximum number of consumers per trigger"
	depends on CONFIG_IIO_TRIGGER
	default "2"
	help
	  This value controls the maximum number of consumers that a
	  given trigger may handle. Default is 2.

config CONFIG_IIO_SW_DEVICE
	tristate "Enable software IIO device support"
	select CONFIG_IIO_CONFIGFS
	help
	  Provides CONFIG_IIO core support for software devices. CONFIG_A software
	  device can be created via configfs or directly by a driver
	  using the API provided.

config CONFIG_IIO_SW_TRIGGER
	tristate "Enable software triggers support"
	select CONFIG_IIO_CONFIGFS
	help
	  Provides CONFIG_IIO core support for software triggers. CONFIG_A software
	  trigger can be created via configfs or directly by a driver
	  using the API provided.

config CONFIG_IIO_TRIGGERED_EVENT
	tristate
	select CONFIG_IIO_TRIGGER
	help
	  Provides helper functions for setting up triggered events.

source "drivers/iio/accel/Kconfig"
source "drivers/iio/adc/Kconfig"
source "drivers/iio/afe/Kconfig"
source "drivers/iio/amplifiers/Kconfig"
source "drivers/iio/chemical/Kconfig"
source "drivers/iio/common/Kconfig"
source "drivers/iio/dac/Kconfig"
source "drivers/iio/dummy/Kconfig"
source "drivers/iio/frequency/Kconfig"
source "drivers/iio/gyro/Kconfig"
source "drivers/iio/health/Kconfig"
source "drivers/iio/humidity/Kconfig"
source "drivers/iio/imu/Kconfig"
source "drivers/iio/light/Kconfig"
source "drivers/iio/magnetometer/Kconfig"
source "drivers/iio/multiplexer/Kconfig"
source "drivers/iio/orientation/Kconfig"
if CONFIG_IIO_TRIGGER
   source "drivers/iio/trigger/Kconfig"
endif #CONFIG_IIO_TRIGGER
source "drivers/iio/potentiometer/Kconfig"
source "drivers/iio/potentiostat/Kconfig"
source "drivers/iio/pressure/Kconfig"
source "drivers/iio/proximity/Kconfig"
source "drivers/iio/resolver/Kconfig"
source "drivers/iio/temperature/Kconfig"

endif # CONFIG_IIO