]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
power: supply: Add PD SPR AVS support to USB type enum
authorBadhri Jagan Sridharan <badhri@google.com>
Mon, 16 Mar 2026 15:03:00 +0000 (15:03 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:08:39 +0000 (16:08 +0100)
commita43dd4f6f91ed1a1d16595cb0c550b283e9b2298
tree495526ce92674f8033eec652093c290d866bacda
parent9270102a00aabbe4d1bbb6890d514b01f1c42989
power: supply: Add PD SPR AVS support to USB type enum

Add two new members to the power_supply_usb_type to represent the
USB Power Delivery (PD) Standard Power Range (SPR) Adjustable Voltage
Supply (AVS) charging types:

POWER_SUPPLY_USB_TYPE_PD_SPR_AVS: For devices supporting only the
PD SPR AVS type.

POWER_SUPPLY_USB_TYPE_PD_PPS_SPR_AVS: For devices that support both
PD Programmable Power Supply (PPS) and PD SPR AVS.

Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Link: https://patch.msgid.link/20260316150301.3892223-3-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/testing/sysfs-class-power
drivers/power/supply/power_supply_sysfs.c
include/linux/power_supply.h