blob: 53b955755e4f831377ffdd7adfccd887d5b1b576 [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"
Jonathan Camerona980e042012-04-25 15:54:59 +01007 help
8 The industrial I/O subsystem provides a unified framework for
9 drivers for many different types of embedded sensors using a
Jiri Kosinaa529ae42012-06-14 15:45:09 +020010 number of different physical interfaces (i2c, spi, etc).
Jonathan Camerona980e042012-04-25 15:54:59 +010011
12if IIO
13
14config IIO_BUFFER
15 bool "Enable buffer support within IIO"
16 help
17 Provide core support for various buffer based data
18 acquisition methods.
19
20if IIO_BUFFER
Lars-Peter Clausen8548a632015-08-14 16:54:55 +020021 source "drivers/iio/buffer/Kconfig"
Jonathan Camerona980e042012-04-25 15:54:59 +010022endif # IIO_BUFFER
23
Daniel Baluta8261d962015-11-09 09:13:59 +020024config IIO_CONFIGFS
25 tristate "Enable IIO configuration via configfs"
26 select CONFIGFS_FS
27 help
28 This allows configuring various IIO bits through configfs
29 (e.g. software triggers). For more info see
30 Documentation/iio/iio_configfs.txt.
31
Jonathan Camerona980e042012-04-25 15:54:59 +010032config IIO_TRIGGER
Christoph Jaeger6341e622014-12-20 15:41:11 -050033 bool "Enable triggered sampling support"
Jonathan Camerona980e042012-04-25 15:54:59 +010034 help
35 Provides IIO core support for triggers. Currently these
36 are used to initialize capture of samples to push into
Peter Meerwald1b2bbe32013-06-23 22:28:00 +010037 buffers. The triggers are effectively a 'capture
Jonathan Camerona980e042012-04-25 15:54:59 +010038 data now' interrupt.
39
40config IIO_CONSUMERS_PER_TRIGGER
41 int "Maximum number of consumers per trigger"
42 depends on IIO_TRIGGER
43 default "2"
44 help
45 This value controls the maximum number of consumers that a
46 given trigger may handle. Default is 2.
47
Daniel Baluta0f3a8c32016-04-25 16:15:51 +030048config IIO_SW_DEVICE
49 tristate "Enable software IIO device support"
50 select IIO_CONFIGFS
51 help
52 Provides IIO core support for software devices. A software
53 device can be created via configfs or directly by a driver
54 using the API provided.
55
Daniel Balutab662f802015-11-09 09:14:00 +020056config IIO_SW_TRIGGER
57 tristate "Enable software triggers support"
58 select IIO_CONFIGFS
59 help
60 Provides IIO core support for software triggers. A software
61 trigger can be created via configfs or directly by a driver
62 using the API provided.
63
Vladimir Barinov735ad072015-08-20 22:37:39 +030064config IIO_TRIGGERED_EVENT
65 tristate
66 select IIO_TRIGGER
67 help
68 Provides helper functions for setting up triggered events.
69
srinivas pandruvada45fe6f72012-09-05 13:56:00 +010070source "drivers/iio/accel/Kconfig"
Maxime Ripard0e589d52012-05-11 15:35:33 +020071source "drivers/iio/adc/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020072source "drivers/iio/amplifiers/Kconfig"
Matt Ranostaycd8d97772015-09-13 20:26:14 -070073source "drivers/iio/chemical/Kconfig"
srinivas pandruvada73c67682012-09-05 13:56:00 +010074source "drivers/iio/common/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000075source "drivers/iio/dac/Kconfig"
Cristina Opriceana415f7922015-10-09 16:31:28 +030076source "drivers/iio/dummy/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000077source "drivers/iio/frequency/Kconfig"
srinivas pandruvadac5bdbef2012-09-05 13:56:00 +010078source "drivers/iio/gyro/Kconfig"
Matt Ranostay4d336152015-12-09 22:04:49 -080079source "drivers/iio/health/Kconfig"
Harald Geyer091a1212013-12-01 15:04:00 +000080source "drivers/iio/humidity/Kconfig"
Lars-Peter Clausenec04cb02012-11-13 13:28:00 +000081source "drivers/iio/imu/Kconfig"
82source "drivers/iio/light/Kconfig"
srinivas pandruvadabc1d57ba2012-09-05 13:56:00 +010083source "drivers/iio/magnetometer/Kconfig"
Srinivas Pandruvada098d3be2013-11-06 00:11:00 +000084source "drivers/iio/orientation/Kconfig"
Jonathan Camerone64e7d52013-04-14 12:54:00 +010085if IIO_TRIGGER
86 source "drivers/iio/trigger/Kconfig"
87endif #IIO_TRIGGER
Peter Rosinc05dc2c2015-09-23 16:26:23 +020088source "drivers/iio/potentiometer/Kconfig"
Denis CIOCCA217494e2013-06-03 15:58:00 +010089source "drivers/iio/pressure/Kconfig"
Matt Ranostay24ddb0e2014-12-03 12:53:00 +000090source "drivers/iio/proximity/Kconfig"
Peter Meerwalde5a63942013-08-08 17:39:00 +010091source "drivers/iio/temperature/Kconfig"
Michael Henneriche71d42e2012-05-11 11:36:54 +020092
Jonathan Camerona980e042012-04-25 15:54:59 +010093endif # IIO