Jonathan Cameron | 847ec80 | 2009-08-18 18:06:19 +0100 | [diff] [blame] | 1 | # |
| 2 | # Industrial I/O subsytem configuration |
| 3 | # |
| 4 | |
| 5 | menuconfig IIO |
| 6 | tristate "Industrial I/O support" |
Jeff Mahoney | 1c115eb | 2009-10-08 17:32:42 -0400 | [diff] [blame] | 7 | depends on !S390 |
Jonathan Cameron | 847ec80 | 2009-08-18 18:06:19 +0100 | [diff] [blame] | 8 | ---help--- |
| 9 | The industrial I/O subsystem provides a unified framework for |
| 10 | drivers for many different types of embedded sensors using a |
Randy Dunlap | 7e04638 | 2009-10-04 19:32:27 -0700 | [diff] [blame] | 11 | number of different physical interfaces (i2c, spi, etc). See |
Jonathan Cameron | 847ec80 | 2009-08-18 18:06:19 +0100 | [diff] [blame] | 12 | Documentation/industrialio for more information. |
Jonathan Cameron | d1325cf | 2009-08-18 18:06:20 +0100 | [diff] [blame] | 13 | if IIO |
| 14 | |
Jonathan Cameron | 7026ea4 | 2009-08-18 18:06:24 +0100 | [diff] [blame] | 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 | |
Jonathan Cameron | 2235acb | 2009-08-18 18:06:27 +0100 | [diff] [blame] | 21 | if IIO_RING_BUFFER |
| 22 | |
| 23 | config IIO_SW_RING |
Jonathan Cameron | d3bf812 | 2010-07-29 17:50:49 +0100 | [diff] [blame] | 24 | select IIO_TRIGGER |
Jonathan Cameron | 2235acb | 2009-08-18 18:06:27 +0100 | [diff] [blame] | 25 | tristate "Industrial I/O lock free software ring" |
| 26 | help |
Randy Dunlap | 7e04638 | 2009-10-04 19:32:27 -0700 | [diff] [blame] | 27 | Example software ring buffer implementation. The design aim |
| 28 | of this particular realization was to minimize write locking |
| 29 | with the intention that some devices would be able to write |
| 30 | in interrupt context. |
Jonathan Cameron | 2235acb | 2009-08-18 18:06:27 +0100 | [diff] [blame] | 31 | |
Jonathan Cameron | b174baf | 2011-02-11 13:09:10 +0000 | [diff] [blame] | 32 | config IIO_KFIFO_BUF |
| 33 | select IIO_TRIGGER |
| 34 | tristate "Industrial I/O buffering based on kfifo" |
| 35 | help |
| 36 | A simple fifo based on kfifo. Use this if you want a fifo |
| 37 | rather than a ring buffer. Note that this currently provides |
| 38 | no buffer events so it is up to userspace to work out how |
| 39 | often to read from the buffer. |
| 40 | |
Jonathan Cameron | 2235acb | 2009-08-18 18:06:27 +0100 | [diff] [blame] | 41 | endif # IIO_RINGBUFFER |
| 42 | |
Jonathan Cameron | 1637db4 | 2009-08-18 18:06:26 +0100 | [diff] [blame] | 43 | config IIO_TRIGGER |
| 44 | boolean "Enable triggered sampling support" |
| 45 | help |
| 46 | Provides IIO core support for triggers. Currently these |
| 47 | are used to initialize capture of samples to push into |
| 48 | ring buffers. The triggers are effectively a 'capture |
| 49 | data now' interrupt. |
| 50 | |
Jonathan Cameron | d96d133 | 2011-05-18 14:41:18 +0100 | [diff] [blame^] | 51 | config IIO_CONSUMERS_PER_TRIGGER |
| 52 | int "Maximum number of consumers per trigger" |
| 53 | depends on IIO_TRIGGER |
| 54 | default "2" |
| 55 | help |
| 56 | This value controls the maximum number of consumers that a |
| 57 | given trigger may handle. Default is 2. |
Jonathan Cameron | 7f3a1fb | 2009-08-18 18:06:30 +0100 | [diff] [blame] | 58 | |
Jonathan Cameron | 66533b4 | 2009-08-18 18:06:22 +0100 | [diff] [blame] | 59 | source "drivers/staging/iio/accel/Kconfig" |
Jonathan Cameron | d1325cf | 2009-08-18 18:06:20 +0100 | [diff] [blame] | 60 | source "drivers/staging/iio/adc/Kconfig" |
Sonic Zhang | 35f6b6b | 2010-10-27 21:43:52 -0400 | [diff] [blame] | 61 | source "drivers/staging/iio/addac/Kconfig" |
Barry Song | 6790e29 | 2010-10-27 21:44:07 -0400 | [diff] [blame] | 62 | source "drivers/staging/iio/dac/Kconfig" |
Cliff Cai | da6fcbd | 2010-10-27 21:44:08 -0400 | [diff] [blame] | 63 | source "drivers/staging/iio/dds/Kconfig" |
Barry Song | 089a419 | 2010-05-12 19:34:06 +0100 | [diff] [blame] | 64 | source "drivers/staging/iio/gyro/Kconfig" |
Barry Song | 1e3864e | 2010-05-04 14:43:14 +0100 | [diff] [blame] | 65 | source "drivers/staging/iio/imu/Kconfig" |
Jonathan Cameron | 78632b6 | 2009-08-18 18:06:21 +0100 | [diff] [blame] | 66 | source "drivers/staging/iio/light/Kconfig" |
Shubhrajyoti D | b4e1782 | 2010-07-17 18:32:52 +0530 | [diff] [blame] | 67 | source "drivers/staging/iio/magnetometer/Kconfig" |
Barry Song | 09434ef | 2010-10-27 21:44:14 -0400 | [diff] [blame] | 68 | source "drivers/staging/iio/meter/Kconfig" |
Graf Yang | f46d9f1 | 2010-10-27 21:44:19 -0400 | [diff] [blame] | 69 | source "drivers/staging/iio/resolver/Kconfig" |
Jonathan Cameron | 7f3a1fb | 2009-08-18 18:06:30 +0100 | [diff] [blame] | 70 | source "drivers/staging/iio/trigger/Kconfig" |
| 71 | |
Jonathan Cameron | d1325cf | 2009-08-18 18:06:20 +0100 | [diff] [blame] | 72 | endif # IIO |