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       select IIO_TRIGGER
25	tristate "Industrial I/O lock free software ring"
26	help
27	  Example software ring buffer implementation.  The design aim
28	  of this particular realization was to minimize write locking
29	  with the intention that some devices would be able to write
30	  in interrupt context.
31
32config IIO_KFIFO_BUF
33	select IIO_TRIGGER
34	tristate "Industrial I/O buffering based on kfifo"
35	help
36	  A simple fifo based on kfifo.  Use this if you want a fifo
37	  rather than a ring buffer. Note that this currently provides
38	  no buffer events so it is up to userspace to work out how
39	  often to read from the buffer.
40
41endif # IIO_RINGBUFFER
42
43config IIO_TRIGGER
44	boolean "Enable triggered sampling support"
45	help
46	  Provides IIO core support for triggers.  Currently these
47	  are used to initialize capture of samples to push into
48	  ring buffers.  The triggers are effectively a 'capture
49	  data now' interrupt.
50
51
52source "drivers/staging/iio/accel/Kconfig"
53source "drivers/staging/iio/adc/Kconfig"
54source "drivers/staging/iio/addac/Kconfig"
55source "drivers/staging/iio/dac/Kconfig"
56source "drivers/staging/iio/dds/Kconfig"
57source "drivers/staging/iio/gyro/Kconfig"
58source "drivers/staging/iio/imu/Kconfig"
59source "drivers/staging/iio/light/Kconfig"
60source "drivers/staging/iio/magnetometer/Kconfig"
61source "drivers/staging/iio/meter/Kconfig"
62source "drivers/staging/iio/resolver/Kconfig"
63source "drivers/staging/iio/trigger/Kconfig"
64
65endif # IIO
66