]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ti_am335x_tscadc: Update logic in CTRL register for 5-wire TS
authorJeff Lance <j-lance1@ti.com>
Thu, 4 Sep 2014 17:01:57 +0000 (19:01 +0200)
committerLee Jones <lee.jones@linaro.org>
Fri, 26 Sep 2014 07:24:03 +0000 (08:24 +0100)
commit5d8e3dd143c1de1c77c9ba7c8d4778a23dfe7873
treebc1c00cebd3567639cc62f0d6ec6d0e5e97b494e
parent6efd55d6b858f90f6bb836c71a96224c0f668fbd
mfd: ti_am335x_tscadc: Update logic in CTRL register for 5-wire TS

The logic in AFE_Pen_Ctrl bitmask in the CTRL register is different for five
wire versus four or eight wire touschscreens. This patch should fix this for
five-wire touch screens. There should be no change needed here for four and
eight wire tousch screens.

Signed-off-by: Jeff Lance <j-lance1@ti.com>
[bigeasy: keep the change mfd only]
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/ti_am335x_tscadc.c
include/linux/mfd/ti_am335x_tscadc.h