Skip to content

Commit 1724782

Browse files
passgatLee Jones
authored andcommitted
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 f0933a6 ("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
1 parent 786c6f1 commit 1724782

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎include/linux/mfd/ti_am335x_tscadc.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
#define CNTRLREG_TSC_AFE_CTRL(val) FIELD_PREP(GENMASK(6, 5), (val))
104104
#define CNTRLREG_TSC_4WIRE CNTRLREG_TSC_AFE_CTRL(1)
105105
#define CNTRLREG_TSC_5WIRE CNTRLREG_TSC_AFE_CTRL(2)
106-
#define CNTRLREG_TSC_8WIRE CNTRLREG_TSC_AFE_CTRL(3)
107106
#define CNTRLREG_TSC_ENB BIT(7)
108107

109108
/*Control registers bitfields for MAGADC IP */

0 commit comments

Comments
 (0)