diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2024-06-19 17:08:06 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-06-20 19:31:31 +0200 |
commit | 2e031f50651df6d4d71704e89688694ea68313e5 (patch) | |
tree | ffa72a20017e6b951b0321eb2186ed99f91a4419 /mm/debug.c | |
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 <sebastian.reichel@collabora.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20240619140806.3502590-1-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions