summaryrefslogtreecommitdiff
path: root/drivers/usb/pd
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2016-12-07 19:25:02 -0800
committerJack Pham <jackp@codeaurora.org>2016-12-12 15:27:36 -0800
commit7d34e0758877f819ed933d8f72b589cfae429343 (patch)
tree7ed86ac9bd18735eadd73a297dd83524ad2ded50 /drivers/usb/pd
parenta5dea1fbd6544ca5911671db71fab6916d61878d (diff)
usb: dwc3-msm: Set PROP_BOOST_CURRENT for direct attach devices
If PMIC provides boost power for VBUS in host mode, it may need to know the amount of current of an attached device in order to optimize for overall power consumption. We can pass the bMaxPower obtained from a device's configuration descriptor when it is attached. This only affects devices (including hubs) directly attached to the root port, as any device downstream of a hub will either consume part of the hub's budget or has external power. Change-Id: I1ad2cfecb7a2f6bdeaced29a1753cdc1bf3849db Signed-off-by: Jack Pham <jackp@codeaurora.org>
Diffstat (limited to 'drivers/usb/pd')
0 files changed, 0 insertions, 0 deletions