Currently, VBUS draw callback does no action when the generic PHYs are used. The patches add an additional path to control charging current through power supply property POWER_SUPPLY_PROP_INPUT_CURRENT_LIMIT. Ray Chi (2): usb: dwc3: add a power supply for current control usb: dwc3: add an alternate path in vbus_draw callback drivers/usb/dwc3/core.c | 15 +++++++++++++++ drivers/usb/dwc3/core.h | 4 ++++ drivers/usb/dwc3/gadget.c | 10 +++++++++- 3 files changed, 28 insertions(+), 1 deletion(-) -- 2.30.0.617.g56c4b15f3c-goog