]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ti_am335x_tsc - lower the X and Y sampling time
authorDario Binacchi <dariobin@libero.it>
Mon, 13 Dec 2021 05:15:01 +0000 (21:15 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Dec 2021 07:54:32 +0000 (23:54 -0800)
commit5c1987ab143a26f46545de2bbe644695bb5548d0
treeff1f4c27f3afdf5e580a13ee4dd22067fb5fa56a
parentec3ff63907b3cd99d94021f8f49dda59eb734ea8
Input: ti_am335x_tsc - lower the X and Y sampling time

The open delay time has to be applied only on the first sample of the
X/Y coordinates because on the following samples the ADC channel is not
changed. Removing this time from the samples after the first one,
"ti,coordinate-readouts" greater than 1, decreases the total acquisition
time, allowing to increase the number of acquired coordinates in the time
unit.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Link: https://lore.kernel.org/r/20211212125358.14416-4-dariobin@libero.it
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ti_am335x_tsc.c