[PATCH 0/2] input: rotary-encoder: Support key events

From: Donghoon Han
Date: Sat Jan 05 2019 - 15:27:36 EST


This patchset supports generating EV_KEY, instead of EV_REL.

An example could be a volume knob, with key events:
- KEY_VOLUMEDOWN / KEY_VOLUMEUP

[tested on imx6q platform, full period, half period]

Donghoon Han (2):
Input: rotary_encoder - Support key events
Input: rotaty-encoder - Add DT binding document

Documentation/devicetree/bindings/input/rotary-encoder.txt | 12 ++++++++++++
drivers/input/misc/rotary_encoder.c | 23 +++++++++++++++++++++--
2 files changed, 33 insertions(+), 2 deletions(-)