Kconfig 1.4 KB

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