iio: core: Introduce IIO configfs support
[deliverable/linux.git] / drivers / iio / Kconfig
1 #
2 # Industrial I/O subsystem configuration
3 #
4
5 menuconfig IIO
6 tristate "Industrial I/O support"
7 select ANON_INODES
8 help
9 The industrial I/O subsystem provides a unified framework for
10 drivers for many different types of embedded sensors using a
11 number of different physical interfaces (i2c, spi, etc).
12
13 if IIO
14
15 config IIO_BUFFER
16 bool "Enable buffer support within IIO"
17 help
18 Provide core support for various buffer based data
19 acquisition methods.
20
21 if IIO_BUFFER
22 source "drivers/iio/buffer/Kconfig"
23 endif # IIO_BUFFER
24
25 config IIO_CONFIGFS
26 tristate "Enable IIO configuration via configfs"
27 select CONFIGFS_FS
28 help
29 This allows configuring various IIO bits through configfs
30 (e.g. software triggers). For more info see
31 Documentation/iio/iio_configfs.txt.
32
33 config IIO_TRIGGER
34 bool "Enable triggered sampling support"
35 help
36 Provides IIO core support for triggers. Currently these
37 are used to initialize capture of samples to push into
38 buffers. The triggers are effectively a 'capture
39 data now' interrupt.
40
41 config IIO_CONSUMERS_PER_TRIGGER
42 int "Maximum number of consumers per trigger"
43 depends on IIO_TRIGGER
44 default "2"
45 help
46 This value controls the maximum number of consumers that a
47 given trigger may handle. Default is 2.
48
49 config IIO_TRIGGERED_EVENT
50 tristate
51 select IIO_TRIGGER
52 help
53 Provides helper functions for setting up triggered events.
54
55 source "drivers/iio/accel/Kconfig"
56 source "drivers/iio/adc/Kconfig"
57 source "drivers/iio/amplifiers/Kconfig"
58 source "drivers/iio/chemical/Kconfig"
59 source "drivers/iio/common/Kconfig"
60 source "drivers/iio/dac/Kconfig"
61 source "drivers/iio/dummy/Kconfig"
62 source "drivers/iio/frequency/Kconfig"
63 source "drivers/iio/gyro/Kconfig"
64 source "drivers/iio/humidity/Kconfig"
65 source "drivers/iio/imu/Kconfig"
66 source "drivers/iio/light/Kconfig"
67 source "drivers/iio/magnetometer/Kconfig"
68 source "drivers/iio/orientation/Kconfig"
69 if IIO_TRIGGER
70 source "drivers/iio/trigger/Kconfig"
71 endif #IIO_TRIGGER
72 source "drivers/iio/potentiometer/Kconfig"
73 source "drivers/iio/pressure/Kconfig"
74 source "drivers/iio/proximity/Kconfig"
75 source "drivers/iio/temperature/Kconfig"
76
77 endif # IIO
This page took 0.030777 seconds and 5 git commands to generate.