mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: ahmad baghereslami <ahmad.b1995@gmail.com>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org,
	ahmad baghereslami <ahmad.b1995@gmail.com>
Subject: [PATCH 0/2] Input: drive the HP ZBook 17 G3 touchpad LED through RMI4
Date: Thu,  3 Dec 2026 16:20:43 +0330	[thread overview]
Message-ID: <cover.1796302238.git.ahmad.b1995@gmail.com> (raw)

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


             reply	other threads:[~2026-12-03 12:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 12:50 ahmad baghereslami [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1796302238.git.ahmad.b1995@gmail.com \
    --to=ahmad.b1995@gmail.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®