]> git.baikalelectronics.ru Git - kernel.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)
commit7a038acafd38422e2ab743fd5ca1b41f96f2015d
tree0f268610e8a2c47ac2b931c73334bad13af23fbb
parent5cec6fbee1e951631bb79a79c7df2739dfc1e9c2
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