Linux-libre 4.15.7-gnu
[librecmc/linux-libre.git] / drivers / iio / counter / Kconfig
1 #
2 # Counter devices
3 #
4 # When adding new entries keep the list in alphabetical order
5
6 menu "Counters"
7
8 config 104_QUAD_8
9         tristate "ACCES 104-QUAD-8 driver"
10         depends on PC104 && X86 && ISA_BUS_API
11         help
12           Say yes here to build support for the ACCES 104-QUAD-8 quadrature
13           encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
14
15           Performing a write to a counter's IIO_CHAN_INFO_RAW sets the counter and
16           also clears the counter's respective error flag. Although the counters
17           have a 25-bit range, only the lower 24 bits may be set, either directly
18           or via a counter's preset attribute. Interrupts are not supported by
19           this driver.
20
21           The base port addresses for the devices may be configured via the base
22           array module parameter.
23
24 config STM32_LPTIMER_CNT
25         tristate "STM32 LP Timer encoder counter driver"
26         depends on MFD_STM32_LPTIMER || COMPILE_TEST
27         help
28           Select this option to enable STM32 Low-Power Timer quadrature encoder
29           and counter driver.
30
31           To compile this driver as a module, choose M here: the
32           module will be called stm32-lptimer-cnt.
33 endmenu