]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ti_am335x_tscadc: Drop the CNTRLREG_TSC_8WIRE macro
authorDario Binacchi <dariobin@libero.it>
Thu, 25 Nov 2021 22:46:42 +0000 (23:46 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 29 Nov 2021 13:17:00 +0000 (13:17 +0000)
commit460a55d8d2435cca6ca8ea9f3e7cd1b8f3d34447
treef15a79e1529a1da520688f057bb98badbfe6ff92
parenta05e1087e235d6a3b50861a7f0b8474344d3ac15
mfd: ti_am335x_tscadc: Drop the CNTRLREG_TSC_8WIRE macro

In TI's reference manual description for the `AFE_Pen_Ctrl' bit-field
of the TSC's CTRL register, there is no mention of 8-wire touchscreens.
Even commit ffe7d7ac6055 ("mfd: ti_am335x_tscadc: Update logic in CTRL
register for 5-wire TS") says that the value of this bit-field must be
the same for 4-wire and 8-wire touchscreens. So let's remove the
CNTRLREG_TSC_8WIRE macro to avoid misunderstandings.

Signed-off-by: Dario Binacchi <dariobin@libero.it>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211125224642.21011-5-dariobin@libero.it
include/linux/mfd/ti_am335x_tscadc.h