Kconfig 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. drivers/staging/iio/Documentation for more information.
  12. if IIO
  13. config IIO_RING_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_RING_BUFFER
  19. config IIO_SW_RING
  20. select IIO_TRIGGER
  21. tristate "Industrial I/O lock free software ring"
  22. help
  23. Example software ring buffer implementation. The design aim
  24. of this particular realization was to minimize write locking
  25. with the intention that some devices would be able to write
  26. in interrupt context.
  27. config IIO_KFIFO_BUF
  28. select IIO_TRIGGER
  29. tristate "Industrial I/O buffering based on kfifo"
  30. help
  31. A simple fifo based on kfifo. Use this if you want a fifo
  32. rather than a ring buffer. Note that this currently provides
  33. no buffer events so it is up to userspace to work out how
  34. often to read from the buffer.
  35. endif # IIO_RINGBUFFER
  36. config IIO_TRIGGER
  37. boolean "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. ring 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/staging/iio/accel/Kconfig"
  51. source "drivers/staging/iio/adc/Kconfig"
  52. source "drivers/staging/iio/addac/Kconfig"
  53. source "drivers/staging/iio/dac/Kconfig"
  54. source "drivers/staging/iio/dds/Kconfig"
  55. source "drivers/staging/iio/gyro/Kconfig"
  56. source "drivers/staging/iio/imu/Kconfig"
  57. source "drivers/staging/iio/light/Kconfig"
  58. source "drivers/staging/iio/magnetometer/Kconfig"
  59. source "drivers/staging/iio/meter/Kconfig"
  60. source "drivers/staging/iio/resolver/Kconfig"
  61. source "drivers/staging/iio/trigger/Kconfig"
  62. endif # IIO