diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-05-14 14:20:45 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-05-14 19:40:06 -0400 |
commit | 6decea7c5438e2955f64e2513ec9a2fac7602a7d (patch) | |
tree | dc4e679f87d1042e7ad681daed6575b0eb1a14d6 /Documentation/devicetree/bindings/input | |
parent | 125a72d6275dc777d18aa349842e89e53ddbeefd (diff) |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
-rw-r--r-- | Documentation/devicetree/bindings/input/touchscreen/sun4i.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/sun4i.txt b/Documentation/devicetree/bindings/input/touchscreen/sun4i.txt new file mode 100644 index 000000000000..881aea713fc3 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/sun4i.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | sun4i resistive touchscreen controller | ||
2 | -------------------------------------- | ||
3 | |||
4 | Required properties: | ||
5 | - compatible: "allwinner,sun4i-a10-ts" | ||
6 | - reg: mmio address range of the chip | ||
7 | - interrupts: interrupt to which the chip is connected | ||
8 | |||
9 | Example: | ||
10 | |||
11 | rtp: rtp@01c25000 { | ||
12 | compatible = "allwinner,sun4i-a10-ts"; | ||
13 | reg = <0x01c25000 0x100>; | ||
14 | interrupts = <29>; | ||
15 | }; | ||