kernel_samsung_a53x/drivers/input/mouse
Dmitry Torokhov 0affbdd08a Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport
[ Upstream commit 5030b2fe6aab37fe42d14f31842ea38be7c55c57 ]

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
92e24e0e57f7 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 10:58:46 +01:00
..
alps.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
alps.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amimouse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
appletouch.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atarimouse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bcm5974.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
byd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
byd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cyapa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cyapa.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cyapa_gen3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cyapa_gen5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cyapa_gen6.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_ps2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cypress_ps2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elan_i2c.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elan_i2c_core.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elan_i2c_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elan_i2c_smbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
elantech.c Input: psmouse - fix fast_reconnect function for PS/2 mode 2024-11-08 11:25:50 +01:00
elantech.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
focaltech.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
focaltech.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio_mouse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hgpk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hgpk.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lifebook.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lifebook.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
logibm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
logips2pp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
logips2pp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maplemouse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
navpoint.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pc110pad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psmouse-base.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psmouse-smbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
psmouse.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa930_trkball.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rpcmouse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sentelic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sentelic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sermouse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
synaptics.c Input: synaptics-rmi4 - handle reset delay when using SMBus trsnsport 2024-11-18 10:58:46 +01:00
synaptics.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
synaptics_i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
synaptics_usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
touchkit_ps2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
touchkit_ps2.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trackpoint.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
trackpoint.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmmouse.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vmmouse.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
vsxxxaa.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00