brintos

brintos / linux-shallow public Read only

0
0
Text · 4.6 KiB · d30d22d Raw
151 lines · plain
1# SPDX-License-Identifier: GPL-2.0-only2#3# Counter devices4#5 6config I82547	tristate8	select COUNTER9	select REGMAP10	help11	  Enables support for the i8254 interface library functions. The i825412	  interface library provides functions to facilitate communication with13	  interfaces compatible with the venerable Intel 8254 Programmable14	  Interval Timer (PIT). The Intel 825x family of chips was first15	  released in the early 1980s but compatible interfaces are nowadays16	  typically found embedded in larger VLSI processing chips and FPGA17	  components.18 19	  If built as a module its name will be i8254.20 21menuconfig COUNTER22	tristate "Counter support"23	help24	  This enables counter device support through the Generic Counter25	  interface. You only need to enable this, if you also want to enable26	  one or more of the counter device drivers below.27 28if COUNTER29 30config 104_QUAD_831	tristate "ACCES 104-QUAD-8 driver"32	depends on (PC104 && X86) || COMPILE_TEST33	depends on HAS_IOPORT_MAP34	select ISA_BUS_API35	select REGMAP_MMIO36	help37	  Say yes here to build support for the ACCES 104-QUAD-8 quadrature38	  encoder counter/interface device family (104-QUAD-8, 104-QUAD-4).39 40	  A counter's respective error flag may be cleared by performing a write41	  operation on the respective count value attribute. The 104-QUAD-842	  counters may be set either directly or via the counter's preset43	  attribute.44 45	  The base port addresses for the devices may be configured via the base46	  array module parameter. The interrupt line numbers for the devices may47	  be configured via the irq array module parameter.48 49config FTM_QUADDEC50	tristate "Flex Timer Module Quadrature decoder driver"51	depends on SOC_LS1021A || COMPILE_TEST52	depends on HAS_IOMEM && OF53	help54	  Select this option to enable the Flex Timer Quadrature decoder55	  driver.56 57	  To compile this driver as a module, choose M here: the58	  module will be called ftm-quaddec.59 60config INTEL_QEP61	tristate "Intel Quadrature Encoder Peripheral driver"62	depends on X8663	depends on PCI64	help65	  Select this option to enable the Intel Quadrature Encoder Peripheral66	  driver.67 68	  To compile this driver as a module, choose M here: the module69	  will be called intel-qep.70 71config INTERRUPT_CNT72	tristate "Interrupt counter driver"73	depends on GPIOLIB74	help75	  Select this option to enable interrupt counter driver. Any interrupt76	  source can be used by this driver as the event source.77 78	  To compile this driver as a module, choose M here: the79	  module will be called interrupt-cnt.80 81config MICROCHIP_TCB_CAPTURE82	tristate "Microchip Timer Counter Capture driver"83	depends on SOC_AT91SAM9 || SOC_SAM_V7 || COMPILE_TEST84	depends on HAS_IOMEM && OF85	select REGMAP_MMIO86	help87	  Select this option to enable the Microchip Timer Counter Block88	  capture driver.89 90	  To compile this driver as a module, choose M here: the91	  module will be called microchip-tcb-capture.92 93config RZ_MTU3_CNT94	tristate "Renesas RZ/G2L MTU3a counter driver"95	depends on RZ_MTU396	help97	  Enable support for MTU3a counter driver found on Renesas RZ/G2L alike98	  SoCs. This IP supports both 16-bit and 32-bit phase counting mode99	  support.100 101	  To compile this driver as a module, choose M here: the102	  module will be called rz-mtu3-cnt.103 104config STM32_LPTIMER_CNT105	tristate "STM32 LP Timer encoder counter driver"106	depends on MFD_STM32_LPTIMER || COMPILE_TEST107	help108	  Select this option to enable STM32 Low-Power Timer quadrature encoder109	  and counter driver.110 111	  To compile this driver as a module, choose M here: the112	  module will be called stm32-lptimer-cnt.113 114config STM32_TIMER_CNT115	tristate "STM32 Timer encoder counter driver"116	depends on MFD_STM32_TIMERS || COMPILE_TEST117	help118	  Select this option to enable STM32 Timer quadrature encoder119	  and counter driver.120 121	  To compile this driver as a module, choose M here: the122	  module will be called stm32-timer-cnt.123 124config TI_ECAP_CAPTURE125	tristate "TI eCAP capture driver"126	depends on ARCH_OMAP2PLUS || ARCH_DAVINCI_DA8XX || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST127	depends on HAS_IOMEM128	select REGMAP_MMIO129	help130	  Select this option to enable the Texas Instruments Enhanced Capture131	  (eCAP) driver in input mode.132 133	  It can be used to timestamp events (falling/rising edges) detected134	  on ECAP input signal.135 136	  To compile this driver as a module, choose M here: the module137	  will be called ti-ecap-capture.138 139config TI_EQEP140	tristate "TI eQEP counter driver"141	depends on SOC_AM33XX || ARCH_K3 || COMPILE_TEST142	select REGMAP_MMIO143	help144	  Select this option to enable the Texas Instruments Enhanced Quadrature145	  Encoder Pulse (eQEP) counter driver.146 147	  To compile this driver as a module, choose M here: the module will be148	  called ti-eqep.149 150endif # COUNTER151