Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 1 | # |
Peter Meerwald | e58bf53 | 2012-08-27 22:12:00 +0100 | [diff] [blame] | 2 | # Industrial I/O subsystem configuration |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 3 | # |
| 4 | |
| 5 | menuconfig IIO |
| 6 | tristate "Industrial I/O support" |
Arnd Bergmann | cc8b49f | 2014-08-05 15:56:00 +0100 | [diff] [blame] | 7 | select ANON_INODES |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 8 | help |
| 9 | The industrial I/O subsystem provides a unified framework for |
| 10 | drivers for many different types of embedded sensors using a |
Jiri Kosina | a529ae4 | 2012-06-14 15:45:09 +0200 | [diff] [blame] | 11 | number of different physical interfaces (i2c, spi, etc). |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 12 | |
| 13 | if IIO |
| 14 | |
| 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. |
| 20 | |
| 21 | if IIO_BUFFER |
Lars-Peter Clausen | 8548a63 | 2015-08-14 16:54:55 +0200 | [diff] [blame] | 22 | source "drivers/iio/buffer/Kconfig" |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 23 | endif # IIO_BUFFER |
| 24 | |
Daniel Baluta | 8261d96 | 2015-11-09 09:13:59 +0200 | [diff] [blame] | 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.txt. |
| 32 | |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 33 | config IIO_TRIGGER |
Christoph Jaeger | 6341e62 | 2014-12-20 15:41:11 -0500 | [diff] [blame] | 34 | bool "Enable triggered sampling support" |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 35 | help |
| 36 | Provides IIO core support for triggers. Currently these |
| 37 | are used to initialize capture of samples to push into |
Peter Meerwald | 1b2bbe3 | 2013-06-23 22:28:00 +0100 | [diff] [blame] | 38 | buffers. The triggers are effectively a 'capture |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 39 | data now' interrupt. |
| 40 | |
| 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. |
| 48 | |
Daniel Baluta | b662f80 | 2015-11-09 09:14:00 +0200 | [diff] [blame] | 49 | config IIO_SW_TRIGGER |
| 50 | tristate "Enable software triggers support" |
| 51 | select IIO_CONFIGFS |
| 52 | help |
| 53 | Provides IIO core support for software triggers. A software |
| 54 | trigger can be created via configfs or directly by a driver |
| 55 | using the API provided. |
| 56 | |
Vladimir Barinov | 735ad07 | 2015-08-20 22:37:39 +0300 | [diff] [blame] | 57 | config IIO_TRIGGERED_EVENT |
| 58 | tristate |
| 59 | select IIO_TRIGGER |
| 60 | help |
| 61 | Provides helper functions for setting up triggered events. |
| 62 | |
srinivas pandruvada | 45fe6f7 | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 63 | source "drivers/iio/accel/Kconfig" |
Maxime Ripard | 0e589d5 | 2012-05-11 15:35:33 +0200 | [diff] [blame] | 64 | source "drivers/iio/adc/Kconfig" |
Michael Hennerich | e71d42e | 2012-05-11 11:36:54 +0200 | [diff] [blame] | 65 | source "drivers/iio/amplifiers/Kconfig" |
Matt Ranostay | cd8d9777 | 2015-09-13 20:26:14 -0700 | [diff] [blame] | 66 | source "drivers/iio/chemical/Kconfig" |
srinivas pandruvada | 73c6768 | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 67 | source "drivers/iio/common/Kconfig" |
Lars-Peter Clausen | ec04cb0 | 2012-11-13 13:28:00 +0000 | [diff] [blame] | 68 | source "drivers/iio/dac/Kconfig" |
Cristina Opriceana | 415f792 | 2015-10-09 16:31:28 +0300 | [diff] [blame] | 69 | source "drivers/iio/dummy/Kconfig" |
Lars-Peter Clausen | ec04cb0 | 2012-11-13 13:28:00 +0000 | [diff] [blame] | 70 | source "drivers/iio/frequency/Kconfig" |
srinivas pandruvada | c5bdbef | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 71 | source "drivers/iio/gyro/Kconfig" |
Matt Ranostay | 4d33615 | 2015-12-09 22:04:49 -0800 | [diff] [blame] | 72 | source "drivers/iio/health/Kconfig" |
Harald Geyer | 091a121 | 2013-12-01 15:04:00 +0000 | [diff] [blame] | 73 | source "drivers/iio/humidity/Kconfig" |
Lars-Peter Clausen | ec04cb0 | 2012-11-13 13:28:00 +0000 | [diff] [blame] | 74 | source "drivers/iio/imu/Kconfig" |
| 75 | source "drivers/iio/light/Kconfig" |
srinivas pandruvada | bc1d57ba | 2012-09-05 13:56:00 +0100 | [diff] [blame] | 76 | source "drivers/iio/magnetometer/Kconfig" |
Srinivas Pandruvada | 098d3be | 2013-11-06 00:11:00 +0000 | [diff] [blame] | 77 | source "drivers/iio/orientation/Kconfig" |
Jonathan Cameron | e64e7d5 | 2013-04-14 12:54:00 +0100 | [diff] [blame] | 78 | if IIO_TRIGGER |
| 79 | source "drivers/iio/trigger/Kconfig" |
| 80 | endif #IIO_TRIGGER |
Peter Rosin | c05dc2c | 2015-09-23 16:26:23 +0200 | [diff] [blame] | 81 | source "drivers/iio/potentiometer/Kconfig" |
Denis CIOCCA | 217494e | 2013-06-03 15:58:00 +0100 | [diff] [blame] | 82 | source "drivers/iio/pressure/Kconfig" |
Matt Ranostay | 24ddb0e | 2014-12-03 12:53:00 +0000 | [diff] [blame] | 83 | source "drivers/iio/proximity/Kconfig" |
Peter Meerwald | e5a6394 | 2013-08-08 17:39:00 +0100 | [diff] [blame] | 84 | source "drivers/iio/temperature/Kconfig" |
Michael Hennerich | e71d42e | 2012-05-11 11:36:54 +0200 | [diff] [blame] | 85 | |
Jonathan Cameron | a980e04 | 2012-04-25 15:54:59 +0100 | [diff] [blame] | 86 | endif # IIO |