18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Industrial I/O subsystem configuration
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_cimenuconfig IIO
78c2ecf20Sopenharmony_ci	tristate "Industrial I/O support"
88c2ecf20Sopenharmony_ci	help
98c2ecf20Sopenharmony_ci	  The industrial I/O subsystem provides a unified framework for
108c2ecf20Sopenharmony_ci	  drivers for many different types of embedded sensors using a
118c2ecf20Sopenharmony_ci	  number of different physical interfaces (i2c, spi, etc).
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciif IIO
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciconfig IIO_BUFFER
168c2ecf20Sopenharmony_ci	bool "Enable buffer support within IIO"
178c2ecf20Sopenharmony_ci	help
188c2ecf20Sopenharmony_ci	  Provide core support for various buffer based data
198c2ecf20Sopenharmony_ci	  acquisition methods.
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ciif IIO_BUFFER
228c2ecf20Sopenharmony_ci	source "drivers/iio/buffer/Kconfig"
238c2ecf20Sopenharmony_ciendif # IIO_BUFFER
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ciconfig IIO_CONFIGFS
268c2ecf20Sopenharmony_ci	tristate "Enable IIO configuration via configfs"
278c2ecf20Sopenharmony_ci	select CONFIGFS_FS
288c2ecf20Sopenharmony_ci	help
298c2ecf20Sopenharmony_ci	  This allows configuring various IIO bits through configfs
308c2ecf20Sopenharmony_ci	  (e.g. software triggers). For more info see
318c2ecf20Sopenharmony_ci	  Documentation/iio/iio_configfs.rst.
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ciconfig IIO_TRIGGER
348c2ecf20Sopenharmony_ci	bool "Enable triggered sampling support"
358c2ecf20Sopenharmony_ci	help
368c2ecf20Sopenharmony_ci	  Provides IIO core support for triggers.  Currently these
378c2ecf20Sopenharmony_ci	  are used to initialize capture of samples to push into
388c2ecf20Sopenharmony_ci	  buffers.  The triggers are effectively a 'capture
398c2ecf20Sopenharmony_ci	  data now' interrupt.
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciconfig IIO_CONSUMERS_PER_TRIGGER
428c2ecf20Sopenharmony_ci	int "Maximum number of consumers per trigger"
438c2ecf20Sopenharmony_ci	depends on IIO_TRIGGER
448c2ecf20Sopenharmony_ci	default "2"
458c2ecf20Sopenharmony_ci	help
468c2ecf20Sopenharmony_ci	  This value controls the maximum number of consumers that a
478c2ecf20Sopenharmony_ci	  given trigger may handle. Default is 2.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciconfig IIO_SW_DEVICE
508c2ecf20Sopenharmony_ci	tristate "Enable software IIO device support"
518c2ecf20Sopenharmony_ci	select IIO_CONFIGFS
528c2ecf20Sopenharmony_ci	help
538c2ecf20Sopenharmony_ci	  Provides IIO core support for software devices. A software
548c2ecf20Sopenharmony_ci	  device can be created via configfs or directly by a driver
558c2ecf20Sopenharmony_ci	  using the API provided.
568c2ecf20Sopenharmony_ci
578c2ecf20Sopenharmony_ciconfig IIO_SW_TRIGGER
588c2ecf20Sopenharmony_ci	tristate "Enable software triggers support"
598c2ecf20Sopenharmony_ci	select IIO_CONFIGFS
608c2ecf20Sopenharmony_ci	help
618c2ecf20Sopenharmony_ci	  Provides IIO core support for software triggers. A software
628c2ecf20Sopenharmony_ci	  trigger can be created via configfs or directly by a driver
638c2ecf20Sopenharmony_ci	  using the API provided.
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ciconfig IIO_TRIGGERED_EVENT
668c2ecf20Sopenharmony_ci	tristate "Enable triggered events support"
678c2ecf20Sopenharmony_ci	select IIO_TRIGGER
688c2ecf20Sopenharmony_ci	help
698c2ecf20Sopenharmony_ci	  Provides helper functions for setting up triggered events.
708c2ecf20Sopenharmony_ci
718c2ecf20Sopenharmony_cisource "drivers/iio/accel/Kconfig"
728c2ecf20Sopenharmony_cisource "drivers/iio/adc/Kconfig"
738c2ecf20Sopenharmony_cisource "drivers/iio/addac/Kconfig"
748c2ecf20Sopenharmony_cisource "drivers/iio/afe/Kconfig"
758c2ecf20Sopenharmony_cisource "drivers/iio/amplifiers/Kconfig"
768c2ecf20Sopenharmony_cisource "drivers/iio/chemical/Kconfig"
778c2ecf20Sopenharmony_cisource "drivers/iio/common/Kconfig"
788c2ecf20Sopenharmony_cisource "drivers/iio/dac/Kconfig"
798c2ecf20Sopenharmony_cisource "drivers/iio/dummy/Kconfig"
808c2ecf20Sopenharmony_cisource "drivers/iio/frequency/Kconfig"
818c2ecf20Sopenharmony_cisource "drivers/iio/gyro/Kconfig"
828c2ecf20Sopenharmony_cisource "drivers/iio/health/Kconfig"
838c2ecf20Sopenharmony_cisource "drivers/iio/humidity/Kconfig"
848c2ecf20Sopenharmony_cisource "drivers/iio/imu/Kconfig"
858c2ecf20Sopenharmony_cisource "drivers/iio/light/Kconfig"
868c2ecf20Sopenharmony_cisource "drivers/iio/magnetometer/Kconfig"
878c2ecf20Sopenharmony_cisource "drivers/iio/multiplexer/Kconfig"
888c2ecf20Sopenharmony_cisource "drivers/iio/orientation/Kconfig"
898c2ecf20Sopenharmony_ciif IIO_TRIGGER
908c2ecf20Sopenharmony_ci   source "drivers/iio/trigger/Kconfig"
918c2ecf20Sopenharmony_ciendif #IIO_TRIGGER
928c2ecf20Sopenharmony_cisource "drivers/iio/position/Kconfig"
938c2ecf20Sopenharmony_cisource "drivers/iio/potentiometer/Kconfig"
948c2ecf20Sopenharmony_cisource "drivers/iio/potentiostat/Kconfig"
958c2ecf20Sopenharmony_cisource "drivers/iio/pressure/Kconfig"
968c2ecf20Sopenharmony_cisource "drivers/iio/proximity/Kconfig"
978c2ecf20Sopenharmony_cisource "drivers/iio/resolver/Kconfig"
988c2ecf20Sopenharmony_cisource "drivers/iio/temperature/Kconfig"
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ciendif # IIO
101