]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: psmouse - introduce notion of SMBus companions
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 2 Mar 2017 23:50:56 +0000 (15:50 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 25 Mar 2017 17:37:28 +0000 (10:37 -0700)
commitc774326a219536ab615d68a22875673f6f608b62
tree0f268610e8a2c47ac2b931c73334bad13af23fbb
parent085fa80dfdd60ac58137a5b5d231e70456126fda
Input: psmouse - introduce notion of SMBus companions

Prepare PS/2 mouse drivers to work with devices that are accessible both
via PS/2 and SMBus, which provides higher bandwidth, and thus suits better
for modern multi-touch devices.

We expect that SMBus drivers will take control over the device, so when
we detect SMBus "protocol" we forego registering input device, or enabling
PS/2 device reports (as it usually makes device unresponsive to access over
SMBus).

Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/psmouse-base.c
drivers/input/mouse/psmouse.h