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 <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2025-10-22 10:58:31 +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
2023-08-18 11:28:40 -06:00
…
2025-07-22 17:12:41 +02:00
…
2023-07-27 07:53:12 +02:00
…
…