Input: drive the HP ZBook 17 G3 touchpad LED through RMI4
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Input: synaptics-rmi4 - support the LEDs of function $30drivers/ | +110 | 0 replies | |
| 2/2 | Input: synaptics - enable SMBus for HP ZBook 17 G3drivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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