Input: add new sun4i-lradc-keys driver
authorHans de Goede <hdegoede@redhat.com>
Thu, 18 Dec 2014 17:24:50 +0000 (09:24 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Dec 2014 02:59:21 +0000 (18:59 -0800)
commitaf6a5af8e8cc1566fc06636de02347825808650e
treed40074d31035c565772a92167b390b4850dab6bc
parentd64cb71bede87dbca60d586a7bb4cef87fbe2731
Input: add new sun4i-lradc-keys driver

Allwinnner sunxi SoCs have a low resolution adc (called lradc) which is
specifically designed to have various (tablet) keys (ie home, back, search,
etc). attached to it using a resistor network. This adds a driver for this.

There are 2 channels, currently this driver only supports chan0 since there
are no boards known to use chan1.

This has been tested on an olimex a10s-olinuxino-micro, a13-olinuxino, and
a20-olinuxino-micro.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/sun4i-lradc-keys.txt [new file with mode: 0644]
MAINTAINERS
drivers/input/keyboard/Kconfig
drivers/input/keyboard/Makefile
drivers/input/keyboard/sun4i-lradc-keys.c [new file with mode: 0644]