Skip to content

UCSI Power Supply Updates

Jameson Thies linux-pm linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesIn review
  2. v16 patches 20 repliesSuperseded

Changes in v2 from the cover letter

- Removed patch adding support for reporting DRP power supply types. It led to spam in dmesg and needs further debug.
- Removed patch to report 0 max current when a port is not connected. This is a bug fix and should be reviewed separately.
- Removed patch to refresh connector status after PR swaps. This is not directly related to the power supply and should be sent up separately.
- Updated patch notify the power supply class of sink path status changes. It now uses a single bit mask for checking both sink path status changes and battery charging status changes.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: typec: ucsi: psy: Add power supply statusdrivers/usb/typec/ucsi/psy.c drivers/usb/typec/ucsi/ucsi.h+29 -01 reply
2/3usb: typec: ucsi: Report power supply changes on power opmode changesdrivers/usb/typec/ucsi/ucsi.c+3 -00 replies
3/3usb: typec: ucsi: Report power supply change on sink path changedrivers/usb/typec/ucsi/ucsi.c drivers/usb/typec/ucsi/ucsi.h+2 -11 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchHeikki KrogerusBenson LeungKenneth R. Crudup
SeriesT-b
1/3R-b R-b
2/3R-b R-b
3/3R-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.

Read the v2 thread

Cover letter [PATCH v2 0/3] UCSI Power Supply Updates

This series includes the following minor changes to power supply handling by the UCSI driver.

1) Adds the "Status" property to power supplies registered by the UCSI driver.
2) Updates ucsi.c to report a power supply change all power opmode changes. Currently this only gets reported when opmode is PD.
3) Updates ucsi.c to report a power supply change when the PPM signals a sink path change.

v2 changes
- Removed patch adding support for reporting DRP power supply types. It led to spam in dmesg and needs further debug.
- Removed patch to report 0 max current when a port is not connected. This is a bug fix and should be reviewed separately.
- Removed patch to refresh connector status after PR swaps. This is not directly related to the power supply and should be sent up separately.
- Updated patch notify the power supply class of sink path status changes. It now uses a single bit mask for checking both sink path status changes and battery charging status changes.

Jameson Thies (3):
usb: typec: ucsi: psy: Add power supply status
usb: typec: ucsi: Report power supply changes on power opmode changes
usb: typec: ucsi: Report power supply change on sink path change

 drivers/usb/typec/ucsi/psy.c  | 26 ++++++++++++++++++++++++++
 drivers/usb/typec/ucsi/ucsi.c |  5 ++++-
 drivers/usb/typec/ucsi/ucsi.h |  4 ++++
 3 files changed, 34 insertions(+), 1 deletion(-)

base-commit: e40b984b6c4ce3f80814f39f86f87b2a48f2e662

Signature · 1 line
2.51.0.858.gf9c4a03a3a-goog