1 # SPDX-License-Identifier: GPL-2.0-only
7 tristate "Counter support"
9 This enables counter device support through the Generic Counter
10 interface. You only need to enable this, if you also want to enable
11 one or more of the counter device drivers below.
16 tristate "ACCES 104-QUAD-8 driver"
17 depends on PC104 && X86 && IIO
20 Say yes here to build support for the ACCES 104-QUAD-8 quadrature
21 encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
23 A counter's respective error flag may be cleared by performing a write
24 operation on the respective count value attribute. Although the
25 104-QUAD-8 counters have a 25-bit range, only the lower 24 bits may be
26 set, either directly or via the counter's preset attribute. Interrupts
27 are not supported by this driver.
29 The base port addresses for the devices may be configured via the base
30 array module parameter.
32 config STM32_TIMER_CNT
33 tristate "STM32 Timer encoder counter driver"
34 depends on MFD_STM32_TIMERS || COMPILE_TEST
36 Select this option to enable STM32 Timer quadrature encoder
39 To compile this driver as a module, choose M here: the
40 module will be called stm32-timer-cnt.
42 config STM32_LPTIMER_CNT
43 tristate "STM32 LP Timer encoder counter driver"
44 depends on (MFD_STM32_LPTIMER || COMPILE_TEST) && IIO
46 Select this option to enable STM32 Low-Power Timer quadrature encoder
49 To compile this driver as a module, choose M here: the
50 module will be called stm32-lptimer-cnt.
53 tristate "TI eQEP counter driver"
54 depends on (SOC_AM33XX || COMPILE_TEST)
57 Select this option to enable the Texas Instruments Enhanced Quadrature
58 Encoder Pulse (eQEP) counter driver.
60 To compile this driver as a module, choose M here: the module will be
64 tristate "Flex Timer Module Quadrature decoder driver"
65 depends on HAS_IOMEM && OF
67 Select this option to enable the Flex Timer Quadrature decoder
70 To compile this driver as a module, choose M here: the
71 module will be called ftm-quaddec.
73 config MICROCHIP_TCB_CAPTURE
74 tristate "Microchip Timer Counter Capture driver"
75 depends on HAS_IOMEM && OF
78 Select this option to enable the Microchip Timer Counter Block
81 To compile this driver as a module, choose M here: the
82 module will be called microchip-tcb-capture.