From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kever Yang Date: Mon, 06 Mar 2017 20:36:43 +0800 Subject: [U-Boot] [PATCH v3] usb: dwc2: add support for external vbus supply In-Reply-To: References: <1480739357-23927-1-git-send-email-sjg@chromium.org> <4f7c6ecb-8ef7-cc3e-80d6-181aad70de3a@denx.de> Message-ID: <58BD57DB.6020707@rock-chips.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, On 12/04/2016 02:27 AM, Simon Glass wrote: > Hi Marek, Kever, > > On 3 December 2016 at 06:15, Marek Vasut wrote: >> On 12/03/2016 05:29 AM, Simon Glass wrote: >>> From: Kever Yang >>> >>> 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 >>> Signed-off-by: Simon Glass >>> --- >>> >>> 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. Thanks very much for your example, and really sorry for missing this patch, I will send a new version later. Thanks, - Kever > > Regards, > Simon > > >