[PATCH 1/3] usb: dwc3: gadget: Introduce a DWC3 VBUS draw callback

2020-12-29 Thread Wesley Cheng
Some devices support charging while in device mode. In these situations, the USB gadget will notify the DWC3 gadget driver to modify the current based on the enumeration and device state. The usb_phy_set_power() API will allow external charger entities to adjust the charge current through the

Re: [PATCH 1/3] usb: dwc3: gadget: Introduce a DWC3 VBUS draw callback

2020-11-16 Thread Peter Chen
On 20-11-14 00:12:45, Wesley Cheng wrote: > Some devices support charging while in device mode. In these situations, > the USB gadget will notify the DWC3 gadget driver to modify the current > based on the enumeration and device state. The usb_phy_set_power() API > will allow external charger

[PATCH 1/3] usb: dwc3: gadget: Introduce a DWC3 VBUS draw callback

2020-11-14 Thread Wesley Cheng
Some devices support charging while in device mode. In these situations, the USB gadget will notify the DWC3 gadget driver to modify the current based on the enumeration and device state. The usb_phy_set_power() API will allow external charger entities to adjust the charge current through the