]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - drivers/iio/Kconfig
Merge tag 'hsi-for-3.16-fixes1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-bionic-kernel.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"
cc8b49fa 7 select ANON_INODES
a980e046
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
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
92d1079b
JC
23config IIO_BUFFER_CB
24boolean "IIO callback buffer used for push in-kernel interfaces"
25 help
93232cd5 26 Should be selected by any drivers that do in-kernel push
92d1079b
JC
27 usage. That is, those where the data is pushed to the consumer.
28
a980e046
JC
29config IIO_KFIFO_BUF
30 select IIO_TRIGGER
31 tristate "Industrial I/O buffering based on kfifo"
32 help
1b2bbe3e 33 A simple fifo based on kfifo. Note that this currently provides
a980e046
JC
34 no buffer events so it is up to userspace to work out how
35 often to read from the buffer.
36
23f2d735
LPC
37config IIO_TRIGGERED_BUFFER
38 tristate
39 select IIO_TRIGGER
40 select IIO_KFIFO_BUF
41 help
42 Provides helper functions for setting up triggered buffers.
43
a980e046
JC
44endif # IIO_BUFFER
45
46config IIO_TRIGGER
47 boolean "Enable triggered sampling support"
48 help
49 Provides IIO core support for triggers. Currently these
50 are used to initialize capture of samples to push into
1b2bbe3e 51 buffers. The triggers are effectively a 'capture
a980e046
JC
52 data now' interrupt.
53
54config IIO_CONSUMERS_PER_TRIGGER
55 int "Maximum number of consumers per trigger"
56 depends on IIO_TRIGGER
57 default "2"
58 help
59 This value controls the maximum number of consumers that a
60 given trigger may handle. Default is 2.
61
45fe6f7d 62source "drivers/iio/accel/Kconfig"
0e589d5f 63source "drivers/iio/adc/Kconfig"
e71d42e0 64source "drivers/iio/amplifiers/Kconfig"
73c6768b 65source "drivers/iio/common/Kconfig"
ec04cb04
LPC
66source "drivers/iio/dac/Kconfig"
67source "drivers/iio/frequency/Kconfig"
c5bdbef7 68source "drivers/iio/gyro/Kconfig"
091a121b 69source "drivers/iio/humidity/Kconfig"
ec04cb04
LPC
70source "drivers/iio/imu/Kconfig"
71source "drivers/iio/light/Kconfig"
bc1d57ba 72source "drivers/iio/magnetometer/Kconfig"
098d3bec 73source "drivers/iio/orientation/Kconfig"
e64e7d5c
JC
74if IIO_TRIGGER
75 source "drivers/iio/trigger/Kconfig"
76endif #IIO_TRIGGER
217494e5 77source "drivers/iio/pressure/Kconfig"
24ddb0e4 78source "drivers/iio/proximity/Kconfig"
e5a63942 79source "drivers/iio/temperature/Kconfig"
e71d42e0 80
a980e046 81endif # IIO