[U-Boot] [PATCH v3] usb: dwc2: add support for external vbus supply

Simon Glass sjg at chromium.org
Sat Dec 3 19:27:48 CET 2016


Hi Marek, Kever,

On 3 December 2016 at 06:15, Marek Vasut <marex at denx.de> wrote:
> On 12/03/2016 05:29 AM, Simon Glass wrote:
>> From: Kever Yang <kever.yang at rock-chips.com>
>>
>> Some board do not use the dwc2 internal VBUS_DRV signal, but
>> use a gpio pin to enable the 5.0V VBUS power, add interface to
>> enable the power in dwc2 driver.
>>
>> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>> ---
>>
>> Changes in v3:
>> - Drop use of static variable
>>
>>  drivers/usb/host/dwc2.c | 39 ++++++++++++++++++++++++++++++++++-----
>>  1 file changed, 34 insertions(+), 5 deletions(-)

Just to be clear, I will not be taking this patch. I will await
Kever's new version based on my ideas in this patch and Marek's
comments.

This patch was just to help explain how to drop the static variable,
since that seemed to be a point of confusion.

Regards,
Simon


More information about the U-Boot mailing list