Re: Quadrature decoder driver
On Wed, 02 Aug 2017 16:03:28 +0200
Jonas Pfaff <firstname.lastname@example.org> wrote:
Hello,I'd think the good approach is to fit it into an existing subsystem
instead of creating new entities. So indeed, a sensor subsystem seems
like a default "goto" place.
On the other hand, some time ago there was an RFC for a touchscreen
driver, which received a very similar suggestion - instead of an adhoc
driver to be implemented as a sensor driver. I don't know how well that
went, but maybe, just maybe interested parties, while implementing such
cases as sensor drivers, should collect experience and evidence if we
need an "input" subsystem, in case the "sensor" subsystem isn't flexible
enough for user interaction cases.
Linaro.org | Open source software for ARM SoCs
Follow Linaro: http://www.facebook.com/pages/Linaro
http://twitter.com/#!/linaroorg - http://www.linaro.org/linaro-blog