diff options
| author | Jameson Thies <jthies@google.com> | 2025-10-17 02:59:07 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-22 11:58:31 +0300 |
| commit | ef7204a9aada8be607a1b7d7bed0c0280d0bce89 (patch) | |
| tree | fefe90763e73dcad5956bc99128d795376c76891 /include/linux | |
| parent | 0ec946d32ef7b1f58070cbef06bd7bdc8193c94a (diff) | |
| download | linux-ef7204a9aada8be607a1b7d7bed0c0280d0bce89.tar.xz | |
usb: typec: ucsi: psy: Add power supply status
Add support for power supply status. If a port is acting as a sink
with the sink path enabled, report it is charging. If a port is
source, report it is discharging. If there is no connection or the
port hasn't enabled the sink path, report not charging.
Signed-off-by: Jameson Thies <jthies@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Benson Leung <bleung@chromium.org>
Tested-By: Kenneth R. Crudup <kenny@panix.com>
Link: https://patch.msgid.link/20251016235909.2092917-2-jthies@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
