ed38ef4db44402bd2a63e739c6b5161bbb1c8173
[safe/jmp/linux-2.6] / drivers / staging / iio / Kconfig
1 #
2 # Industrial I/O subsytem configuration
3 #
4
5 menuconfig 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.
13 if IIO
14
15 config 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
21 if IIO_RING_BUFFER
22
23 config 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
31 endif # IIO_RINGBUFFER
32
33 config 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
42 source "drivers/staging/iio/accel/Kconfig"
43 source "drivers/staging/iio/adc/Kconfig"
44 source "drivers/staging/iio/imu/Kconfig"
45 source "drivers/staging/iio/light/Kconfig"
46
47 source "drivers/staging/iio/trigger/Kconfig"
48
49 endif # IIO