[PATCH 8/8] Input: atmel_mxt_ts - add v4l pixelformat definition for touch refs output

2016-04-21 Thread Nick Dyer
--- drivers/input/touchscreen/atmel_mxt_ts.c | 33 include/uapi/linux/videodev2.h | 1 + 2 files changed, 26 insertions(+), 8 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index

[PATCH 5/8] Input: atmel_mxt_ts - add diagnostic data support for mXT1386

2016-04-21 Thread Nick Dyer
The mXT1386 family of chips have a different architecture which splits the diagnostic data into 3 columns. Signed-off-by: Nick Dyer <nick.d...@itdev.co.uk> --- drivers/input/touchscreen/atmel_mxt_ts.c | 29 ++--- 1 file changed, 26 insertions(+), 3 deletions(-)

[PATCH 7/8] Input: atmel_mxt_ts - single node diagnostic data support

2016-04-21 Thread Nick Dyer
Add support for retrieving a single node of data at high rate. --- drivers/input/touchscreen/atmel_mxt_ts.c | 79 1 file changed, 70 insertions(+), 9 deletions(-) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c

[PATCH 3/8] Input: atmel_mxt_ts - read touchscreen size

2016-04-21 Thread Nick Dyer
The touchscreen may have a margin where not all the matrix is used. Read the parameters from T9 and T100 and take account of the difference. Note: this does not read the XORIGIN/YORIGIN fields so it assumes that the touchscreen starts at (0,0) Signed-off-by: Nick Dyer <nick.d...@itdev.co

[PATCH 4/8] Input: atmel_mxt_ts - handle diagnostic data orientation

2016-04-21 Thread Nick Dyer
Invert the diagnostic data to match the orientation of the input device. Signed-off-by: Nick Dyer <nick.d...@itdev.co.uk> --- drivers/input/touchscreen/atmel_mxt_ts.c | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/drivers/input/touch

[PATCH 2/8] Input: atmel_mxt_ts - output diagnostic debug via v4l2 device

2016-04-21 Thread Nick Dyer
--- drivers/input/touchscreen/atmel_mxt_ts.c | 270 +++ 1 file changed, 270 insertions(+) diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 0784a18..81eecf1 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++

[PATCH 6/8] Input: atmel_mxt_ts - add support for reference data

2016-04-21 Thread Nick Dyer
There are different datatypes available from a maXTouch chip. Add support to retrieve reference data as well. Signed-off-by: Nick Dyer <nick.d...@itdev.co.uk> --- drivers/input/touchscreen/atmel_mxt_ts.c | 36 1 file changed, 32 insertions(+), 4 del

[PATCH 0/8] Input: atmel_mxt_ts - output raw touch diagnostic data via V4L

2016-04-21 Thread Nick Dyer
This is a series of patches to add diagnostic data support to the Atmel maXTouch driver. It's a rewrite of the previous implementation which output via debugfs: it now uses a V4L2 device in a similar way to the sur40 driver. There are significant performance advantages to putting this code into

<    1   2