Kconfig 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Counter devices
  4. #
  5. menuconfig COUNTER
  6. tristate "Counter support"
  7. help
  8. This enables counter device support through the Generic Counter
  9. interface. You only need to enable this, if you also want to enable
  10. one or more of the counter device drivers below.
  11. if COUNTER
  12. config 104_QUAD_8
  13. tristate "ACCES 104-QUAD-8 driver"
  14. depends on PC104 && X86 && IIO
  15. select ISA_BUS_API
  16. help
  17. Say yes here to build support for the ACCES 104-QUAD-8 quadrature
  18. encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
  19. A counter's respective error flag may be cleared by performing a write
  20. operation on the respective count value attribute. Although the
  21. 104-QUAD-8 counters have a 25-bit range, only the lower 24 bits may be
  22. set, either directly or via the counter's preset attribute. Interrupts
  23. are not supported by this driver.
  24. The base port addresses for the devices may be configured via the base
  25. array module parameter.
  26. config STM32_TIMER_CNT
  27. tristate "STM32 Timer encoder counter driver"
  28. depends on MFD_STM32_TIMERS || COMPILE_TEST
  29. help
  30. Select this option to enable STM32 Timer quadrature encoder
  31. and counter driver.
  32. To compile this driver as a module, choose M here: the
  33. module will be called stm32-timer-cnt.
  34. config STM32_LPTIMER_CNT
  35. tristate "STM32 LP Timer encoder counter driver"
  36. depends on (MFD_STM32_LPTIMER || COMPILE_TEST) && IIO
  37. help
  38. Select this option to enable STM32 Low-Power Timer quadrature encoder
  39. and counter driver.
  40. To compile this driver as a module, choose M here: the
  41. module will be called stm32-lptimer-cnt.
  42. config FTM_QUADDEC
  43. tristate "Flex Timer Module Quadrature decoder driver"
  44. depends on HAS_IOMEM && OF
  45. help
  46. Select this option to enable the Flex Timer Quadrature decoder
  47. driver.
  48. To compile this driver as a module, choose M here: the
  49. module will be called ftm-quaddec.
  50. endif # COUNTER