Re: [PATCH 7/8] usb: dwc3: qcom: Start USB in 'host mode' on the SDM845

Lee Jones
2019-06-05T18:50:44Z

On Wed, 05 Jun 2019, Jeffrey Hugo wrote:

> On 6/5/2019 2:34 AM, Lee Jones wrote:
> > On Wed, 05 Jun 2019, Bjorn Andersson wrote:
> >
> > > On Tue 04 Jun 03:44 PDT 2019, Lee Jones wrote:
> > >
> > > > When booting with Device Tree, the current default boot configuration
> > > > table option, the request to boot via 'host mode' comes from the
> > > > "dr_mode" property.
> > >
> > > This has been the default on the MTP, but this is changing as this is
> > > causing issues when connected downstream from a hub (the typical
> > > development case for the primary USB port of a phone like device) and
> > > more importantly we don't have support for the PMIC blocks that control
> > > VBUS.
> >
> > My point is not about which mode is currently chosen. It's more about
> > the capability of choosing which mode is appropriate for a given
> > system via DT.
> >
> > > Once these issues are resolved the dr_mode would be "otg".
> >
> > OTG doesn't work on this H/W, so we need to specify "host" mode.
>
> How have you made that determination?

I enabled OTG and plugged in all of the things.

--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog