blob: 612073f6c540260615107b69a92c14acbeb0a578 [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
11 number of different physical interfaces (i2c, spi, etc). See
12 Documentation/iio for more information.
13
14if IIO
15
16config IIO_BUFFER
17 bool "Enable buffer support within IIO"
18 help
19 Provide core support for various buffer based data
20 acquisition methods.
21
22if IIO_BUFFER
23
24config IIO_KFIFO_BUF
25 select IIO_TRIGGER
26 tristate "Industrial I/O buffering based on kfifo"
27 help
28 A simple fifo based on kfifo. Use this if you want a fifo
29 rather than a ring buffer. Note that this currently provides
30 no buffer events so it is up to userspace to work out how
31 often to read from the buffer.
32
Lars-Peter Clausen23f2d732012-06-18 18:33:48 +020033config IIO_TRIGGERED_BUFFER
34 tristate
35 select IIO_TRIGGER
36 select IIO_KFIFO_BUF
37 help
38 Provides helper functions for setting up triggered buffers.
39
Jonathan Camerona980e042012-04-25 15:54:59 +010040endif # IIO_BUFFER
41
42config IIO_TRIGGER
43 boolean "Enable triggered sampling support"
44 help
45 Provides IIO core support for triggers. Currently these
46 are used to initialize capture of samples to push into
47 ring buffers. The triggers are effectively a 'capture
48 data now' interrupt.
49
50config IIO_CONSUMERS_PER_TRIGGER
51 int "Maximum number of consumers per trigger"
52 depends on IIO_TRIGGER
53 default "2"
54 help
55 This value controls the maximum number of consumers that a
56 given trigger may handle. Default is 2.
57
Maxime Ripard0e589d52012-05-11 15:35:33 +020058source "drivers/iio/adc/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020059source "drivers/iio/amplifiers/Kconfig"
Johan Hovold9c8ea1b2012-05-21 14:18:06 +020060source "drivers/iio/light/Kconfig"
Michael Hennerichcd1678f2012-05-29 12:41:19 +020061source "drivers/iio/frequency/Kconfig"
Lars-Peter Clausendbdc0252012-06-04 11:36:28 +020062source "drivers/iio/dac/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020063
Jonathan Camerona980e042012-04-25 15:54:59 +010064endif # IIO