xref: /linux/drivers/counter/Kconfig (revision f1d8a071d45bf13dd9bb9f1777133ca8a1cafebe)
10040a390SWilliam Breathitt Gray#
20040a390SWilliam Breathitt Gray# Counter devices
30040a390SWilliam Breathitt Gray#
40040a390SWilliam Breathitt Gray
50040a390SWilliam Breathitt Graymenuconfig COUNTER
60040a390SWilliam Breathitt Gray	tristate "Counter support"
70040a390SWilliam Breathitt Gray	help
80040a390SWilliam Breathitt Gray	  This enables counter device support through the Generic Counter
90040a390SWilliam Breathitt Gray	  interface. You only need to enable this, if you also want to enable
100040a390SWilliam Breathitt Gray	  one or more of the counter device drivers below.
11*f1d8a071SWilliam Breathitt Gray
12*f1d8a071SWilliam Breathitt Grayif COUNTER
13*f1d8a071SWilliam Breathitt Gray
14*f1d8a071SWilliam Breathitt Grayconfig 104_QUAD_8
15*f1d8a071SWilliam Breathitt Gray	tristate "ACCES 104-QUAD-8 driver"
16*f1d8a071SWilliam Breathitt Gray	depends on PC104 && X86 && IIO
17*f1d8a071SWilliam Breathitt Gray	select ISA_BUS_API
18*f1d8a071SWilliam Breathitt Gray	help
19*f1d8a071SWilliam Breathitt Gray	  Say yes here to build support for the ACCES 104-QUAD-8 quadrature
20*f1d8a071SWilliam Breathitt Gray	  encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).
21*f1d8a071SWilliam Breathitt Gray
22*f1d8a071SWilliam Breathitt Gray	  A counter's respective error flag may be cleared by performing a write
23*f1d8a071SWilliam Breathitt Gray	  operation on the respective count value attribute. Although the
24*f1d8a071SWilliam Breathitt Gray	  104-QUAD-8 counters have a 25-bit range, only the lower 24 bits may be
25*f1d8a071SWilliam Breathitt Gray	  set, either directly or via the counter's preset attribute. Interrupts
26*f1d8a071SWilliam Breathitt Gray	  are not supported by this driver.
27*f1d8a071SWilliam Breathitt Gray
28*f1d8a071SWilliam Breathitt Gray	  The base port addresses for the devices may be configured via the base
29*f1d8a071SWilliam Breathitt Gray	  array module parameter.
30*f1d8a071SWilliam Breathitt Gray
31*f1d8a071SWilliam Breathitt Grayendif # COUNTER
32