Input: generic driver for rotary encoders on GPIOs
authorDaniel Mack <daniel@caiaq.de>
Thu, 5 Mar 2009 07:27:14 +0000 (23:27 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 8 Mar 2009 23:35:53 +0000 (16:35 -0700)
commit73969ff0eda233f140bcbed1251431387b43f383
treeb7dd2b670d9e03916b04469e9d38b71d69c6cd60
parentb0ecc7309443dbcf1a0ce2d93f39f5d92c124d42
Input: generic driver for rotary encoders on GPIOs

This patch adds a generic driver for rotary encoders connected to GPIO
pins of a system. It relies on gpiolib and generic hardware irqs. The
documentation that also comes with this patch explains the concept and
how to use the driver.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Tested-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Documentation/input/rotary-encoder.txt [new file with mode: 0644]
drivers/input/misc/Kconfig
drivers/input/misc/Makefile
drivers/input/misc/rotary_encoder.c [new file with mode: 0644]
include/linux/rotary_encoder.h [new file with mode: 0644]