Skip to content

HID: Intel-thc-hid: Support complete I2C bus configuration

Even Xu linux-input lkml 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2HID: Intel-thc-hid: Intel-thc: Refactor I2C bus configuration with unified config structuredrivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.c drivers/hid/intel-thc-hid/intel-thc/intel-thc-dev.h drivers/hid/intel-thc-hid/intel-thc/intel-thc-hw.h+68 -270 replies
2/2HID: Intel-thc-hid: Intel-quicki2c: Support full I2C BUS config parametersdrivers/hid/intel-thc-hid/intel-quicki2c/pci-quicki2c.c drivers/hid/intel-thc-hid/intel-quicki2c/quicki2c-dev.h+29 -310 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] HID: Intel-thc-hid: Support complete I2C bus configuration

The Intel THC QuickI2C driver currently configures only the target address, bus speed, and SCL high and low periods. Additional timing parameters supplied by firmware are not applied to the I2C sub-IP.

Introduce a common I2C configuration structure in the THC core and use it to configure the target address, addressing mode, bus speed, SCL timings, and SDA transmit and receive hold periods. Populate this structure from the QuickI2C ACPI resources so that platform-specific timings are restored during both initialization and resume.

Even Xu (2):
HID: Intel-thc-hid: Intel-thc: Refactor I2C bus configuration with
unified config structure
HID: Intel-thc-hid: Intel-quicki2c: Support full I2C BUS config
parameters

 .../intel-quicki2c/pci-quicki2c.c             | 46 +++++++------
 .../intel-quicki2c/quicki2c-dev.h             | 14 ++--
 .../intel-thc-hid/intel-thc/intel-thc-dev.c   | 69 ++++++++++++-------
 .../intel-thc-hid/intel-thc/intel-thc-dev.h   | 23 ++++++-
 .../intel-thc-hid/intel-thc/intel-thc-hw.h    |  3 +
 5 files changed, 97 insertions(+), 58 deletions(-)
Signature · 1 line
2.43.0