iio: hid-sensors: Added Gyroscope 3D
[linux-2.6-block.git] / drivers / iio / Kconfig
CommitLineData
a980e046 1#
e58bf533 2# Industrial I/O subsystem configuration
a980e046
JC
3#
4
5menuconfig 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
a529ae4b 11 number of different physical interfaces (i2c, spi, etc).
a980e046
JC
12
13if IIO
14
15config IIO_BUFFER
16 bool "Enable buffer support within IIO"
17 help
18 Provide core support for various buffer based data
19 acquisition methods.
20
21if IIO_BUFFER
22
23config IIO_KFIFO_BUF
24 select IIO_TRIGGER
25 tristate "Industrial I/O buffering based on kfifo"
26 help
27 A simple fifo based on kfifo. Use this if you want a fifo
28 rather than a ring buffer. Note that this currently provides
29 no buffer events so it is up to userspace to work out how
30 often to read from the buffer.
31
23f2d735
LPC
32config IIO_TRIGGERED_BUFFER
33 tristate
34 select IIO_TRIGGER
35 select IIO_KFIFO_BUF
36 help
37 Provides helper functions for setting up triggered buffers.
38
a980e046
JC
39endif # IIO_BUFFER
40
41config IIO_TRIGGER
42 boolean "Enable triggered sampling support"
43 help
44 Provides IIO core support for triggers. Currently these
45 are used to initialize capture of samples to push into
46 ring buffers. The triggers are effectively a 'capture
47 data now' interrupt.
48
49config IIO_CONSUMERS_PER_TRIGGER
50 int "Maximum number of consumers per trigger"
51 depends on IIO_TRIGGER
52 default "2"
53 help
54 This value controls the maximum number of consumers that a
55 given trigger may handle. Default is 2.
56
45fe6f7d 57source "drivers/iio/accel/Kconfig"
0e589d5f 58source "drivers/iio/adc/Kconfig"
e71d42e0 59source "drivers/iio/amplifiers/Kconfig"
9c8ea1b2 60source "drivers/iio/light/Kconfig"
cd1678f9 61source "drivers/iio/frequency/Kconfig"
dbdc025b 62source "drivers/iio/dac/Kconfig"
73c6768b 63source "drivers/iio/common/Kconfig"
c5bdbef7 64source "drivers/iio/gyro/Kconfig"
e71d42e0 65
a980e046 66endif # IIO