blob: 6fe0d6524c9c20037d021f1009ecf9b0eeb07cf6 [file] [log] [blame]
Jonathan Camerona980e042012-04-25 15:54:59 +01001#
Peter Meerwalde58bf532012-08-27 22:12:00 +01002# Industrial I/O subsystem configuration
Jonathan Camerona980e042012-04-25 15:54:59 +01003#
4
5menuconfig IIO
6 tristate "Industrial I/O support"
Arnd Bergmanncc8b49f2014-08-05 15:56:00 +01007 select ANON_INODES
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
25config IIO_TRIGGER
Christoph Jaeger6341e622014-12-20 15:41:11 -050026 bool "Enable triggered sampling support"
Jonathan Camerona980e042012-04-25 15:54:59 +010027 help
28 Provides IIO core support for triggers. Currently these
29 are used to initialize capture of samples to push into
Peter Meerwald1b2bbe32013-06-23 22:28:00 +010030 buffers. The triggers are effectively a 'capture
Jonathan Camerona980e042012-04-25 15:54:59 +010031 data now' interrupt.
32
33config IIO_CONSUMERS_PER_TRIGGER
34 int "Maximum number of consumers per trigger"
35 depends on IIO_TRIGGER
36 default "2"
37 help
38 This value controls the maximum number of consumers that a
39 given trigger may handle. Default is 2.
40
Vladimir Barinov735ad072015-08-20 22:37:39 +030041config IIO_TRIGGERED_EVENT
42 tristate
43 select IIO_TRIGGER
44 help
45 Provides helper functions for setting up triggered events.
46
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010047source "drivers/iio/accel/Kconfig"
Maxime Ripard0e589d52012-05-11 15:35:33 +020048source "drivers/iio/adc/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020049source "drivers/iio/amplifiers/Kconfig"
srinivas pandruvada73c67682012-09-05 13:56:00 +010050source "drivers/iio/common/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000051source "drivers/iio/dac/Kconfig"
52source "drivers/iio/frequency/Kconfig"
srinivas pandruvadac5bdbef2012-09-05 13:56:00 +010053source "drivers/iio/gyro/Kconfig"
Harald Geyer091a1212013-12-01 15:04:00 +000054source "drivers/iio/humidity/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000055source "drivers/iio/imu/Kconfig"
56source "drivers/iio/light/Kconfig"
srinivas pandruvadabc1d57ba2012-09-05 13:56:00 +010057source "drivers/iio/magnetometer/Kconfig"
Srinivas Pandruvada098d3be2013-11-06 00:11:00 +000058source "drivers/iio/orientation/Kconfig"
Jonathan Camerone64e7d52013-04-14 12:54:00 +010059if IIO_TRIGGER
60 source "drivers/iio/trigger/Kconfig"
61endif #IIO_TRIGGER
Denis CIOCCA217494e2013-06-03 15:58:00 +010062source "drivers/iio/pressure/Kconfig"
Matt Ranostay24ddb0e2014-12-03 12:53:00 +000063source "drivers/iio/proximity/Kconfig"
Peter Meerwalde5a63942013-08-08 17:39:00 +010064source "drivers/iio/temperature/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020065
Jonathan Camerona980e042012-04-25 15:54:59 +010066endif # IIO