blob: 2334ad249b462e787c6eeccd16fcbddb1e51b45e [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Jonathan Camerona980e042012-04-25 15:54:59 +01002#
Peter Meerwalde58bf532012-08-27 22:12:00 +01003# Industrial I/O subsystem configuration
Jonathan Camerona980e042012-04-25 15:54:59 +01004#
5
6menuconfig IIO
7 tristate "Industrial I/O support"
Jonathan Camerona980e042012-04-25 15:54:59 +01008 help
9 The industrial I/O subsystem provides a unified framework for
10 drivers for many different types of embedded sensors using a
Jiri Kosinaa529ae42012-06-14 15:45:09 +020011 number of different physical interfaces (i2c, spi, etc).
Jonathan Camerona980e042012-04-25 15:54:59 +010012
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
Lars-Peter Clausen8548a632015-08-14 16:54:55 +020022 source "drivers/iio/buffer/Kconfig"
Jonathan Camerona980e042012-04-25 15:54:59 +010023endif # IIO_BUFFER
24
Daniel Baluta8261d962015-11-09 09:13:59 +020025config 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
Mauro Carvalho Chehab1c349f42019-06-18 17:53:40 -030031 Documentation/iio/iio_configfs.rst.
Daniel Baluta8261d962015-11-09 09:13:59 +020032
Jonathan Camerona980e042012-04-25 15:54:59 +010033config IIO_TRIGGER
Christoph Jaeger6341e622014-12-20 15:41:11 -050034 bool "Enable triggered sampling support"
Jonathan Camerona980e042012-04-25 15:54:59 +010035 help
36 Provides IIO core support for triggers. Currently these
37 are used to initialize capture of samples to push into
Peter Meerwald1b2bbe32013-06-23 22:28:00 +010038 buffers. The triggers are effectively a 'capture
Jonathan Camerona980e042012-04-25 15:54:59 +010039 data now' interrupt.
40
41config IIO_CONSUMERS_PER_TRIGGER
Enrico Weigelt, metux IT consultd626be02019-03-06 15:52:23 +010042 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.
Jonathan Camerona980e042012-04-25 15:54:59 +010048
Daniel Baluta0f3a8c32016-04-25 16:15:51 +030049config IIO_SW_DEVICE
50 tristate "Enable software IIO device support"
51 select IIO_CONFIGFS
52 help
Enrico Weigelt, metux IT consultd626be02019-03-06 15:52:23 +010053 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.
Daniel Baluta0f3a8c32016-04-25 16:15:51 +030056
Daniel Balutab662f802015-11-09 09:14:00 +020057config IIO_SW_TRIGGER
58 tristate "Enable software triggers support"
59 select IIO_CONFIGFS
60 help
Enrico Weigelt, metux IT consultd626be02019-03-06 15:52:23 +010061 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.
Daniel Balutab662f802015-11-09 09:14:00 +020064
Vladimir Barinov735ad072015-08-20 22:37:39 +030065config IIO_TRIGGERED_EVENT
Alexandru Ardeleana132e5f2020-09-24 14:17:57 +030066 tristate "Enable triggered events support"
Vladimir Barinov735ad072015-08-20 22:37:39 +030067 select IIO_TRIGGER
68 help
69 Provides helper functions for setting up triggered events.
70
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010071source "drivers/iio/accel/Kconfig"
Maxime Ripard0e589d52012-05-11 15:35:33 +020072source "drivers/iio/adc/Kconfig"
Peter Rosin8b748162018-04-23 23:08:09 +020073source "drivers/iio/afe/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020074source "drivers/iio/amplifiers/Kconfig"
Jonathan Cameron646d67b2021-03-14 18:15:11 +000075source "drivers/iio/cdc/Kconfig"
Matt Ranostaycd8d97772015-09-13 20:26:14 -070076source "drivers/iio/chemical/Kconfig"
srinivas pandruvada73c67682012-09-05 13:56:00 +010077source "drivers/iio/common/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000078source "drivers/iio/dac/Kconfig"
Cristina Opriceana415f7922015-10-09 16:31:28 +030079source "drivers/iio/dummy/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000080source "drivers/iio/frequency/Kconfig"
srinivas pandruvadac5bdbef2012-09-05 13:56:00 +010081source "drivers/iio/gyro/Kconfig"
Matt Ranostay4d336152015-12-09 22:04:49 -080082source "drivers/iio/health/Kconfig"
Harald Geyer091a1212013-12-01 15:04:00 +000083source "drivers/iio/humidity/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000084source "drivers/iio/imu/Kconfig"
85source "drivers/iio/light/Kconfig"
srinivas pandruvadabc1d57ba2012-09-05 13:56:00 +010086source "drivers/iio/magnetometer/Kconfig"
Peter Rosin7ba9df52017-05-14 21:51:10 +020087source "drivers/iio/multiplexer/Kconfig"
Srinivas Pandruvada098d3be2013-11-06 00:11:00 +000088source "drivers/iio/orientation/Kconfig"
Lars-Peter Clausen0bf49ff2020-12-15 20:17:43 +010089source "drivers/iio/test/Kconfig"
Jonathan Camerone64e7d52013-04-14 12:54:00 +010090if IIO_TRIGGER
91 source "drivers/iio/trigger/Kconfig"
92endif #IIO_TRIGGER
Jeff LaBundy189c3c42020-02-16 17:32:11 -060093source "drivers/iio/position/Kconfig"
Peter Rosinc05dc2c2015-09-23 16:26:23 +020094source "drivers/iio/potentiometer/Kconfig"
Matt Ranostay67e17302016-09-24 21:03:00 -070095source "drivers/iio/potentiostat/Kconfig"
Denis CIOCCA217494e2013-06-03 15:58:00 +010096source "drivers/iio/pressure/Kconfig"
Matt Ranostay24ddb0e2014-12-03 12:53:00 +000097source "drivers/iio/proximity/Kconfig"
David Veenstraad28d312018-05-18 20:23:40 +020098source "drivers/iio/resolver/Kconfig"
Peter Meerwalde5a63942013-08-08 17:39:00 +010099source "drivers/iio/temperature/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +0200100
Jonathan Camerona980e042012-04-25 15:54:59 +0100101endif # IIO