blob: 2ec93da41e2c49164b5f905572fa6f314edf1968 [file] [log] [blame]
Jonathan Camerona980e042012-04-25 15:54:59 +01001#
2# Industrial I/O subsytem configuration
3#
4
5menuconfig IIO
6 tristate "Industrial I/O support"
7 depends on GENERIC_HARDIRQS
8 help
9 The industrial I/O subsystem provides a unified framework for
10 drivers for many different types of embedded sensors using a
Jiri Kosinaa529ae42012-06-14 15:45:09 +020011 number of different physical interfaces (i2c, spi, etc).
Jonathan Camerona980e042012-04-25 15:54:59 +010012
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
23config IIO_KFIFO_BUF
24 select IIO_TRIGGER
25 tristate "Industrial I/O buffering based on kfifo"
26 help
27 A simple fifo based on kfifo. Use this if you want a fifo
28 rather than a ring buffer. Note that this currently provides
29 no buffer events so it is up to userspace to work out how
30 often to read from the buffer.
31
32endif # IIO_BUFFER
33
34config IIO_TRIGGER
35 boolean "Enable triggered sampling support"
36 help
37 Provides IIO core support for triggers. Currently these
38 are used to initialize capture of samples to push into
39 ring buffers. The triggers are effectively a 'capture
40 data now' interrupt.
41
42config IIO_CONSUMERS_PER_TRIGGER
43 int "Maximum number of consumers per trigger"
44 depends on IIO_TRIGGER
45 default "2"
46 help
47 This value controls the maximum number of consumers that a
48 given trigger may handle. Default is 2.
49
Maxime Ripard0e589d52012-05-11 15:35:33 +020050source "drivers/iio/adc/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020051source "drivers/iio/amplifiers/Kconfig"
52
Jonathan Camerona980e042012-04-25 15:54:59 +010053endif # IIO