Firmware Support for USB-HID Devices and CP2112
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v9 Latest3 patches 10 repliesIn review
- v83 patches 31 repliesSuperseded
- v73 patches 3 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v6 | 3 patches | 3 replies | Superseded | |
| v5 | 3 patches | 4 replies | Superseded | |
| v4 | 4 patches | 10 replies | Superseded | |
| v3 | 4 patches | 6 replies | Superseded | |
| v2 | 4 patches | 1 reply | Superseded | |
| v1 | 4 patches | 8 replies | Superseded |
Changes in v9 from the cover letter
- Add _ADR-based ACPI binding of child nodes (I2C is _ADR Zero, GPIO is _ADR One)
- Use a loop-based approach for assigning child nodes within probe(). As a consequence, hid-cp2112.c no longer maintains references to the child fwnodes during the lifetime of the device. (plese correct if this is actually needed for this use-case)
Patches in v9 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | dt-bindings: i2c: Add CP2112 HID USB to SMBus BridgeDocumentation/ | +113 | 2 replies | |
| 2/3 | HID: usbhid: Share USB device firmware node with child HID devicedrivers/ | +2 | 0 replies | |
| 3/3 | HID: cp2112: Fwnode Supportdrivers/ | +18 | 8 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko | Krzysztof Kozlowski | Rob Herring |
|---|---|---|---|
| 1/3 | R-b | R-b | |
| 2/3 | R-b | ||
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v9 0/3] Firmware Support for USB-HID Devices and CP2112
This patchset allows USB-HID devices to have DeviceTree bindings through sharing the USB fwnode with the HID driver, and adds such a binding and driver implementation for the CP2112 USB to SMBus Bridge (which necessitated the USB-HID change). This change allows a CP2112 permanently attached in hardware to be described in DT and ACPI and interoperate with other drivers.
Changes in v9:
- Add _ADR-based ACPI binding of child nodes (I2C is _ADR Zero, GPIO is _ADR One)
- Use a loop-based approach for assigning child nodes within probe(). As a consequence, hid-cp2112.c no longer maintains references to the child fwnodes during the lifetime of the device. (plese correct if this is actually needed for this use-case)
Changes in v8:
- Apply Review tags retroactively to patches previously reviewed
Changes in v7:
- Use dev_fwnode when calling fwnod_handle_put in i2c_adapter in hid-cp2112.c
- Capitalize I2C and GPIO in commit message for patch 0003
Changes in v6:
- Fix fwnode_handle reference leaks in hid-cp21112.c
- Simplify hog node pattern in silabs,cp2112.yaml
Changes in v5:
- Use fwnode API instead of of_node api in hid-core.c and hid-cp2112.c
- Include sda-gpios and scl-gpios in silabs,cp2112.yaml
- Additional fixups to silabs,cp2112.yaml to address comments
- Submit threaded interrupt bugfix separately from this patchset, as requested
Changes in v4:
- Moved silabs,cp2112.yaml to /Documentation/devicetree/bindings/i2c
Changes in v3:
- Additional fixups to silabs,cp2112.yaml to address comments
Changes in v2:
- Added more detail to silabs,cp2112.yaml dt-binding
- Moved silabs,cp2112.yaml to /Documentation/devicetree/bindings/input
- Added support for setting smbus clock-frequency from DT in hid-cp2112.c
- Added freeing of of_nodes on error paths of _probe in hid-cp2112.c
Danny Kaehn (3):
dt-bindings: i2c: Add CP2112 HID USB to SMBus Bridge
HID: usbhid: Share USB device firmware node with child HID device
HID: cp2112: Fwnode Support
.../bindings/i2c/silabs,cp2112.yaml | 113 ++++++++++++++++++ drivers/hid/hid-cp2112.c | 18 +++ drivers/hid/usbhid/hid-core.c | 2 + 3 files changed, 133 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/silabs,cp2112.yaml
Signature · 1 line
2.25.1