Skip to content

Add binding from PS/2 to SMBus for Synaptics and Elan

Benjamin Tissoires linux-input lkml 1 version Applied

Status from this message: Applied, thank you.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/10Input: serio - store the pt_buttons in the struct serio directlydrivers/input/mouse/psmouse-base.c drivers/input/mouse/synaptics.c drivers/input/mouse/synaptics.h +1 more+21 -100 replies
2/10Input: synaptics-rmi4 - Add rmi_find_function()drivers/input/rmi4/rmi_driver.c drivers/input/rmi4/rmi_driver.h+14 -01 reply
3/10Input: synaptics-rmi4 - f30/f03: Forward mechanical buttons on buttonpads to PS/2 guestdrivers/input/rmi4/rmi_driver.h drivers/input/rmi4/rmi_f03.c drivers/input/rmi4/rmi_f30.c+101 -156 replies
4/10Input: psmouse - allow to deactivate a driver from the serio handledrivers/input/mouse/psmouse-base.c drivers/input/mouse/psmouse.h drivers/input/mouse/synaptics.c +1 more+63 -00 replies
5/10Input: synaptics - allocate a Synaptics Intertouch devicedrivers/input/mouse/synaptics.c drivers/input/mouse/synaptics.h+104 -00 replies
6/10Input: synaptics-rmi4 - smbus: call psmouse_deactivate before binding/resumedrivers/input/rmi4/rmi_smbus.c include/linux/rmi.h+20 -100 replies
7/10Input: synaptics-rmi4 - smbus: on resume, try 3 times if init failsdrivers/input/rmi4/rmi_smbus.c+18 -10 replies
8/10Input: add a PS/2 to SMBus platform moduledrivers/input/misc/Kconfig drivers/input/misc/Makefile drivers/input/misc/ps2_smbus.c +1 more+268 -01 reply
9/10Input: elan_i2c - add trackstick reportdrivers/input/mouse/elan_i2c.h drivers/input/mouse/elan_i2c_core.c+98 -30 replies
10/10Input: elantech - automatically bind an SMBus device when acceptabledrivers/input/misc/ps2_smbus.c drivers/input/mouse/elan_i2c.h drivers/input/mouse/elan_i2c_core.c +2 more+89 -10 replies

Reviews trailers per patch

2 of 10 patches have a Reviewed-by or Acked-by.

PatchAndrew DugganBenjamin Tissoires
1/10A-b
2/10R-b
3/10T-b
4/10
5/10
6/10
7/10
8/10
9/10
10/10

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] Add binding from PS/2 to SMBus for Synaptics and Elan

Hi,

Well, this is the last series which enables RMI4 over SMBus for the Thinkpad t*40, t*50, t*60 series. Few comments on the patches:

patches 1 to 3 allows the re-routing of the trackstick buttons from the touchpad
to the trackstick
patch 4 to 7 allow rmi_smbus to actually control the PS/2 node to not resume and
mess up the configuration after a resume
patch 8 was originally sent as a RMI4 specific driver, but I came to realise
that Elan could also benefit from the same driver
patch 9 has already been sent once, but there was no clear way of enabling the
trackstick, so it was not merged
patch 10 allows the elantech driver to create an instance of elan_i2c and
forwards the trackstick information from PS/2

Note that patch 10 has only been tested on a machine without a functional elan_i2c touchpad, so only the binding has been tested.

This series requires the Host Notify flag patch from Dmitry:
http://patchwork.ozlabs.org/patch/711229/

Cheers,
Benjamin

Benjamin Tissoires (10):
Input: serio - store the pt_buttons in the struct serio directly
Input: synaptics-rmi4 - Add rmi_find_function()
Input: synaptics-rmi4 - f30/f03: Forward mechanical buttons on
buttonpads to PS/2 guest
Input: psmouse - allow to deactivate a driver from the serio handle
Input: synaptics - allocate a Synaptics Intertouch device
Input: synaptics-rmi4 - smbus: call psmouse_deactivate before
binding/resume
Input: synaptics-rmi4 - smbus: on resume, try 3 times if init fails
Input: add a PS/2 to SMBus platform module
Input: elan_i2c - add trackstick report
Input: elantech - automatically bind an SMBus device when acceptable

 drivers/input/misc/Kconfig          |  11 ++
 drivers/input/misc/Makefile         |   1 +
 drivers/input/misc/ps2_smbus.c      | 276 ++++++++++++++++++++++++++++++++++++
 drivers/input/mouse/elan_i2c.h      |  12 ++
 drivers/input/mouse/elan_i2c_core.c |  99 ++++++++++++-
 drivers/input/mouse/elantech.c      |  54 +++++++
 drivers/input/mouse/elantech.h      |   3 +
 drivers/input/mouse/psmouse-base.c  |  34 +++++
 drivers/input/mouse/psmouse.h       |   3 +
 drivers/input/mouse/synaptics.c     | 134 +++++++++++++++--
 drivers/input/mouse/synaptics.h     |   5 +-
 drivers/input/rmi4/Kconfig          |   1 +
 drivers/input/rmi4/rmi_driver.c     |  13 ++
 drivers/input/rmi4/rmi_driver.h     |  15 ++
 drivers/input/rmi4/rmi_f03.c        |  30 ++++
 drivers/input/rmi4/rmi_f30.c        |  72 ++++++++--
 drivers/input/rmi4/rmi_smbus.c      |  47 ++++--
 include/linux/rmi.h                 |   2 +
 include/linux/serio.h               |  22 +++
 19 files changed, 795 insertions(+), 39 deletions(-)
 create mode 100644 drivers/input/misc/ps2_smbus.c
Signature · 1 line
2.9.3