Merge tag 'staging-5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-2.6-microblaze.git] / drivers / iio / Kconfig
1 #
2 # Industrial I/O subsystem configuration
3 #
4
5 menuconfig IIO
6         tristate "Industrial I/O support"
7         help
8           The industrial I/O subsystem provides a unified framework for
9           drivers for many different types of embedded sensors using a
10           number of different physical interfaces (i2c, spi, etc).
11
12 if IIO
13
14 config IIO_BUFFER
15         bool "Enable buffer support within IIO"
16         help
17           Provide core support for various buffer based data
18           acquisition methods.
19
20 if IIO_BUFFER
21         source "drivers/iio/buffer/Kconfig"
22 endif # IIO_BUFFER
23
24 config IIO_CONFIGFS
25         tristate "Enable IIO configuration via configfs"
26         select CONFIGFS_FS
27         help
28           This allows configuring various IIO bits through configfs
29           (e.g. software triggers). For more info see
30           Documentation/iio/iio_configfs.txt.
31
32 config IIO_TRIGGER
33         bool "Enable triggered sampling support"
34         help
35           Provides IIO core support for triggers.  Currently these
36           are used to initialize capture of samples to push into
37           buffers.  The triggers are effectively a 'capture
38           data now' interrupt.
39
40 config IIO_CONSUMERS_PER_TRIGGER
41         int "Maximum number of consumers per trigger"
42         depends on IIO_TRIGGER
43         default "2"
44         help
45           This value controls the maximum number of consumers that a
46           given trigger may handle. Default is 2.
47
48 config IIO_SW_DEVICE
49         tristate "Enable software IIO device support"
50         select IIO_CONFIGFS
51         help
52           Provides IIO core support for software devices. A software
53           device can be created via configfs or directly by a driver
54           using the API provided.
55
56 config IIO_SW_TRIGGER
57         tristate "Enable software triggers support"
58         select IIO_CONFIGFS
59         help
60           Provides IIO core support for software triggers. A software
61           trigger can be created via configfs or directly by a driver
62           using the API provided.
63
64 config IIO_TRIGGERED_EVENT
65         tristate
66         select IIO_TRIGGER
67         help
68           Provides helper functions for setting up triggered events.
69
70 source "drivers/iio/accel/Kconfig"
71 source "drivers/iio/adc/Kconfig"
72 source "drivers/iio/afe/Kconfig"
73 source "drivers/iio/amplifiers/Kconfig"
74 source "drivers/iio/chemical/Kconfig"
75 source "drivers/iio/common/Kconfig"
76 source "drivers/iio/dac/Kconfig"
77 source "drivers/iio/dummy/Kconfig"
78 source "drivers/iio/frequency/Kconfig"
79 source "drivers/iio/gyro/Kconfig"
80 source "drivers/iio/health/Kconfig"
81 source "drivers/iio/humidity/Kconfig"
82 source "drivers/iio/imu/Kconfig"
83 source "drivers/iio/light/Kconfig"
84 source "drivers/iio/magnetometer/Kconfig"
85 source "drivers/iio/multiplexer/Kconfig"
86 source "drivers/iio/orientation/Kconfig"
87 if IIO_TRIGGER
88    source "drivers/iio/trigger/Kconfig"
89 endif #IIO_TRIGGER
90 source "drivers/iio/potentiometer/Kconfig"
91 source "drivers/iio/potentiostat/Kconfig"
92 source "drivers/iio/pressure/Kconfig"
93 source "drivers/iio/proximity/Kconfig"
94 source "drivers/iio/resolver/Kconfig"
95 source "drivers/iio/temperature/Kconfig"
96
97 endif # IIO