summaryrefslogtreecommitdiff
path: root/drivers/iio/pressure/zpa2326.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-03-01 11:04:01 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-03-25 22:13:51 +0300
commita55ebd47f21f6f0472766fb52c973849e31d1466 (patch)
tree80af6b63962442b5a719f22a7adcc128e479cfbe /drivers/iio/pressure/zpa2326.c
parent0b8061c340b643e01da431dd60c75a41bb1d31ec (diff)
downloadlinux-a55ebd47f21f6f0472766fb52c973849e31d1466.tar.xz
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/zpa2326.c')
0 files changed, 0 insertions, 0 deletions