Kconfig 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Industrial I/O subsystem configuration
  4. #
  5. menuconfig IIO
  6. tristate "Industrial I/O support"
  7. help
  8. The industrial I/O subsystem provides a unified framework for
  9. drivers for many different types of embedded sensors using a
  10. number of different physical interfaces (i2c, spi, etc).
  11. if IIO
  12. config IIO_BUFFER
  13. bool "Enable buffer support within IIO"
  14. select DMA_SHARED_BUFFER
  15. help
  16. Provide core support for various buffer based data
  17. acquisition methods.
  18. if IIO_BUFFER
  19. source "drivers/iio/buffer/Kconfig"
  20. endif # IIO_BUFFER
  21. config IIO_CONFIGFS
  22. tristate "Enable IIO configuration via configfs"
  23. select CONFIGFS_FS
  24. help
  25. This allows configuring various IIO bits through configfs
  26. (e.g. software triggers). For more info see
  27. Documentation/iio/iio_configfs.rst.
  28. config IIO_GTS_HELPER
  29. tristate
  30. config IIO_TRIGGER
  31. bool "Enable triggered sampling support"
  32. help
  33. Provides IIO core support for triggers. Currently these
  34. are used to initialize capture of samples to push into
  35. buffers. The triggers are effectively a 'capture
  36. data now' interrupt.
  37. config IIO_CONSUMERS_PER_TRIGGER
  38. int "Maximum number of consumers per trigger"
  39. depends on IIO_TRIGGER
  40. default "2"
  41. help
  42. This value controls the maximum number of consumers that a
  43. given trigger may handle. Default is 2.
  44. config IIO_SW_DEVICE
  45. tristate "Enable software IIO device support"
  46. select IIO_CONFIGFS
  47. help
  48. Provides IIO core support for software devices. A software
  49. device can be created via configfs or directly by a driver
  50. using the API provided.
  51. config IIO_SW_TRIGGER
  52. tristate "Enable software triggers support"
  53. select IIO_CONFIGFS
  54. help
  55. Provides IIO core support for software triggers. A software
  56. trigger can be created via configfs or directly by a driver
  57. using the API provided.
  58. config IIO_TRIGGERED_EVENT
  59. tristate "Enable triggered events support"
  60. select IIO_TRIGGER
  61. help
  62. Provides helper functions for setting up triggered events.
  63. config IIO_BACKEND
  64. tristate
  65. help
  66. Framework to handle complex IIO aggregate devices. The typical
  67. architecture that can make use of this framework is to have one
  68. device as the frontend device which can be "linked" against one or
  69. multiple backend devices. The framework then makes it easy to get
  70. and control such backend devices.
  71. source "drivers/iio/accel/Kconfig"
  72. source "drivers/iio/adc/Kconfig"
  73. source "drivers/iio/addac/Kconfig"
  74. source "drivers/iio/afe/Kconfig"
  75. source "drivers/iio/amplifiers/Kconfig"
  76. source "drivers/iio/cdc/Kconfig"
  77. source "drivers/iio/chemical/Kconfig"
  78. source "drivers/iio/common/Kconfig"
  79. source "drivers/iio/dac/Kconfig"
  80. source "drivers/iio/dummy/Kconfig"
  81. source "drivers/iio/filter/Kconfig"
  82. source "drivers/iio/frequency/Kconfig"
  83. source "drivers/iio/gyro/Kconfig"
  84. source "drivers/iio/health/Kconfig"
  85. source "drivers/iio/humidity/Kconfig"
  86. source "drivers/iio/imu/Kconfig"
  87. source "drivers/iio/light/Kconfig"
  88. source "drivers/iio/magnetometer/Kconfig"
  89. source "drivers/iio/multiplexer/Kconfig"
  90. source "drivers/iio/orientation/Kconfig"
  91. source "drivers/iio/test/Kconfig"
  92. if IIO_TRIGGER
  93. source "drivers/iio/trigger/Kconfig"
  94. endif #IIO_TRIGGER
  95. source "drivers/iio/position/Kconfig"
  96. source "drivers/iio/potentiometer/Kconfig"
  97. source "drivers/iio/potentiostat/Kconfig"
  98. source "drivers/iio/pressure/Kconfig"
  99. source "drivers/iio/proximity/Kconfig"
  100. source "drivers/iio/resolver/Kconfig"
  101. source "drivers/iio/temperature/Kconfig"
  102. endif # IIO