linux/Documentation/devicetree/bindings/input/touchscreen
Hans de Goede 91c68a7c1d Input: sun4i-ts - A10 (sun4i) has a different temperature curve
Testing has revealed that the temperature in the rtp controller of the A10
(sun4i) SoC has a different curve then on the A13 (sun5i) and later models.

Add a new sun5i-a13-ts compatible to differentiate the newer models and
set the curve based on the compatible string.

The new curve is still not ideal on all A10-s, that seems to have to
do with there being a large spread between different A10-s out there,
the new curve us based on callibration results on 4 completely different
models:
                        raw min raw max temp min temp max stepsize offset
Tong Zhang's hackberry    2402    2680    45.0     80.0    0.125   -255.3
Hansg's Cubieboard        2207    2300    36.0     45.0    0.096   -175.8
Olliver's lime 1 (*):     2258    2537    48.3     87.1    0.139   -265.7
Olliver's lime 2 (*):     2222    2486    46.7     91.7    0.170   -331.0
*) from: http://linux-sunxi.org/Temperature_Calibration

Average all 4:                                             0.133   -257.0
Average without outliers (middle 2):                       0.132   -261.0

Since it is better to slightly overreport the temperature this patch uses
the average of all 4 as curve.

This fixes the temperature reported on the A10 being much higher then
expected.

Reported-by: Tong Zhang <lovewilliam@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2015-03-08 14:16:59 -07:00
..
auo_pixcir_ts.txt Input: auo_pixcir_ts - add devicetree support 2013-02-24 19:10:18 -08:00
bu21013.txt Documentation: Detail permitted DT properties for the BU21013 Touch Screen 2012-11-01 13:02:13 +01:00
edt-ft5x06.txt Input: edt-ft5x06 - add DT support 2014-03-28 09:33:03 -07:00
egalax-ts.txt Input: egalax-ts - fix typo and improve text 2013-08-29 09:34:44 -07:00
goodix.txt Input: goodix - add device tree support 2015-03-06 17:18:17 -08:00
lpc32xx-tsc.txt
mms114.txt Input: mms114 - add device tree bindings 2012-10-11 01:29:36 -07:00
pixcir_i2c_ts.txt Input: pixcir_i2c_ts - add device tree support 2014-07-28 10:26:18 -07:00
sitronix-st1232.txt Input: st1232 - add reset pin handling 2013-04-15 10:00:44 -07:00
stmpe.txt Input: stmpe-ts - add DT support for stmpe touchscreen 2012-11-22 23:47:09 -08:00
sun4i.txt Input: sun4i-ts - A10 (sun4i) has a different temperature curve 2015-03-08 14:16:59 -07:00
sx8654.txt Input: add support for Semtech SX8654 I2C touchscreen controller 2015-03-06 17:18:17 -08:00
ti-tsc-adc.txt Input: ti_am335x_tsc - read charge delay from DT 2015-02-03 11:50:38 -08:00
touchscreen.txt Input: add common DT binding for touchscreens 2014-05-29 00:05:59 -07:00
tsc2005.txt Input: tsc2005 - add DT support 2014-05-29 00:06:00 -07:00
tsc2007.txt Input: tsc2007 - add device tree support. 2013-11-25 18:27:53 -08:00
zforce_ts.txt Input: zforce - add regulator handling 2014-07-21 10:28:53 -07:00