commit | 596d696a5d0e066f2ed4bd6b0e40dedd52513c7c | [log] [tgz] |
---|---|---|
author | Gregory Herrero <gregory.herrero@intel.com> | Fri Jan 09 13:39:08 2015 +0100 |
committer | Felipe Balbi <balbi@ti.com> | Mon Jan 12 15:34:49 2015 -0600 |
tree | 2ec5648d815ddef3e88833b523b42ec707e00750 | |
parent | 6d13673e6bc5b666913e92ca59518a449da3b4a9 [diff] |
usb: dwc2: gadget: add vbus_draw support This callback informs the driver about the total amount of current it is allowed to draw. Share this information with the phy so that current limits can be set for charging for example. Tested-by: Robert Baldyga <r.baldyga@samsung.com> Acked-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Gregory Herrero <gregory.herrero@intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>