summaryrefslogtreecommitdiffstats
path: root/drivers/counter/Makefile
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-03-01 09:04:01 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-25 19:13:51 +0000
commita55ebd47f21f6f0472766fb52c973849e31d1466 (patch)
tree80af6b63962442b5a719f22a7adcc128e479cfbe /drivers/counter/Makefile
parent0b8061c340b643e01da431dd60c75a41bb1d31ec (diff)
downloadlinux-a55ebd47f21f6f0472766fb52c973849e31d1466.tar.gz
linux-a55ebd47f21f6f0472766fb52c973849e31d1466.tar.bz2
linux-a55ebd47f21f6f0472766fb52c973849e31d1466.zip
counter: add IRQ or GPIO based counter
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 <o.rempel@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: William Breathitt Gray <vilhelm.gray@gmail.com> Link: https://lore.kernel.org/r/20210301080401.22190-3-o.rempel@pengutronix.de Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/counter/Makefile')
-rw-r--r--drivers/counter/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/counter/Makefile b/drivers/counter/Makefile
index 0a393f71e481..cb646ed2f039 100644
--- a/drivers/counter/Makefile
+++ b/drivers/counter/Makefile
@@ -6,6 +6,7 @@
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