Bug: Toggling green led on Olinuxino Maxi, also toggles USB
Stefan Wahren
stefan.wahren at i2se.com
Mon Apr 13 09:39:21 PDT 2015
Hi Peter,
> Peter Chen <peter.chen at freescale.com> hat am 13. April 2015 um 09:00
> geschrieben:
>
>
> 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?
>
> Best Regards,
> Peter Chen
Stefan
More information about the linux-arm-kernel
mailing list