mbox series

[0/1] Input: rmi_i2c: introduce reset GPIO handling

Message ID 20250210050220.634497-1-felix@kaechele.ca (mailing list archive)
Headers show
Series Input: rmi_i2c: introduce reset GPIO handling | expand

Message

Felix Kaechele Feb. 10, 2025, 5:02 a.m. UTC
This patch adds handling of the GPIO reset line on Synaptics hardware
using the rmi4 driver.

The syna,reset-delay-ms device tree property is already documented in
the bindings but was seemingly never implemented in the kernel driver.
This property can be found being used in some downstream dts files,
mostly for Qualcomm-based smartphones.

Adding support to the mainline driver makes devices that require
asserting the reset pin work properly.

Cc: Barnabás Czémán <barnabas.czeman@mainlining.org>

Felix Kaechele (1):
  Input: rmi_i2c: introduce reset GPIO handling

 drivers/input/rmi4/rmi_driver.c |  1 -
 drivers/input/rmi4/rmi_driver.h |  2 ++
 drivers/input/rmi4/rmi_i2c.c    | 23 +++++++++++++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)


base-commit: a7550ff59edfc768a8600c1e5c24c304208696a5