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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Peter,

> Peter Chen <peter.chen@xxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux