[PATCH 0/2] Input: drive the HP ZBook 17 G3 touchpad LED through RMI4

From: ahmad baghereslami

Date: Thu Dec 03 2026 - 07:51:20 EST


Dmitry suggested [1] moving the HP ZBook 17 G3 touchpad to SMBus and
driving its LED from rmi_f30 instead of the RMI register backdoor over
PS/2 in "Input: synaptics - support the touchpad LED on RMI function
$30" (v3 [2]). This series does that and replaces that patch.

Patch 1 adds LED class support to rmi_f30: an LED device for each pin
that control 0 selects as an LED, using the on bits in control 4 and the
brightness bytes in control 6. It works for any RMI4 transport.

Patch 2 adds SYN3040 to smbus_pnp_ids.

As discussed, over SMBus touching the touchpad no longer wakes the
keyboard backlight, which the EC did on PS/2 input; that belongs in
hp-wmi and is not part of this series.

rmi_f30 uses IS_REACHABLE(CONFIG_LEDS_CLASS) so that F30 keeps working
when RMI4_CORE is built in and LEDS_CLASS is a module; I can turn that
into a Kconfig dependency instead if you prefer.

[1] https://lore.kernel.org/all/84b917b9feb4a934e67d0e8f25707cc1@xxxxxxxxx/
[2] https://lore.kernel.org/all/20261114090808.2572722-1-ahmad.b1995@xxxxxxxxx/

ahmad baghereslami (2):
Input: synaptics-rmi4 - support the LEDs of function $30
Input: synaptics - enable SMBus for HP ZBook 17 G3

drivers/input/mouse/synaptics.c | 1 +
drivers/input/rmi4/rmi_f30.c | 113 +++++++++++++++++++++++++++++++-
2 files changed, 111 insertions(+), 3 deletions(-)

--
2.53.0