[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251016235909.2092917-1-jthies@google.com>
Date: Thu, 16 Oct 2025 23:59:06 +0000
From: Jameson Thies <jthies@...gle.com>
To: heikki.krogerus@...ux.intel.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: dmitry.baryshkov@....qualcomm.com, bleung@...omium.org,
gregkh@...uxfoundation.org, akuchynski@...omium.org,
abhishekpandit@...omium.org, sebastian.reichel@...labora.com, kenny@...ix.com,
linux-pm@...r.kernel.org, Jameson Thies <jthies@...gle.com>
Subject: [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
--
2.51.0.858.gf9c4a03a3a-goog
Powered by blists - more mailing lists