diff options
author | Oleksij Rempel | 2021-03-01 09:04:01 +0100 |
---|---|---|
committer | Jonathan Cameron | 2021-03-25 19:13:51 +0000 |
commit | a55ebd47f21f6f0472766fb52c973849e31d1466 (patch) | |
tree | 80af6b63962442b5a719f22a7adcc128e479cfbe /drivers/iio/pressure | |
parent | 0b8061c340b643e01da431dd60c75a41bb1d31ec (diff) |
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/iio/pressure')
0 files changed, 0 insertions, 0 deletions