2009-08-18 19:06:19 +02:00
|
|
|
#
|
|
|
|
# Industrial I/O subsytem configuration
|
|
|
|
#
|
|
|
|
|
|
|
|
menuconfig IIO
|
|
|
|
tristate "Industrial I/O support"
|
2011-05-31 11:37:40 +02:00
|
|
|
depends on GENERIC_HARDIRQS
|
2011-05-18 15:42:41 +02:00
|
|
|
help
|
2009-08-18 19:06:19 +02:00
|
|
|
The industrial I/O subsystem provides a unified framework for
|
|
|
|
drivers for many different types of embedded sensors using a
|
2009-10-05 04:32:27 +02:00
|
|
|
number of different physical interfaces (i2c, spi, etc). See
|
2011-05-18 15:42:41 +02:00
|
|
|
drivers/staging/iio/Documentation for more information.
|
Staging: IIO: max1363 ADC driver
Core support for MAX1361, MAX1362, MAX1363, MAX1364,
MAX1136, MAX1137, MAX1138, MAX1139, MAX1236, MAX1237,
MAX1238, MAX1239.
Ring buffer support later in series.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-18 19:06:20 +02:00
|
|
|
if IIO
|
|
|
|
|
2009-08-18 19:06:24 +02:00
|
|
|
config IIO_RING_BUFFER
|
2011-05-18 15:42:41 +02:00
|
|
|
bool "Enable buffer support within IIO"
|
2009-08-18 19:06:24 +02:00
|
|
|
help
|
2011-05-18 15:42:41 +02:00
|
|
|
Provide core support for various buffer based data
|
2009-08-18 19:06:24 +02:00
|
|
|
acquisition methods.
|
|
|
|
|
2009-08-18 19:06:27 +02:00
|
|
|
if IIO_RING_BUFFER
|
|
|
|
|
|
|
|
config IIO_SW_RING
|
2010-07-29 18:50:49 +02:00
|
|
|
select IIO_TRIGGER
|
2009-08-18 19:06:27 +02:00
|
|
|
tristate "Industrial I/O lock free software ring"
|
|
|
|
help
|
2009-10-05 04:32:27 +02:00
|
|
|
Example software ring buffer implementation. The design aim
|
|
|
|
of this particular realization was to minimize write locking
|
|
|
|
with the intention that some devices would be able to write
|
|
|
|
in interrupt context.
|
2009-08-18 19:06:27 +02:00
|
|
|
|
2011-02-11 14:09:10 +01:00
|
|
|
config IIO_KFIFO_BUF
|
|
|
|
select IIO_TRIGGER
|
|
|
|
tristate "Industrial I/O buffering based on kfifo"
|
|
|
|
help
|
|
|
|
A simple fifo based on kfifo. Use this if you want a fifo
|
|
|
|
rather than a ring buffer. Note that this currently provides
|
|
|
|
no buffer events so it is up to userspace to work out how
|
|
|
|
often to read from the buffer.
|
|
|
|
|
2009-08-18 19:06:27 +02:00
|
|
|
endif # IIO_RINGBUFFER
|
|
|
|
|
2009-08-18 19:06:26 +02:00
|
|
|
config IIO_TRIGGER
|
|
|
|
boolean "Enable triggered sampling support"
|
|
|
|
help
|
|
|
|
Provides IIO core support for triggers. Currently these
|
|
|
|
are used to initialize capture of samples to push into
|
|
|
|
ring buffers. The triggers are effectively a 'capture
|
|
|
|
data now' interrupt.
|
|
|
|
|
2011-05-18 15:41:18 +02:00
|
|
|
config IIO_CONSUMERS_PER_TRIGGER
|
|
|
|
int "Maximum number of consumers per trigger"
|
|
|
|
depends on IIO_TRIGGER
|
|
|
|
default "2"
|
|
|
|
help
|
|
|
|
This value controls the maximum number of consumers that a
|
|
|
|
given trigger may handle. Default is 2.
|
2009-08-18 19:06:30 +02:00
|
|
|
|
2009-08-18 19:06:22 +02:00
|
|
|
source "drivers/staging/iio/accel/Kconfig"
|
Staging: IIO: max1363 ADC driver
Core support for MAX1361, MAX1362, MAX1363, MAX1364,
MAX1136, MAX1137, MAX1138, MAX1139, MAX1236, MAX1237,
MAX1238, MAX1239.
Ring buffer support later in series.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-18 19:06:20 +02:00
|
|
|
source "drivers/staging/iio/adc/Kconfig"
|
2010-10-28 03:43:52 +02:00
|
|
|
source "drivers/staging/iio/addac/Kconfig"
|
2010-10-28 03:44:07 +02:00
|
|
|
source "drivers/staging/iio/dac/Kconfig"
|
2010-10-28 03:44:08 +02:00
|
|
|
source "drivers/staging/iio/dds/Kconfig"
|
2010-05-12 20:34:06 +02:00
|
|
|
source "drivers/staging/iio/gyro/Kconfig"
|
2011-08-02 08:48:22 +02:00
|
|
|
source "drivers/staging/iio/impedance-analyzer/Kconfig"
|
2010-05-04 15:43:14 +02:00
|
|
|
source "drivers/staging/iio/imu/Kconfig"
|
2009-08-18 19:06:21 +02:00
|
|
|
source "drivers/staging/iio/light/Kconfig"
|
2010-07-17 15:02:52 +02:00
|
|
|
source "drivers/staging/iio/magnetometer/Kconfig"
|
2010-10-28 03:44:14 +02:00
|
|
|
source "drivers/staging/iio/meter/Kconfig"
|
2010-10-28 03:44:19 +02:00
|
|
|
source "drivers/staging/iio/resolver/Kconfig"
|
2009-08-18 19:06:30 +02:00
|
|
|
source "drivers/staging/iio/trigger/Kconfig"
|
|
|
|
|
Staging: IIO: max1363 ADC driver
Core support for MAX1361, MAX1362, MAX1363, MAX1364,
MAX1136, MAX1137, MAX1138, MAX1139, MAX1236, MAX1237,
MAX1238, MAX1239.
Ring buffer support later in series.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-18 19:06:20 +02:00
|
|
|
endif # IIO
|