]> git.baikalelectronics.ru Git - kernel.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)
commitfdc4505cff31ef46ceff10f6dca940d2c0fca120
treedc4e679f87d1042e7ad681daed6575b0eb1a14d6
parent4d898115c2088e7c9b9752fd328c4a059044d10c
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]