aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorK V, Abhilash <[email protected]>2020-04-23 16:20:58 +0300
committerGreg Kroah-Hartman <[email protected]>2020-04-23 15:33:34 +0200
commit992a60ed0d5e312ce9a485c9e12097ac82ae4b3e (patch)
tree6ae6067e0cf253d19bd95fb029b2d9a76a7a6395 /tools/perf/scripts/python
parent4dbc6a4ef06d6a79ff91be6fc2e90f8660031ce0 (diff)
usb: typec: ucsi: register with power_supply class
With this change the UCSI device will show up in /sys/class/power_supply/. The following values are exported: - online - usb_type - voltage_min - voltage_max - voltage_now - current_max - current_now Once a PD-capable type-C power source is connected to the system, GET_PDOS UCSI command is used to query all source capabilities. Request data object (RDO) is used to get current values. Signed-off-by: K V, Abhilash <[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