Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #
  2. # Industrial I/O subsytem 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). See
  11. Documentation/iio for more information.
  12. if IIO
  13. config IIO_BUFFER
  14. bool "Enable buffer support within IIO"
  15. help
  16. Provide core support for various buffer based data
  17. acquisition methods.
  18. if IIO_BUFFER
  19. config IIO_KFIFO_BUF
  20. select IIO_TRIGGER
  21. tristate "Industrial I/O buffering based on kfifo"
  22. help
  23. A simple fifo based on kfifo. Use this if you want a fifo
  24. rather than a ring buffer. Note that this currently provides
  25. no buffer events so it is up to userspace to work out how
  26. often to read from the buffer.
  27. endif # IIO_BUFFER
  28. config IIO_TRIGGER
  29. boolean "Enable triggered sampling support"
  30. help
  31. Provides IIO core support for triggers. Currently these
  32. are used to initialize capture of samples to push into
  33. ring buffers. The triggers are effectively a 'capture
  34. data now' interrupt.
  35. config IIO_CONSUMERS_PER_TRIGGER
  36. int "Maximum number of consumers per trigger"
  37. depends on IIO_TRIGGER
  38. default "2"
  39. help
  40. This value controls the maximum number of consumers that a
  41. given trigger may handle. Default is 2.
  42. source "drivers/iio/adc/Kconfig"
  43. source "drivers/iio/amplifiers/Kconfig"
  44. endif # IIO