Re: [PATCH 0/2] HID: Intel-thc-hid: Support complete I2C bus configuration

Jiri Kosina <[email protected]> Mon, 3 Aug 2026 20:32:43 +0200 (CEST)
Newsgroups org.kernel.vger.linux-input,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Mon, 27 Jul 2026, Even Xu wrote:

> 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(-)

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs