linux/drivers/counter
Oleksij Rempel a55ebd47f2 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>
2021-03-25 19:13:51 +00:00
..
104-quad-8.c counter: 104-quad-8: Remove IIO counter ABI 2021-03-11 20:46:56 +00:00
counter.c counter: Simplify the count_read and count_write callbacks 2019-10-18 19:47:27 +01:00
ftm-quaddec.c counter: Simplify the count_read and count_write callbacks 2019-10-18 19:47:27 +01:00
interrupt-cnt.c counter: add IRQ or GPIO based counter 2021-03-25 19:13:51 +00:00
Kconfig counter: add IRQ or GPIO based counter 2021-03-25 19:13:51 +00:00
Makefile counter: add IRQ or GPIO based counter 2021-03-25 19:13:51 +00:00
microchip-tcb-capture.c counter: microchip-tcb-capture: Fix CMR value check 2020-12-03 19:40:31 +00:00
stm32-lptimer-cnt.c counter: stm32-lptimer-cnt: remove iio counter abi 2021-03-11 20:46:56 +00:00
stm32-timer-cnt.c counter: stm32-timer-cnt: remove iio headers 2020-02-21 10:02:15 +00:00
ti-eqep.c counter:ti-eqep: remove floor 2021-01-14 20:56:56 +00:00