diff options
author | 2023-06-16 15:52:41 +0800 | |
---|---|---|
committer | 2023-06-19 15:34:35 +0200 | |
commit | 8be558dcffe69b078b34b1fa93b82acaf4ce4957 (patch) | |
tree | 891249ba5badd604dc7e95ff1dbe67bb2076b37c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | usb: typec: tcpm: fix cc role at port reset (diff) | |
download | wireguard-linux-8be558dcffe69b078b34b1fa93b82acaf4ce4957.tar.xz wireguard-linux-8be558dcffe69b078b34b1fa93b82acaf4ce4957.zip |
usb: typec: tcpm: add get max power support
Traverse fixed pdos to calculate the maximum power that the charger
can provide, and it can be get by POWER_SUPPLY_PROP_INPUT_POWER_LIMIT
property.
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20230616075241.27690-2-frank.wang@rock-chips.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions