Merge branch 'core-locking-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / staging / iio / Kconfig
CommitLineData
847ec80b
JC
1#
2# Industrial I/O subsytem configuration
3#
4
5menuconfig IIO
6 tristate "Industrial I/O support"
1c115ebe 7 depends on !S390
847ec80b
JC
8 ---help---
9 The industrial I/O subsystem provides a unified framework for
10 drivers for many different types of embedded sensors using a
7e046383 11 number of different physical interfaces (i2c, spi, etc). See
847ec80b 12 Documentation/industrialio for more information.
d1325cf4
JC
13if IIO
14
7026ea4b
JC
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
2235acb2
JC
21if IIO_RING_BUFFER
22
23config IIO_SW_RING
24 tristate "Industrial I/O lock free software ring"
25 help
7e046383
RD
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.
2235acb2
JC
30
31endif # IIO_RINGBUFFER
32
1637db44
JC
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
7f3a1fb9 41
66533b48 42source "drivers/staging/iio/accel/Kconfig"
d1325cf4 43source "drivers/staging/iio/adc/Kconfig"
78632b60 44source "drivers/staging/iio/light/Kconfig"
d1325cf4 45
7f3a1fb9
JC
46source "drivers/staging/iio/trigger/Kconfig"
47
d1325cf4 48endif # IIO