All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter.Chen@freescale.com (Peter Chen)
To: linux-arm-kernel@lists.infradead.org
Subject: Bug: Toggling green led on Olinuxino Maxi, also toggles USB
Date: Tue, 14 Apr 2015 08:43:22 +0000	[thread overview]
Message-ID: <BN3PR0301MB08493E69AF05491D033C462481E60@BN3PR0301MB0849.namprd03.prod.outlook.com> (raw)
In-Reply-To: <517669452.288592.1428943161783.JavaMail.open-xchange@oxbaltgw03.schlund.de>

 
> >
> > 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

  reply	other threads:[~2015-04-14  8:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-12 10:06 Bug: Toggling green led on Olinuxino Maxi, also toggles USB Stefan Wahren
2015-04-12 23:18 ` Marek Vasut
2015-04-13  5:59   ` harald at ccbib.org
2015-04-13  6:14     ` Marek Vasut
2015-04-13  7:00 ` Peter Chen
2015-04-13 16:39   ` Stefan Wahren
2015-04-14  8:43     ` Peter Chen [this message]
2015-04-14 14:15       ` Fabio Estevam
2015-04-14 18:37         ` Stefan Wahren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN3PR0301MB08493E69AF05491D033C462481E60@BN3PR0301MB0849.namprd03.prod.outlook.com \
    --to=peter.chen@freescale.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.