[PATCH v4 0/8] Input: elantech: add support for newer hardware

From: JJ Ding
Date: Mon Aug 29 2011 - 04:27:08 EST


Hi Lists,

This is a series of patches to add support for newer generations of ELAN
touchpad.

Patches #1~#6 are essentially fixes and cleanups that pave the way for
patch #7 and patch #8, which really adds code for v3 and v4 hardware.

Any comments, suggestoins are welcome.

Note:
Please review patch #8, which adds support for the latest touchpads from ELAN.
This is a true multi-touch capable touchpad that can track up to 5 fingers.
Support is implemented using MT-B protocol. I used synaptics and multitouch X
driver to test this driver, both worked fine.

Thank you very much.

Changes since v1:
- drop EC workaround patch.
- add patch #2, make ST and MT have the same range, as Dmitry suggested.
- add patch #4, remove ETP_EDGE_FUZZ_V2, as Ãric suggested.
- rename all packet checking functions so they are consistent.
- some code cleanup, and don't report ABS_[XY] when fingers == 0, as Seth suggested.
- add document for v3 debounce, and now check debounce in elantech_packet_check_v3.

Changes since v2:
- fix v3 hardware packet checking (reported by Seth and fix by Dmitry.)

Changes since v3:
- fix a tiny style problem (useless space on end-of-line, reported by Seth)
- v3 hardware can track 2 fingers well, so do not set INPUT_PROP_SEMI_MT on v3
(As suggested earlier by Ãric.)
- add patch #8, which adds support for v4 hardware.

JJ Ding (8):
Input: elantech - correct x, y value range for v2 hardware
Input: elantech - get rid of ETP_2FT_* in elantech.h
Input: elantech - use firmware provided x, y ranges
Input: elantech - remove ETP_EDGE_FUZZ_V2
Input: elantech - packet checking for v2 hardware
Input: elantech - clean up elantech_init
Input: elantech - add v3 hardware support
Input: elantech - add v4 hardware support

Documentation/input/elantech.txt | 295 +++++++++++++++++-
drivers/input/mouse/elantech.c | 614 ++++++++++++++++++++++++++++++++-----
drivers/input/mouse/elantech.h | 56 +++-
3 files changed, 849 insertions(+), 116 deletions(-)

--
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/