xref: /openbmc/linux/drivers/staging/iio/Kconfig (revision 5d4a2e29)
1#
2# Industrial I/O subsytem configuration
3#
4
5menuconfig IIO
6	tristate "Industrial I/O support"
7	depends on !S390
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). See
12	  Documentation/industrialio for more information.
13if IIO
14
15config IIO_RING_BUFFER
16	bool "Enable ring buffer support within IIO"
17	help
18	  Provide core support for various ring buffer based data
19	  acquisition methods.
20
21if IIO_RING_BUFFER
22
23config IIO_SW_RING
24	tristate "Industrial I/O lock free software ring"
25	help
26	  Example software ring buffer implementation.  The design aim
27	  of this particular realization was to minimize write locking
28	  with the intention that some devices would be able to write
29	  in interrupt context.
30
31endif # IIO_RINGBUFFER
32
33config IIO_TRIGGER
34	boolean "Enable triggered sampling support"
35	help
36	  Provides IIO core support for triggers.  Currently these
37	  are used to initialize capture of samples to push into
38	  ring buffers.  The triggers are effectively a 'capture
39	  data now' interrupt.
40
41
42source "drivers/staging/iio/accel/Kconfig"
43source "drivers/staging/iio/adc/Kconfig"
44source "drivers/staging/iio/gyro/Kconfig"
45source "drivers/staging/iio/imu/Kconfig"
46source "drivers/staging/iio/light/Kconfig"
47
48source "drivers/staging/iio/trigger/Kconfig"
49
50endif # IIO
51