[PATCH v2 0/4] Add output report support for QuickI2C driver

Even Xu posted 4 patches 1 month, 4 weeks ago
.../intel-quicki2c/quicki2c-dev.h             |  2 +-
.../intel-quicki2c/quicki2c-hid.c             |  8 ++
.../intel-quicki2c/quicki2c-protocol.c        | 95 +++++++++++--------
.../intel-quicki2c/quicki2c-protocol.h        |  5 +-
4 files changed, 68 insertions(+), 42 deletions(-)
[PATCH v2 0/4] Add output report support for QuickI2C driver
Posted by Even Xu 1 month, 4 weeks ago
This patch serial adds support for HID output reports in the Quicki2c
driver by implementing the output_report callback in the HID low-level
driver interface.

This change introduces:
- Refine QuickI2C driver to use size_t for all length-related variables
- Enhance the quicki2c_init_write_buf() function by adding support for
  writing to the output register based on the content being written
- Add quicki2c_hid_output_report() and quicki2c_output_report() function
  that processe the HID output reports request

This enables proper communication with HID devices that require output
report functionality, such as setting device configuration or updating
device firmware.

Change log:
v2:
 - Fix a return error code check bug in [patch 4/4]

Even Xu (4):
  HID: Intel-thc-hid: Intel-quicki2c: Use size_t for all length
    variables
  HID: Intel-thc-hid: Intel-quicki2c: Use put_unaligned_le16 for __le16
    writes
  HID: Intel-thc-hid: Intel-quicki2c: Support writing output report
    format
  HID: Intel-thc-hid: Intel-quicki2c: Add output report support

 .../intel-quicki2c/quicki2c-dev.h             |  2 +-
 .../intel-quicki2c/quicki2c-hid.c             |  8 ++
 .../intel-quicki2c/quicki2c-protocol.c        | 95 +++++++++++--------
 .../intel-quicki2c/quicki2c-protocol.h        |  5 +-
 4 files changed, 68 insertions(+), 42 deletions(-)

-- 
2.40.1
Re: [PATCH v2 0/4] Add output report support for QuickI2C driver
Posted by Jiri Kosina 1 month ago
On Tue, 9 Dec 2025, Even Xu wrote:

> This patch serial adds support for HID output reports in the Quicki2c
> driver by implementing the output_report callback in the HID low-level
> driver interface.
> 
> This change introduces:
> - Refine QuickI2C driver to use size_t for all length-related variables
> - Enhance the quicki2c_init_write_buf() function by adding support for
>   writing to the output register based on the content being written
> - Add quicki2c_hid_output_report() and quicki2c_output_report() function
>   that processe the HID output reports request
> 
> This enables proper communication with HID devices that require output
> report functionality, such as setting device configuration or updating
> device firmware.

Now queued in hid.git#for-6.20/intel-thc, thanks.

-- 
Jiri Kosina
SUSE Labs