xref: /openbmc/linux/drivers/iio/Kconfig (revision 2c684d89)
1#
2# Industrial I/O subsystem configuration
3#
4
5menuconfig IIO
6	tristate "Industrial I/O support"
7	select ANON_INODES
8	help
9	  The industrial I/O subsystem provides a unified framework for
10	  drivers for many different types of embedded sensors using a
11	  number of different physical interfaces (i2c, spi, etc).
12
13if IIO
14
15config IIO_BUFFER
16	bool "Enable buffer support within IIO"
17	help
18	  Provide core support for various buffer based data
19	  acquisition methods.
20
21if IIO_BUFFER
22	source "drivers/iio/buffer/Kconfig"
23endif # IIO_BUFFER
24
25config IIO_TRIGGER
26	bool "Enable triggered sampling support"
27	help
28	  Provides IIO core support for triggers.  Currently these
29	  are used to initialize capture of samples to push into
30	  buffers.  The triggers are effectively a 'capture
31	  data now' interrupt.
32
33config IIO_CONSUMERS_PER_TRIGGER
34       int "Maximum number of consumers per trigger"
35       depends on IIO_TRIGGER
36       default "2"
37       help
38	This value controls the maximum number of consumers that a
39	given trigger may handle. Default is 2.
40
41config IIO_TRIGGERED_EVENT
42	tristate
43	select IIO_TRIGGER
44	help
45	  Provides helper functions for setting up triggered events.
46
47source "drivers/iio/accel/Kconfig"
48source "drivers/iio/adc/Kconfig"
49source "drivers/iio/amplifiers/Kconfig"
50source "drivers/iio/chemical/Kconfig"
51source "drivers/iio/common/Kconfig"
52source "drivers/iio/dac/Kconfig"
53source "drivers/iio/frequency/Kconfig"
54source "drivers/iio/gyro/Kconfig"
55source "drivers/iio/humidity/Kconfig"
56source "drivers/iio/imu/Kconfig"
57source "drivers/iio/light/Kconfig"
58source "drivers/iio/magnetometer/Kconfig"
59source "drivers/iio/orientation/Kconfig"
60if IIO_TRIGGER
61   source "drivers/iio/trigger/Kconfig"
62endif #IIO_TRIGGER
63source "drivers/iio/potentiometer/Kconfig"
64source "drivers/iio/pressure/Kconfig"
65source "drivers/iio/proximity/Kconfig"
66source "drivers/iio/temperature/Kconfig"
67
68endif # IIO
69