[PATCH 0/3] Introduce a counter inkernel API

From: Kamel Bouhara
Date: Mon Apr 06 2020 - 11:58:27 EST


Hello everyone,

This series introduce a basic inkernel API for the counter subsystem and
add a new rotary encoder driver that use a counter interface instead of
the GPIO existing one.

See commit log in 0001-counter-add-an-inkernel-API.patch for further
details.

Kamel Bouhara (3):
counter: add an inkernel API
Input: rotary-encoder-counter: add DT bindings
Input: add a rotary encoders based on counter devices

.../input/rotary-encoder-counter.yaml | 67 ++++++
drivers/counter/counter.c | 213 ++++++++++++++++++
drivers/input/misc/Kconfig | 9 +
drivers/input/misc/Makefile | 1 +
drivers/input/misc/rotary_encoder_counter.c | 152 +++++++++++++
include/linux/counter.h | 27 +++
6 files changed, 469 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/rotary-encoder-counter.yaml
create mode 100644 drivers/input/misc/rotary_encoder_counter.c

--
2.25.0