usb: typec: ucsi: Expand power supply support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 7 repliesIn review
- v14 patches 2 repliesSuperseded
Changes in v2 from the cover letter
- Uses DRP bit in source PDOs for setting USB DRP power supply type.
- Adds SET_SINK_PATH call when handling an update to charge_control_limit_max.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | usb: typec: ucsi: Add status to UCSI power supply driverdrivers/ | +17 | 3 replies | |
| 2/4 | usb: typec: ucsi: Add USB PD DRP to USB typedrivers/ | +11 | 0 replies | |
| 3/4 | usb: typec: ucsi: Set sink path based on UCSI charge controldrivers/ drivers/ drivers/ | +72 | 2 replies | |
| 4/4 | usb: typec: ucsi: Fix SET_PDR typo in UCSI header filedrivers/ | +1 | 2 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Neil Armstrong |
|---|---|
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 | R-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] usb: typec: ucsi: Expand power supply support
Hi Heikki,
This series makes the following updates to the UCSI power supply driver.
1. Adds support for the power supply status property.
2. Updates the driver to distinguish between PD and PD DRP power supply types.
3. Adds the charge control limit max property which can be used to request a PR swap from sysfs.
4. Fixes a simple SET_PRD typo in the ucsi.h header.
I've checked that the series builds on top of the usb-next branch and manually tested functionality on top of a 6.10-rc5 ChromeOS kernel. Let me know if you have any questions.
Thanks,
Jameson
Changes in V2
- Uses DRP bit in source PDOs for setting USB DRP power supply type.
- Adds SET_SINK_PATH call when handling an update to charge_control_limit_max.
Jameson Thies (4):
usb: typec: ucsi: Add status to UCSI power supply driver
usb: typec: ucsi: Add USB PD DRP to USB type
usb: typec: ucsi: Set sink path based on UCSI charge control
usb: typec: ucsi: Fix SET_PDR typo in UCSI header file
drivers/usb/typec/ucsi/psy.c | 81 ++++++++++++++++++++++++++++++++++- drivers/usb/typec/ucsi/ucsi.c | 15 +++++++ drivers/usb/typec/ucsi/ucsi.h | 7 ++- 3 files changed, 101 insertions(+), 2 deletions(-)
base-commit: 933069701c1b507825b514317d4edd5d3fd9d417
Signature · 1 line
2.45.2.1089.g2a221341d9-goog