diff --git a/drivers/counter/Kconfig b/drivers/counter/Kconfig index d388bf26f4dc..508d857808e9 100644 --- a/drivers/counter/Kconfig +++ b/drivers/counter/Kconfig @@ -29,47 +29,6 @@ config 104_QUAD_8 array module parameter. The interrupt line numbers for the devices may be configured via the irq array module parameter. -config INTERRUPT_CNT - tristate "Interrupt counter driver" - depends on GPIOLIB - help - Select this option to enable interrupt counter driver. Any interrupt - source can be used by this driver as the event source. - - To compile this driver as a module, choose M here: the - module will be called interrupt-cnt. - -config STM32_TIMER_CNT - tristate "STM32 Timer encoder counter driver" - depends on MFD_STM32_TIMERS || COMPILE_TEST - help - Select this option to enable STM32 Timer quadrature encoder - and counter driver. - - To compile this driver as a module, choose M here: the - module will be called stm32-timer-cnt. - -config STM32_LPTIMER_CNT - tristate "STM32 LP Timer encoder counter driver" - depends on MFD_STM32_LPTIMER || COMPILE_TEST - help - Select this option to enable STM32 Low-Power Timer quadrature encoder - and counter driver. - - To compile this driver as a module, choose M here: the - module will be called stm32-lptimer-cnt. - -config TI_EQEP - tristate "TI eQEP counter driver" - depends on (SOC_AM33XX || COMPILE_TEST) - select REGMAP_MMIO - help - Select this option to enable the Texas Instruments Enhanced Quadrature - Encoder Pulse (eQEP) counter driver. - - To compile this driver as a module, choose M here: the module will be - called ti-eqep. - config FTM_QUADDEC tristate "Flex Timer Module Quadrature decoder driver" depends on HAS_IOMEM && OF @@ -80,6 +39,26 @@ config FTM_QUADDEC To compile this driver as a module, choose M here: the module will be called ftm-quaddec. +config INTEL_QEP + tristate "Intel Quadrature Encoder Peripheral driver" + depends on PCI + help + Select this option to enable the Intel Quadrature Encoder Peripheral + driver. + + To compile this driver as a module, choose M here: the module + will be called intel-qep. + +config INTERRUPT_CNT + tristate "Interrupt counter driver" + depends on GPIOLIB + help + Select this option to enable interrupt counter driver. Any interrupt + source can be used by this driver as the event source. + + To compile this driver as a module, choose M here: the + module will be called interrupt-cnt. + config MICROCHIP_TCB_CAPTURE tristate "Microchip Timer Counter Capture driver" depends on HAS_IOMEM && OF @@ -91,15 +70,25 @@ config MICROCHIP_TCB_CAPTURE To compile this driver as a module, choose M here: the module will be called microchip-tcb-capture. -config INTEL_QEP - tristate "Intel Quadrature Encoder Peripheral driver" - depends on PCI +config STM32_LPTIMER_CNT + tristate "STM32 LP Timer encoder counter driver" + depends on MFD_STM32_LPTIMER || COMPILE_TEST help - Select this option to enable the Intel Quadrature Encoder Peripheral - driver. + Select this option to enable STM32 Low-Power Timer quadrature encoder + and counter driver. - To compile this driver as a module, choose M here: the module - will be called intel-qep. + To compile this driver as a module, choose M here: the + module will be called stm32-lptimer-cnt. + +config STM32_TIMER_CNT + tristate "STM32 Timer encoder counter driver" + depends on MFD_STM32_TIMERS || COMPILE_TEST + help + Select this option to enable STM32 Timer quadrature encoder + and counter driver. + + To compile this driver as a module, choose M here: the + module will be called stm32-timer-cnt. config TI_ECAP_CAPTURE tristate "TI eCAP capture driver" @@ -116,4 +105,15 @@ config TI_ECAP_CAPTURE To compile this driver as a module, choose M here: the module will be called ti-ecap-capture. +config TI_EQEP + tristate "TI eQEP counter driver" + depends on (SOC_AM33XX || COMPILE_TEST) + select REGMAP_MMIO + help + Select this option to enable the Texas Instruments Enhanced Quadrature + Encoder Pulse (eQEP) counter driver. + + To compile this driver as a module, choose M here: the module will be + called ti-eqep. + endif # COUNTER