summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/cdns2/cdns2-debug.h
diff options
context:
space:
mode:
authorFrank Wang <frank.wang@rock-chips.com>2023-06-16 10:52:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-19 16:34:35 +0300
commit8be558dcffe69b078b34b1fa93b82acaf4ce4957 (patch)
tree891249ba5badd604dc7e95ff1dbe67bb2076b37c /drivers/usb/gadget/udc/cdns2/cdns2-debug.h
parent1e35f074399dece73d5df11847d4a0d7a6f49434 (diff)
downloadlinux-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