mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 22:34:33 +01:00
Add simple IRQ or GPIO base counter. This device is used to measure rotation speed of some agricultural devices, so no high frequency on the counter pin is expected. The maximal measurement frequency depends on the CPU and system load. On the idle iMX6S I was able to measure up to 20kHz without count drops. Signed-off-by: Oleksij Rempel <[email protected]> Reviewed-by: Ahmad Fatoum <[email protected]> Reviewed-by: William Breathitt Gray <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
15 lines
449 B
Makefile
15 lines
449 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for Counter devices
|
|
#
|
|
|
|
obj-$(CONFIG_COUNTER) += counter.o
|
|
|
|
obj-$(CONFIG_104_QUAD_8) += 104-quad-8.o
|
|
obj-$(CONFIG_INTERRUPT_CNT) += interrupt-cnt.o
|
|
obj-$(CONFIG_STM32_TIMER_CNT) += stm32-timer-cnt.o
|
|
obj-$(CONFIG_STM32_LPTIMER_CNT) += stm32-lptimer-cnt.o
|
|
obj-$(CONFIG_TI_EQEP) += ti-eqep.o
|
|
obj-$(CONFIG_FTM_QUADDEC) += ftm-quaddec.o
|
|
obj-$(CONFIG_MICROCHIP_TCB_CAPTURE) += microchip-tcb-capture.o
|