Files
linux/Documentation/ABI/testing
Badhri Jagan Sridharan b4528e1dbe usb: typec: pd: Register SPR AVS caps with usb_power_delivery class
usb_power_delivery class will now display AVS cap as
`spr_adjustable_voltage_supply`. `maximum_current_9V_to_15V` and
`maximum_current_15V_to_20V` shows the corresponding current limits
in mA. `peak_current` follows the same convention as fixed_supply
where the value reported in the capabilities message is displayed
as is.

Sample output with an SPR AVS capable PD charger:
$cat /sys/class/usb_power_delivery/pd1/source-capabilities/5:spr_adjustable_voltage_supply/maximum_current_9V_to_15V
4000mA

$cat /sys/class/usb_power_delivery/pd1/source-capabilities/5:spr_adjustable_voltage_supply/maximum_current_15V_to_20V
3350mA

$cat /sys/class/usb_power_delivery/pd1/source-capabilities/5:spr_adjustable_voltage_supply/peak_current
0

Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://patch.msgid.link/20251015043017.3382908-2-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-10-22 10:58:31 +02:00
..
2023-08-18 11:28:40 -06:00
2022-07-03 18:08:49 -07:00
2021-09-21 18:31:16 +02:00
2023-08-18 11:28:40 -06:00
2023-08-18 11:28:40 -06:00
2023-08-18 11:28:40 -06:00
2023-08-18 11:28:40 -06:00
2019-06-15 08:12:45 +02:00
2019-06-15 08:12:45 +02:00
2025-07-22 17:12:41 +02:00
2021-12-23 20:23:42 +01:00
2023-07-27 07:53:12 +02:00