# SPDX-License-Identifier: GPL-2.0-only # # Counter devices # menuconfig [31mCONFIG_COUNTER[0m tristate "Counter support" help This enables counter device support through the Generic Counter interface. You only need to enable this, if you also want to enable one or more of the counter device drivers below. if [31mCONFIG_COUNTER[0m config [31mCONFIG_104_QUAD_8[0m tristate "ACCES 104-QUAD-8 driver" depends on [31mCONFIG_PC104[0m && [31mCONFIG_X86[0m && [31mCONFIG_IIO[0m select [31mCONFIG_ISA_BUS_API[0m help Say yes here to build support for the ACCES 104-QUAD-8 quadrature encoder counter/interface device family (104-QUAD-8, 104-QUAD-4). [31mCONFIG_A[0m counter's respective error flag may be cleared by performing a write operation on the respective count value attribute. Although the 104-QUAD-8 counters have a 25-bit range, only the lower 24 bits may be set, either directly or via the counter's preset attribute. Interrupts are not supported by this driver. The base port addresses for the devices may be configured via the base array module parameter. config [31mCONFIG_STM32_TIMER_CNT[0m tristate "STM32 Timer encoder counter driver" depends on [31mCONFIG_MFD_STM32_TIMERS[0m || [31mCONFIG_COMPILE_TEST[0m help Select this option to enable STM32 Timer quadrature encoder and counter driver. To compile this driver as a module, choose [31mCONFIG_M[0m here: the module will be called stm32-timer-cnt. config [31mCONFIG_STM32_LPTIMER_CNT[0m tristate "STM32 LP Timer encoder counter driver" depends on ([31mCONFIG_MFD_STM32_LPTIMER[0m || [31mCONFIG_COMPILE_TEST[0m) && [31mCONFIG_IIO[0m help Select this option to enable STM32 Low-Power Timer quadrature encoder and counter driver. To compile this driver as a module, choose [31mCONFIG_M[0m here: the module will be called stm32-lptimer-cnt. config [31mCONFIG_FTM_QUADDEC[0m tristate "Flex Timer Module Quadrature decoder driver" depends on [31mCONFIG_HAS_IOMEM[0m && [31mCONFIG_OF[0m help Select this option to enable the Flex Timer Quadrature decoder driver. To compile this driver as a module, choose [31mCONFIG_M[0m here: the module will be called ftm-quaddec. endif # [31mCONFIG_COUNTER[0m |