0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Industrial I/O subsystem configuration
0004 #
0005
0006 menuconfig IIO
0007 tristate "Industrial I/O support"
0008 help
0009 The industrial I/O subsystem provides a unified framework for
0010 drivers for many different types of embedded sensors using a
0011 number of different physical interfaces (i2c, spi, etc).
0012
0013 if IIO
0014
0015 config IIO_BUFFER
0016 bool "Enable buffer support within IIO"
0017 help
0018 Provide core support for various buffer based data
0019 acquisition methods.
0020
0021 if IIO_BUFFER
0022 source "drivers/iio/buffer/Kconfig"
0023 endif # IIO_BUFFER
0024
0025 config IIO_CONFIGFS
0026 tristate "Enable IIO configuration via configfs"
0027 select CONFIGFS_FS
0028 help
0029 This allows configuring various IIO bits through configfs
0030 (e.g. software triggers). For more info see
0031 Documentation/iio/iio_configfs.rst.
0032
0033 config IIO_TRIGGER
0034 bool "Enable triggered sampling support"
0035 help
0036 Provides IIO core support for triggers. Currently these
0037 are used to initialize capture of samples to push into
0038 buffers. The triggers are effectively a 'capture
0039 data now' interrupt.
0040
0041 config IIO_CONSUMERS_PER_TRIGGER
0042 int "Maximum number of consumers per trigger"
0043 depends on IIO_TRIGGER
0044 default "2"
0045 help
0046 This value controls the maximum number of consumers that a
0047 given trigger may handle. Default is 2.
0048
0049 config IIO_SW_DEVICE
0050 tristate "Enable software IIO device support"
0051 select IIO_CONFIGFS
0052 help
0053 Provides IIO core support for software devices. A software
0054 device can be created via configfs or directly by a driver
0055 using the API provided.
0056
0057 config IIO_SW_TRIGGER
0058 tristate "Enable software triggers support"
0059 select IIO_CONFIGFS
0060 help
0061 Provides IIO core support for software triggers. A software
0062 trigger can be created via configfs or directly by a driver
0063 using the API provided.
0064
0065 config IIO_TRIGGERED_EVENT
0066 tristate "Enable triggered events support"
0067 select IIO_TRIGGER
0068 help
0069 Provides helper functions for setting up triggered events.
0070
0071 source "drivers/iio/accel/Kconfig"
0072 source "drivers/iio/adc/Kconfig"
0073 source "drivers/iio/addac/Kconfig"
0074 source "drivers/iio/afe/Kconfig"
0075 source "drivers/iio/amplifiers/Kconfig"
0076 source "drivers/iio/cdc/Kconfig"
0077 source "drivers/iio/chemical/Kconfig"
0078 source "drivers/iio/common/Kconfig"
0079 source "drivers/iio/dac/Kconfig"
0080 source "drivers/iio/dummy/Kconfig"
0081 source "drivers/iio/filter/Kconfig"
0082 source "drivers/iio/frequency/Kconfig"
0083 source "drivers/iio/gyro/Kconfig"
0084 source "drivers/iio/health/Kconfig"
0085 source "drivers/iio/humidity/Kconfig"
0086 source "drivers/iio/imu/Kconfig"
0087 source "drivers/iio/light/Kconfig"
0088 source "drivers/iio/magnetometer/Kconfig"
0089 source "drivers/iio/multiplexer/Kconfig"
0090 source "drivers/iio/orientation/Kconfig"
0091 source "drivers/iio/test/Kconfig"
0092 if IIO_TRIGGER
0093 source "drivers/iio/trigger/Kconfig"
0094 endif #IIO_TRIGGER
0095 source "drivers/iio/position/Kconfig"
0096 source "drivers/iio/potentiometer/Kconfig"
0097 source "drivers/iio/potentiostat/Kconfig"
0098 source "drivers/iio/pressure/Kconfig"
0099 source "drivers/iio/proximity/Kconfig"
0100 source "drivers/iio/resolver/Kconfig"
0101 source "drivers/iio/temperature/Kconfig"
0102
0103 endif # IIO