Skip to content

Input: drive the HP ZBook 17 G3 touchpad LED through RMI4

ahmad baghereslami linux-input lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Input: synaptics-rmi4 - support the LEDs of function $30drivers/input/rmi4/rmi_f30.c+110 -30 replies
2/2Input: synaptics - enable SMBus for HP ZBook 17 G3drivers/input/mouse/synaptics.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/

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(-)
Signature · 1 line
2.53.0