diff options
author | Jonathan Cameron <jic23@kernel.org> | 2012-04-25 10:54:59 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-25 14:11:38 -0400 |
commit | a980e046098b0a40eaff5e4e7fcde6cf035b7c06 (patch) | |
tree | 23375fc2bba39f088974cf621f7abf006d43d087 /drivers/iio/Kconfig | |
parent | 06458e277eac2b8761b0a04d3c808d57be281a2e (diff) |
IIO: Move the core files to drivers/iio
Take the core support + the kfifo buffer implentation out of
staging. Whilst we are far from done in improving this subsystem
it is now at a stage where the userspae interfaces (provided by
the core) can be considered stable.
Drivers will follow over a longer time scale.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/Kconfig')
-rw-r--r-- | drivers/iio/Kconfig | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/drivers/iio/Kconfig b/drivers/iio/Kconfig new file mode 100644 index 000000000000..3ab7d48d0b0a --- /dev/null +++ b/drivers/iio/Kconfig | |||
@@ -0,0 +1,51 @@ | |||
1 | # | ||
2 | # Industrial I/O subsytem configuration | ||
3 | # | ||
4 | |||
5 | menuconfig 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 | |||
14 | if IIO | ||
15 | |||
16 | config IIO_BUFFER | ||
17 | bool "Enable buffer support within IIO" | ||
18 | help | ||
19 | Provide core support for various buffer based data | ||
20 | acquisition methods. | ||
21 | |||
22 | if IIO_BUFFER | ||
23 | |||
24 | config 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 | |||
33 | endif # IIO_BUFFER | ||
34 | |||
35 | config IIO_TRIGGER | ||
36 | boolean "Enable triggered sampling support" | ||
37 | help | ||
38 | Provides IIO core support for triggers. Currently these | ||
39 | are used to initialize capture of samples to push into | ||
40 | ring buffers. The triggers are effectively a 'capture | ||
41 | data now' interrupt. | ||
42 | |||
43 | config IIO_CONSUMERS_PER_TRIGGER | ||
44 | int "Maximum number of consumers per trigger" | ||
45 | depends on IIO_TRIGGER | ||
46 | default "2" | ||
47 | help | ||
48 | This value controls the maximum number of consumers that a | ||
49 | given trigger may handle. Default is 2. | ||
50 | |||
51 | endif # IIO | ||