Kconfig 2.0 KB

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