]> git.ipfire.org Git - thirdparty/kernel/stable.git/blame - drivers/iio/Kconfig
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[thirdparty/kernel/stable.git] / drivers / iio / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
a980e046 2#
e58bf533 3# Industrial I/O subsystem configuration
a980e046
JC
4#
5
6menuconfig IIO
7 tristate "Industrial I/O support"
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
8548a63b 22 source "drivers/iio/buffer/Kconfig"
a980e046
JC
23endif # IIO_BUFFER
24
8261d961
DB
25config 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
a980e046 33config IIO_TRIGGER
6341e62b 34 bool "Enable triggered sampling support"
a980e046
JC
35 help
36 Provides IIO core support for triggers. Currently these
37 are used to initialize capture of samples to push into
1b2bbe3e 38 buffers. The triggers are effectively a 'capture
a980e046
JC
39 data now' interrupt.
40
41config IIO_CONSUMERS_PER_TRIGGER
d626be00
EWI
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.
a980e046 48
0f3a8c3f
DB
49config IIO_SW_DEVICE
50 tristate "Enable software IIO device support"
51 select IIO_CONFIGFS
52 help
d626be00
EWI
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.
0f3a8c3f 56
b662f809
DB
57config IIO_SW_TRIGGER
58 tristate "Enable software triggers support"
59 select IIO_CONFIGFS
60 help
d626be00
EWI
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.
b662f809 64
735ad074
VB
65config IIO_TRIGGERED_EVENT
66 tristate
67 select IIO_TRIGGER
68 help
69 Provides helper functions for setting up triggered events.
70
45fe6f7d 71source "drivers/iio/accel/Kconfig"
0e589d5f 72source "drivers/iio/adc/Kconfig"
8b74816b 73source "drivers/iio/afe/Kconfig"
e71d42e0 74source "drivers/iio/amplifiers/Kconfig"
cd8d9777 75source "drivers/iio/chemical/Kconfig"
73c6768b 76source "drivers/iio/common/Kconfig"
ec04cb04 77source "drivers/iio/dac/Kconfig"
415f7924 78source "drivers/iio/dummy/Kconfig"
ec04cb04 79source "drivers/iio/frequency/Kconfig"
c5bdbef7 80source "drivers/iio/gyro/Kconfig"
4d33615d 81source "drivers/iio/health/Kconfig"
091a121b 82source "drivers/iio/humidity/Kconfig"
ec04cb04
LPC
83source "drivers/iio/imu/Kconfig"
84source "drivers/iio/light/Kconfig"
bc1d57ba 85source "drivers/iio/magnetometer/Kconfig"
7ba9df54 86source "drivers/iio/multiplexer/Kconfig"
098d3bec 87source "drivers/iio/orientation/Kconfig"
e64e7d5c
JC
88if IIO_TRIGGER
89 source "drivers/iio/trigger/Kconfig"
90endif #IIO_TRIGGER
c05dc2cc 91source "drivers/iio/potentiometer/Kconfig"
67e17300 92source "drivers/iio/potentiostat/Kconfig"
217494e5 93source "drivers/iio/pressure/Kconfig"
24ddb0e4 94source "drivers/iio/proximity/Kconfig"
ad28d315 95source "drivers/iio/resolver/Kconfig"
e5a63942 96source "drivers/iio/temperature/Kconfig"
e71d42e0 97
a980e046 98endif # IIO