Hi, Here's a simple RFC for Intel's Quadrature Encoder. Let me make it clear that I don't mean we should the following patch as is, rather I'd like to open the discussion to, perhaps, extending Industrial Automation Framework with support for Quadrature Encoders. Let me know if you think IIO would be correct place for such devices, then I can start reworking the driver to provide an IIO-compliant interface. I'm thinking we would need standard sysfs files for configuring the QEP into single-shot QEP mode or buffered Capture mode, configure thresholds and other details. Cheers Felipe Balbi (1): misc: introduce intel QEP drivers/misc/Kconfig | 7 + drivers/misc/Makefile | 1 + drivers/misc/intel-qep.c | 813 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 821 insertions(+) create mode 100644 drivers/misc/intel-qep.c -- 2.23.0