Skip to content

tsc2005 cleanup

Sebastian Reichel linux-input linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Input: tsc2005 - improve readability of register definesdrivers/input/touchscreen/tsc2005.c+18 -100 replies
2/4Input: tsc2005 - convert to regmapdrivers/input/touchscreen/tsc2005.c+58 -1124 replies
3/4Input: tsc2005 - simplify drvdata acquisitiondrivers/input/touchscreen/tsc2005.c+4 -83 replies
4/4Input: tsc2005 - convert to gpioddrivers/input/touchscreen/tsc2005.c+8 -174 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] [input] tsc2005 cleanup

Hi,

The following patches simplify and cleanup the tsc2005 touchscreen driver. Apart from making the driver more readable, the direct usage of SPI has been reduced to one function, so that tsc2004 support may be addable now (see [0]).

The driver could be further simplified by making the vio regulator also mandatory for boardcode and switching boardcode from set_reset callback to GPIOD API. Since that would result in a patch touching the ARM and the input subsystem, I suggest to wait until the Nokia N900 boardcode is gone.

[0] http://permalink.gmane.org/gmane.linux.kernel.input/37513

-- Sebastian

Sebastian Reichel (4):
Input: tsc2005 - improve readability of register defines
Input: tsc2005 - convert to regmap
Input: tsc2005 - simplify drvdata acquisition
Input: tsc2005 - convert to gpiod

 drivers/input/touchscreen/tsc2005.c | 235 ++++++++++++++----------------------
 1 file changed, 88 insertions(+), 147 deletions(-)
Signature · 1 line
2.1.4