]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ti_am335x_tsc - set ADCREFM for X configuration
authorDario Binacchi <dariobin@libero.it>
Mon, 13 Dec 2021 05:14:35 +0000 (21:14 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Dec 2021 07:52:32 +0000 (23:52 -0800)
commit1eb6ced5e4b134520a36f4a884fbaa52b7bb2c0a
tree03c7d3c0bfdb1db506502b776ae3fe212e2bb7f1
parentfa9c632adb6fedac040ab5d6ad8a735e2a5d3729
Input: ti_am335x_tsc - set ADCREFM for X configuration

As reported by the STEPCONFIG[1-16] registered field descriptions of the
TI reference manual, for the ADC "in single ended, SEL_INM_SWC_3_0 must
be 1xxx".

Unlike the Y and Z coordinates, this bit has not been set for the step
configuration registers used to sample the X coordinate.

Fixes: 16c2aaa4e610 ("Input: add support for TI Touchscreen controller")
Signed-off-by: Dario Binacchi <dariobin@libero.it>
Link: https://lore.kernel.org/r/20211212125358.14416-2-dariobin@libero.it
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ti_am335x_tsc.c