Bug: Toggling green led on Olinuxino Maxi, also toggles USB

Peter Chen Peter.Chen at freescale.com
Tue Apr 14 01:43:22 PDT 2015


 
> >
> > On Sun, Apr 12, 2015 at 12:06:10PM +0200, Stefan Wahren wrote:
> > > [...]
> > >
> > > I think the problem has something to with USB OTG, because GPIO 65
> > > is on the same pin for USB_OTG_ID.
> > > My idea was to set "dr_mode" in olinuxino dts explicit to "host" and
> > > it works, but i'm not sure that is the right fix.
> > >
> > > Shouldn't chipidea driver complain about missing pinctrl or something else?
> >
> > Some controllers have dedicated ID pin which doesn't need to configure
> > pinctrl registers. If the user would like to use role switch function
> > and the ID pin can be configured by pinctrl subsystem, it needs to set
> > pinctrl through dts.
> >
> 
> So setting "dr_mode" to "host" is the one and only solution for this case?
> 
> >
 
From my point, yes.

Peter


More information about the linux-arm-kernel mailing list