usb: typec: API improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest18 patches 11 repliesIn review
- v318 patches 8 repliesSuperseded
- v218 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 18 patches | 15 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | usb: typec: Copy everything from struct typec_capability during registrationdrivers/ | +14 | 0 replies | |
| 2/18 | usb: typec: Introduce typec_get_drvdata()drivers/ include/ | +15 | 0 replies | |
| 3/18 | usb: typec: Separate the operations vectordrivers/ include/ | +49 | 0 replies | |
| 4/18 | usb: typec: tcpm: Start using struct typec_operationsdrivers/ | +20 | 0 replies | |
| 5/18 | usb: typec: tps6598x: Start using struct typec_operationsdrivers/ | +26 | 0 replies | |
| 6/18 | usb: typec: ucsi: Start using struct typec_operationsdrivers/ | +11 | 0 replies | |
| 7/18 | usb: typec: hd3ss3220: Start using struct typec_operationsdrivers/ | +13 | 0 replies | |
| 8/18 | usb: typec: Remove the callback members from struct typec_capabilitydrivers/ include/ | +11 | 0 replies | |
| 9/18 | usb: typec: Remove unused members from struct typec_capabilityinclude/ | +0 | 0 replies | |
| 10/18 | usb: typec: hd3ss3220: Give the connector fwnode to the port devicedrivers/ | +9 | 0 replies | |
| 11/18 | usb: typec: ucsi: Simplified registration and I/O APIdrivers/ drivers/ | +359 | 0 replies | |
| 12/18 | usb: typec: ucsi: acpi: Move to the new APIdrivers/ | +72 | 3 replies | |
| 13/18 | usb: typec: ucsi: ccg: Move to the new APIdrivers/ | +81 | 1 reply | |
| 14/18 | usb: typec: ucsi: Remove the old APIdrivers/ drivers/ drivers/ +1 more | +43 | 1 reply | |
| 15/18 | usb: typec: ucsi: Remove struct ucsi_controldrivers/ drivers/ drivers/ +2 more | +115 | 0 replies | |
| 16/18 | usb: typec: ucsi: Remove all bit-fieldsdrivers/ drivers/ drivers/ | +85 | 0 replies | |
| 17/18 | usb: typec: ucsi: New error codesdrivers/ drivers/ | +26 | 1 reply | |
| 18/18 | usb: typec: ucsi: Optimise ucsi_unregister()drivers/ | +3 | 1 reply |
Reviews trailers per patch
17 of 18 patches have a Reviewed-by or Acked-by.
| Patch | Guenter Roeck | Biju Das | Ajay Gupta |
|---|---|---|---|
| 1/18 | R-b | ||
| 2/18 | R-b | ||
| 3/18 | R-b | ||
| 4/18 | R-b | ||
| 5/18 | R-b | ||
| 6/18 | R-b | ||
| 7/18 | R-b | ||
| 8/18 | R-b | ||
| 9/18 | R-b | ||
| 10/18 | R-b | T-b | |
| 11/18 | R-b | T-b | |
| 12/18 | R-b | ||
| 13/18 | R-b | T-b | |
| 14/18 | R-b | T-b | |
| 15/18 | R-b | T-b | |
| 16/18 | T-b | ||
| 17/18 | R-b | T-b | |
| 18/18 | R-b | T-b |
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 v4 00/18] usb: typec: API improvements
Hi,
I removed the extra error messages from ucsi_acpi.c and ucsi_ccg.c as requested by Guenter.
The cover letter from v2:
I modified ucsi_acpi.c so that the behavior matches exactly the behaviour of the Connector Change Event handling before these patches.
The cover letter from v2:
There is now a check in ucsi_exec_command() that makes sure we do not call ucsi_read_error() with UCSI_GET_ERROR_STATUS command. That should prevent endless recursion from happening.
The original cover letter:
The first patches in this series (patches 1-8) introduce a small change to the USB Type-C Connector Class API. Guenter was kind enough to go over those already.
Patches 10-15 improve the ucsi driver API by introducing more traditional read and write routines, and the rest is more generic optimisations and improvements to the ucsi drivers.
Let me know if there is anything you want to be changed.
thanks,
Heikki Krogerus (18):
usb: typec: Copy everything from struct typec_capability during
registration
usb: typec: Introduce typec_get_drvdata()
usb: typec: Separate the operations vector
usb: typec: tcpm: Start using struct typec_operations
usb: typec: tps6598x: Start using struct typec_operations
usb: typec: ucsi: Start using struct typec_operations
usb: typec: hd3ss3220: Start using struct typec_operations
usb: typec: Remove the callback members from struct typec_capability
usb: typec: Remove unused members from struct typec_capability
usb: typec: hd3ss3220: Give the connector fwnode to the port device
usb: typec: ucsi: Simplified registration and I/O API
usb: typec: ucsi: acpi: Move to the new API
usb: typec: ucsi: ccg: Move to the new API
usb: typec: ucsi: Remove the old API
usb: typec: ucsi: Remove struct ucsi_control
usb: typec: ucsi: Remove all bit-fields
usb: typec: ucsi: New error codes
usb: typec: ucsi: Optimise ucsi_unregister()
drivers/usb/typec/class.c | 42 +- drivers/usb/typec/hd3ss3220.c | 36 +- drivers/usb/typec/tcpm/tcpm.c | 45 +- drivers/usb/typec/tps6598x.c | 49 ++- drivers/usb/typec/ucsi/displayport.c | 40 +- drivers/usb/typec/ucsi/trace.c | 11 - drivers/usb/typec/ucsi/trace.h | 79 +--- drivers/usb/typec/ucsi/ucsi.c | 609 ++++++++++++++------------- drivers/usb/typec/ucsi/ucsi.h | 417 +++++++----------- drivers/usb/typec/ucsi/ucsi_acpi.c | 91 +++- drivers/usb/typec/ucsi/ucsi_ccg.c | 166 ++++---- include/linux/usb/typec.h | 41 +- 12 files changed, 770 insertions(+), 856 deletions(-)
Signature · 1 line
2.24.0.rc1