# Re: \[PATCH v2 4/4\] mfd: ti\_am335x\_tscadc: drop the CNTRLREG\_TSC\_8WIRE macro

- From: Lee Jones \<hidden\>
- Date: 2021-11-26 09:01:20 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/11/1587448
- Thread: https://ratatoskr.run/linux-input/2021/11/1587008/t.md

```text
On Thu, 25 Nov 2021, Dario Binacchi wrote:

> 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 f0933a60d190 ("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 <redacted>
> 
> ---
> 
> Changes in v2:
> - Replace CNTRLREG_8WIRE with CNTRLREG_TSC_8WIRE. In the meantime, the
>   file ti_am335x_tscadc.h has been modified, so the patch must be
>   updated.
> 
>  include/linux/mfd/ti_am335x_tscadc.h | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
```
