linux/drivers/input/mouse
Dmitry Torokhov 5030b2fe6a Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
Touch controllers need some time after receiving reset command for the
firmware to finish re-initializing and be ready to respond to commands
from the host. The driver already had handling for the post-reset delay
for I2C and SPI transports, this change adds the handling to
SMBus-connected devices.

SMBus devices are peculiar because they implement legacy PS/2
compatibility mode, so reset is actually issued by psmouse driver on the
associated serio port, after which the control is passed to the RMI4
driver with SMBus companion device.

Note that originally the delay was added to psmouse driver in
92e24e0e57 ("Input: psmouse - add delay when deactivating for SMBus
mode"), but that resulted in an unwanted delay in "fast" reconnect
handler for the serio port, so it was decided to revert the patch and
have the delay being handled in the RMI4 driver, similar to the other
transports.

Tested-by: Jeffery Miller <jefferymiller@google.com>
Link: https://lore.kernel.org/r/ZR1yUFJ8a9Zt606N@penguin
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2023-10-13 17:59:19 -07:00
..
Kconfig input: remove pxa930_trkball driver 2023-02-01 17:23:38 +01:00
Makefile input: remove pxa930_trkball driver 2023-02-01 17:23:38 +01:00
alps.c Input: alps - fix compatibility with -funsigned-char 2023-03-19 23:07:04 -07:00
alps.h
amimouse.c
appletouch.c
atarimouse.c
bcm5974.c
byd.c
byd.h
cyapa.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
cyapa.h
cyapa_gen3.c
cyapa_gen5.c
cyapa_gen6.c
cypress_ps2.c
cypress_ps2.h
elan_i2c.h
elan_i2c_core.c Input: elan_i2c - simplify with dev_err_probe() 2023-07-07 16:54:27 -07:00
elan_i2c_i2c.c
elan_i2c_smbus.c
elantech.c Input: psmouse - fix fast_reconnect function for PS/2 mode 2023-10-13 17:59:18 -07:00
elantech.h
focaltech.c Input: focaltech - use explicitly signed char type 2023-03-19 23:07:02 -07:00
focaltech.h
gpio_mouse.c
hgpk.c Input: hgpk - fix repeated word in a comment 2022-09-08 14:06:23 -07:00
hgpk.h
inport.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
lifebook.c
lifebook.h
logibm.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
logips2pp.c
logips2pp.h
maplemouse.c
navpoint.c Input: navpoint - switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2023-01-09 20:25:23 -08:00
pc110pad.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
psmouse-base.c Input: libps2 - introduce common interrupt handler 2023-05-18 11:40:32 -07:00
psmouse-smbus.c Revert "Input: psmouse - add delay when deactivating for SMBus mode" 2023-10-12 16:01:36 -07:00
psmouse.h Input: libps2 - attach ps2dev instances as serio port's drvdata 2023-05-18 11:40:32 -07:00
rpcmouse.c
sentelic.c
sentelic.h
sermouse.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
synaptics.c Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2023-10-13 17:59:19 -07:00
synaptics.h
synaptics_i2c.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
synaptics_usb.c Input: move from strlcpy with unused retval to strscpy 2022-08-18 15:44:08 -07:00
touchkit_ps2.c
touchkit_ps2.h
trackpoint.c Input: libps2 - attach ps2dev instances as serio port's drvdata 2023-05-18 11:40:32 -07:00
trackpoint.h
vmmouse.c
vmmouse.h
vsxxxaa.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00