Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #
  2. # Industrial I/O subsystem configuration
  3. #
  4. menuconfig IIO
  5. tristate "Industrial I/O support"
  6. select ANON_INODES
  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. help
  15. Provide core support for various buffer based data
  16. acquisition methods.
  17. if IIO_BUFFER
  18. config IIO_BUFFER_CB
  19. bool "IIO callback buffer used for push in-kernel interfaces"
  20. help
  21. Should be selected by any drivers that do in-kernel push
  22. usage. That is, those where the data is pushed to the consumer.
  23. config IIO_KFIFO_BUF
  24. tristate "Industrial I/O buffering based on kfifo"
  25. help
  26. A simple fifo based on kfifo. Note that this currently provides
  27. no buffer events so it is up to userspace to work out how
  28. often to read from the buffer.
  29. config IIO_TRIGGERED_BUFFER
  30. tristate
  31. select IIO_TRIGGER
  32. select IIO_KFIFO_BUF
  33. help
  34. Provides helper functions for setting up triggered buffers.
  35. endif # IIO_BUFFER
  36. config IIO_TRIGGER
  37. bool "Enable triggered sampling support"
  38. help
  39. Provides IIO core support for triggers. Currently these
  40. are used to initialize capture of samples to push into
  41. buffers. The triggers are effectively a 'capture
  42. data now' interrupt.
  43. config IIO_CONSUMERS_PER_TRIGGER
  44. int "Maximum number of consumers per trigger"
  45. depends on IIO_TRIGGER
  46. default "2"
  47. help
  48. This value controls the maximum number of consumers that a
  49. given trigger may handle. Default is 2.
  50. source "drivers/iio/accel/Kconfig"
  51. source "drivers/iio/adc/Kconfig"
  52. source "drivers/iio/amplifiers/Kconfig"
  53. source "drivers/iio/common/Kconfig"
  54. source "drivers/iio/dac/Kconfig"
  55. source "drivers/iio/frequency/Kconfig"
  56. source "drivers/iio/gyro/Kconfig"
  57. source "drivers/iio/humidity/Kconfig"
  58. source "drivers/iio/imu/Kconfig"
  59. source "drivers/iio/light/Kconfig"
  60. source "drivers/iio/magnetometer/Kconfig"
  61. source "drivers/iio/orientation/Kconfig"
  62. if IIO_TRIGGER
  63. source "drivers/iio/trigger/Kconfig"
  64. endif #IIO_TRIGGER
  65. source "drivers/iio/pressure/Kconfig"
  66. source "drivers/iio/proximity/Kconfig"
  67. source "drivers/iio/temperature/Kconfig"
  68. endif # IIO