gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / iio / Kconfig
blobd5c073a8aa3eeccc46d72b1fa50960e9f9ae4755
1 # SPDX-License-Identifier: GPL-2.0-only
3 # Industrial I/O subsystem configuration
6 menuconfig IIO
7         tristate "Industrial I/O support"
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).
13 if IIO
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.
21 if IIO_BUFFER
22         source "drivers/iio/buffer/Kconfig"
23 endif # IIO_BUFFER
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.rst.
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.
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.
49 config IIO_SW_DEVICE
50         tristate "Enable software IIO device support"
51         select IIO_CONFIGFS
52         help
53           Provides IIO core support for software devices. A software
54           device can be created via configfs or directly by a driver
55           using the API provided.
57 config IIO_SW_TRIGGER
58         tristate "Enable software triggers support"
59         select IIO_CONFIGFS
60         help
61           Provides IIO core support for software triggers. A software
62           trigger can be created via configfs or directly by a driver
63           using the API provided.
65 config IIO_TRIGGERED_EVENT
66         tristate
67         select IIO_TRIGGER
68         help
69           Provides helper functions for setting up triggered events.
71 source "drivers/iio/accel/Kconfig"
72 source "drivers/iio/adc/Kconfig"
73 source "drivers/iio/afe/Kconfig"
74 source "drivers/iio/amplifiers/Kconfig"
75 source "drivers/iio/chemical/Kconfig"
76 source "drivers/iio/common/Kconfig"
77 source "drivers/iio/dac/Kconfig"
78 source "drivers/iio/dummy/Kconfig"
79 source "drivers/iio/frequency/Kconfig"
80 source "drivers/iio/gyro/Kconfig"
81 source "drivers/iio/health/Kconfig"
82 source "drivers/iio/humidity/Kconfig"
83 source "drivers/iio/imu/Kconfig"
84 source "drivers/iio/light/Kconfig"
85 source "drivers/iio/magnetometer/Kconfig"
86 source "drivers/iio/multiplexer/Kconfig"
87 source "drivers/iio/orientation/Kconfig"
88 if IIO_TRIGGER
89    source "drivers/iio/trigger/Kconfig"
90 endif #IIO_TRIGGER
91 source "drivers/iio/position/Kconfig"
92 source "drivers/iio/potentiometer/Kconfig"
93 source "drivers/iio/potentiostat/Kconfig"
94 source "drivers/iio/pressure/Kconfig"
95 source "drivers/iio/proximity/Kconfig"
96 source "drivers/iio/resolver/Kconfig"
97 source "drivers/iio/temperature/Kconfig"
99 endif # IIO