Add output report support for QuickI2C driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 1 replyIn review
- v14 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- Fix a return error code check bug in [patch 4/4]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | HID: Intel-thc-hid: Intel-quicki2c: Use size_t for all length variablesdrivers/ drivers/ drivers/ | +28 | 0 replies | |
| 2/4 | HID: Intel-thc-hid: Intel-quicki2c: Use put_unaligned_le16 for __le16 writesdrivers/ | +1 | 0 replies | |
| 3/4 | HID: Intel-thc-hid: Intel-quicki2c: Support writing output report formatdrivers/ | +11 | 0 replies | |
| 4/4 | HID: Intel-thc-hid: Intel-quicki2c: Add output report supportdrivers/ drivers/ drivers/ | +28 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Rui Zhang | Ilpo Järvinen |
|---|---|---|
| 1/4 | ||
| 2/4 | ||
| 3/4 | T-b | R-b |
| 4/4 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/4] Add output report support for QuickI2C driver
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(-)
Signature · 1 line
2.40.1