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