Re: [PATCH v3 0/3] counter: add GPIO-based quadrature encoder driver

From: William Breathitt Gray

Date: Thu May 14 2026 - 09:19:44 EST


On Wed, May 06, 2026 at 08:50:33AM +0200, Wadim Mueller wrote:
> What i would like to know
> -------------------------
> My reading of the numbers is that on this kind of SoC a kernel side
> edge counter is the only way to get correct counts at industrial
> encoder rates without burning a whole core on a userspace listener,
> and that the proposed driver does exactly fit this role. But like i
> said, this is your subsystem and your call. So concretely:
>
> - if you would like me to send a v4 (with whatever changes from
> this round you want me to fold in) i am happy to do that;
> - if you would rather not take the driver at all, please tell me
> so and i will drop the series. I would just like to know either
> way, so i can stop sitting on the branch.
>
> Thanks for taking the time to look at it.

Thank you for the throughout analysis of the different GPIO counter
approaches. Your arguments make sense so I can see the merit of having
a GPIO kernel driver to achieve this. I'm going to complete a full
review in the next day or so, after which you can submit a v4 addressing
whatever comes up, and we can hopefully get this merged in to the
Counter subsystem when it's all ready.

William Breathitt Gray