Re: [PATCH v6 2/2] counter: add IRQ or GPIO based event counter

2021-02-21 Thread Jonathan Cameron
On Tue, 16 Feb 2021 09:13:56 +0100 Oleksij Rempel wrote: > Add simple IRQ or GPIO base event 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

[PATCH v6 2/2] counter: add IRQ or GPIO based event counter

2021-02-16 Thread Oleksij Rempel
Add simple IRQ or GPIO base event 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 with