[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251007000007.3724229-1-jthies@google.com>
Date: Tue, 7 Oct 2025 00:00:01 +0000
From: Jameson Thies <jthies@...gle.com>
To: heikki.krogerus@...ux.intel.com, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: jthies@...gle.com, dmitry.baryshkov@....qualcomm.com, bleung@...omium.org,
gregkh@...uxfoundation.org, akuchynski@...omium.org,
abhishekpandit@...omium.org, sebastian.reichel@...labora.com,
linux-pm@...r.kernel.org
Subject: [PATCH 0/6] UCSI Power Supply Updates and Bug Fixes
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) Reports power supply USB type as "DRP" when the port partner is a
DRP.
3) Updates ucsi.c to report a power supply change all power opmode
changes. Currently this only gets reported when opmode is PD.
4) Updates ucsi.c to report a power supply change when the PPM signals
a sink path change.
5) Set max current to 0 when no device is connected. Currently this
defaults to 0.1A.
6) Updates connector status after initiating a PR swap. Following the
UCSI spec, there is no reported change following a successful SET_PDR
command. This results in the stored connector status being outdated.
Abhishek Pandit-Subedi (1):
usb: typec: ucsi: pr_swap should check connector_status
Jameson Thies (5):
usb: typec: ucsi: psy: Add power supply status
usb: typec: ucsi: psy: Add support for DRP USB type
usb: typec: ucsi: Report power supply changes on power opmode changes
usb: typec: ucsi: Report power supply change on sink path change
usb: typec: ucsi: psy: Set max current to zero when disconnected
drivers/usb/typec/ucsi/psy.c | 41 ++++++++++++++++++++++++++++++++++-
drivers/usb/typec/ucsi/ucsi.c | 35 +++++++++++++++++++++++++-----
drivers/usb/typec/ucsi/ucsi.h | 4 ++++
3 files changed, 73 insertions(+), 7 deletions(-)
base-commit: e40b984b6c4ce3f80814f39f86f87b2a48f2e662
--
2.51.0.618.g983fd99d29-goog
Powered by blists - more mailing lists