All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Input: drive the HP ZBook 17 G3 touchpad LED through RMI4
@ 2026-12-03 12:50 ahmad baghereslami
  2026-12-03 12:50 ` [PATCH 1/2] Input: synaptics-rmi4 - support the LEDs of function $30 ahmad baghereslami
  2026-12-03 12:50 ` [PATCH 2/2] Input: synaptics - enable SMBus for HP ZBook 17 G3 ahmad baghereslami
  0 siblings, 2 replies; 4+ messages in thread
From: ahmad baghereslami @ 2026-12-03 12:50 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input, linux-kernel, ahmad baghereslami

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@gmail.com/
[2] https://lore.kernel.org/all/20261114090808.2572722-1-ahmad.b1995@gmail.com/

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-03 13:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 12:50 [PATCH 0/2] Input: drive the HP ZBook 17 G3 touchpad LED through RMI4 ahmad baghereslami
2026-12-03 12:50 ` [PATCH 1/2] Input: synaptics-rmi4 - support the LEDs of function $30 ahmad baghereslami
2026-12-03 13:06   ` sashiko-bot
2026-12-03 12:50 ` [PATCH 2/2] Input: synaptics - enable SMBus for HP ZBook 17 G3 ahmad baghereslami

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.