Merge tag 'am654-fixes-for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / drivers / counter / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
0040a390
WBG
2#
3# Counter devices
4#
5
6menuconfig COUNTER
7 tristate "Counter support"
8 help
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.
f1d8a071
WBG
12
13if COUNTER
14
15config 104_QUAD_8
16 tristate "ACCES 104-QUAD-8 driver"
17 depends on PC104 && X86 && IIO
18 select ISA_BUS_API
19 help
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).
22
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.
28
29 The base port addresses for the devices may be configured via the base
30 array module parameter.
31
ad29937e
BG
32config STM32_TIMER_CNT
33 tristate "STM32 Timer encoder counter driver"
34 depends on MFD_STM32_TIMERS || COMPILE_TEST
35 help
36 Select this option to enable STM32 Timer quadrature encoder
37 and counter driver.
38
39 To compile this driver as a module, choose M here: the
40 module will be called stm32-timer-cnt.
41
597f55e3
FG
42config STM32_LPTIMER_CNT
43 tristate "STM32 LP Timer encoder counter driver"
44 depends on (MFD_STM32_LPTIMER || COMPILE_TEST) && IIO
45 help
46 Select this option to enable STM32 Low-Power Timer quadrature encoder
47 and counter driver.
48
49 To compile this driver as a module, choose M here: the
50 module will be called stm32-lptimer-cnt.
51
a3b9a999
PH
52config FTM_QUADDEC
53 tristate "Flex Timer Module Quadrature decoder driver"
54 help
55 Select this option to enable the Flex Timer Quadrature decoder
56 driver.
57
58 To compile this driver as a module, choose M here: the
59 module will be called ftm-quaddec.
60
f1d8a071 61endif # COUNTER