]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: add driver for Allwinner sunxi SoC's rtp controller
authorHans de Goede <hdegoede@redhat.com>
Wed, 14 May 2014 18:20:45 +0000 (11:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 May 2014 23:40:06 +0000 (16:40 -0700)
commit6decea7c5438e2955f64e2513ec9a2fac7602a7d
treedc4e679f87d1042e7ad681daed6575b0eb1a14d6
parent125a72d6275dc777d18aa349842e89e53ddbeefd
Input: add driver for Allwinner sunxi SoC's rtp controller

Note the sun4i-ts controller is capable of detecting a second touch, but
when a second touch is present then the accuracy becomes so bad the
reported touch location is not useable.

The original android driver contains some complicated heuristics using the
aprox. distance between the 2 touches to see if the user is making a pinch
open / close movement, and then reports emulated multi-touch events around
the last touch coordinate (as the dual-touch coordinates are worthless).

These kinds of heuristics are just asking for trouble (and don't belong in
the kernel). So this driver offers straight forward, reliable single touch
functionality only.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/sun4i.txt [new file with mode: 0644]
drivers/input/touchscreen/Kconfig
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/sun4i-ts.c [new file with mode: 0644]