diff options
author | Frank Wang <frank.wang@rock-chips.com> | 2023-06-16 10:52:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-19 16:34:35 +0300 |
commit | 8be558dcffe69b078b34b1fa93b82acaf4ce4957 (patch) | |
tree | 891249ba5badd604dc7e95ff1dbe67bb2076b37c /drivers/usb/gadget/udc/cdns2/cdns2-debug.h | |
parent | 1e35f074399dece73d5df11847d4a0d7a6f49434 (diff) | |
download | linux-8be558dcffe69b078b34b1fa93b82acaf4ce4957.tar.xz |
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 'drivers/usb/gadget/udc/cdns2/cdns2-debug.h')
0 files changed, 0 insertions, 0 deletions