diff options
| author | Heikki Krogerus <[email protected]> | 2024-06-19 17:08:06 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2024-06-20 19:31:31 +0200 |
| commit | 2e031f50651df6d4d71704e89688694ea68313e5 (patch) | |
| tree | ffa72a20017e6b951b0321eb2186ed99f91a4419 /tools/perf/scripts/python | |
| parent | 3560b37525d3c9059c62da7f4d74daa2d5338626 (diff) | |
usb: typec: ucsi: psy: Add support for the charge type property
Adding support for the charge type Linux power supply class
property (POWER_SUPPLY_PROP_CHARGE_TYPE) to the UCSI driver.
That will make the charge type visible in the charge_type
power supply class sysfs attribute file.
UCSI has the charge type specified in the Battery Charging
Status field of the response to the GET_CONNECTOR_STATUS
command.
Reviewed-by: Sebastian Reichel <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Signed-off-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions