Skip to content

Fix Elan I2C touchpads in latest generation from Lenovo

Benjamin Tissoires linux-devicetree linux-input lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyIn review
  2. v210 patches 14 repliesSuperseded
  3. v15 patches 8 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Input: elantech - query the min/max information beforehand toodrivers/input/mouse/elantech.c drivers/input/mouse/elantech.h+79 -860 replies
2/8Input: elantech - add helper function elantech_is_buttonpad()drivers/input/mouse/elantech.c+49 -440 replies
3/8Input: elantech - detect middle button based on firmware versiondrivers/input/mouse/elantech.c drivers/input/mouse/elantech.h+7 -100 replies
4/8dt-bindings: add more optional properties for elan_i2c touchpadsDocumentation/devicetree/bindings/input/elan_i2c.txt+11 -00 replies
5/8Input: elan_i2c - do not query the info if they are provideddrivers/input/mouse/elan_i2c_core.c+44 -120 replies
6/8Input: elantech/SMBus - export all capabilities from the PS/2 nodedrivers/input/mouse/elantech.c drivers/input/mouse/elantech.h+44 -50 replies
7/8Input: elan_i2c - handle physical middle buttondrivers/input/mouse/elan_i2c_core.c+12 -40 replies
8/8Input: elantech: remove P52 and P72 from SMBus blacklistdrivers/input/mouse/elantech.c+0 -40 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/8] Fix Elan I2C touchpads in latest generation from Lenovo

Here comes the v3.

Very few changes from v2:
- dropped the last 2 patches where I tried to be smart, and it turns out that it was not very a good idea
- also removed the only other blacklisted model, as it has been tested with the v2 and it is also now working properly

Cheers,
Benjamin

Benjamin Tissoires (8):
Input: elantech - query the min/max information beforehand too
Input: elantech - add helper function elantech_is_buttonpad()
Input: elantech - detect middle button based on firmware version
dt-bindings: add more optional properties for elan_i2c touchpads
Input: elan_i2c - do not query the info if they are provided
Input: elantech/SMBus - export all capabilities from the PS/2 node
Input: elan_i2c - handle physical middle button
Input: elantech: remove P52 and P72 from SMBus blacklist

 .../devicetree/bindings/input/elan_i2c.txt    |  11 +
 drivers/input/mouse/elan_i2c_core.c           |  72 +++-
 drivers/input/mouse/elantech.c                | 320 ++++++++++--------
 drivers/input/mouse/elantech.h                |   8 +
 4 files changed, 246 insertions(+), 165 deletions(-)
Signature · 1 line
2.21.0