Kconfig 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #
  2. # Industrial I/O subsystem configuration
  3. #
  4. menuconfig IIO
  5. tristate "Industrial I/O support"
  6. depends on GENERIC_HARDIRQS
  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. boolean "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. select IIO_TRIGGER
  25. tristate "Industrial I/O buffering based on kfifo"
  26. help
  27. A simple fifo based on kfifo. Note that this currently provides
  28. no buffer events so it is up to userspace to work out how
  29. often to read from the buffer.
  30. config IIO_TRIGGERED_BUFFER
  31. tristate
  32. select IIO_TRIGGER
  33. select IIO_KFIFO_BUF
  34. help
  35. Provides helper functions for setting up triggered buffers.
  36. endif # IIO_BUFFER
  37. config IIO_TRIGGER
  38. boolean "Enable triggered sampling support"
  39. help
  40. Provides IIO core support for triggers. Currently these
  41. are used to initialize capture of samples to push into
  42. buffers. The triggers are effectively a 'capture
  43. data now' interrupt.
  44. config IIO_CONSUMERS_PER_TRIGGER
  45. int "Maximum number of consumers per trigger"
  46. depends on IIO_TRIGGER
  47. default "2"
  48. help
  49. This value controls the maximum number of consumers that a
  50. given trigger may handle. Default is 2.
  51. source "drivers/iio/accel/Kconfig"
  52. source "drivers/iio/adc/Kconfig"
  53. source "drivers/iio/amplifiers/Kconfig"
  54. source "drivers/iio/common/Kconfig"
  55. source "drivers/iio/dac/Kconfig"
  56. source "drivers/iio/frequency/Kconfig"
  57. source "drivers/iio/gyro/Kconfig"
  58. source "drivers/iio/imu/Kconfig"
  59. source "drivers/iio/light/Kconfig"
  60. source "drivers/iio/magnetometer/Kconfig"
  61. if IIO_TRIGGER
  62. source "drivers/iio/trigger/Kconfig"
  63. endif #IIO_TRIGGER
  64. source "drivers/iio/pressure/Kconfig"
  65. source "drivers/iio/temperature/Kconfig"
  66. endif # IIO