public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@ti.com>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Tony Lindgren <tony@atomide.com>,
	Enric Balletbo Serra <eballetbo@gmail.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	Felipe Balbi <balbi@ti.com>
Subject: Re: USB OTG doesn't work in HOST mode on OMAP3 processor on 3.18-rc5
Date: Sat, 29 Nov 2014 09:35:21 -0600	[thread overview]
Message-ID: <20141129153521.GB14924@saruman> (raw)
In-Reply-To: <CAGm1_kvZnkB4MWPv3ExCqibb0Rq4xXfkPHHpfDb9HOTFNf7BiA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1506 bytes --]

Hi,

On Fri, Nov 28, 2014 at 11:35:53AM +0100, Yegor Yefremov wrote:
> On Wed, Nov 19, 2014 at 6:53 PM, Tony Lindgren <tony@atomide.com> wrote:
> > * Enric Balletbo Serra <eballetbo@gmail.com> [141119 03:14]:
> >> 2014-11-18 16:42 GMT+01:00 Tony Lindgren <tony@atomide.com>:
> >>
> >> Checked again, and no luck. It's very weird because from the OTG point
> >> of view, OTG is exactly the same between Beagleboard-XM and IGEPv2.
> >>
> >> Can you confirm that you're using kernel 3.18-rc5 without other
> >> patches applied ? At this moment, I don't have a Beagleboard-XM to
> >> test, I'll try to get one because at this moment I'm a bit stuck with
> >> this problem.
> >
> > Yes it was with v3.18-rc5 and the defconfig patch I posted except
> > I had to disable all the other MUSB platforms. Also tested it with
> > built in modules.
> >
> > Maybe you need to check the .dts pinctrl entries for hsusb0_* lines?
> 
> Just my 2 cents, My am335x based board shows similar symptoms
> (CONFIG_USB_MUSB_DUAL_ROLE enabled). Only if I specify  dr_mode =
> "host"; in my DTS I get device enumerated. 3.15, that I had before
> made no problems as OTG.

Are you sure your ID pin is properly routed ? If you set dr_mode to otg,
then you *must* have a properly routed ID pin and use a proper
micro-/mini-ab receptacle. That's not true for e.g. beagle bone black.

One USB port is using a Standard-A while the other uses mini-B. You
can't do any role swapping with those.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2014-11-29 15:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 15:13 USB OTG doesn't work in HOST mode on OMAP3 processor on 3.18-rc5 Enric Balletbo Serra
2014-11-17 18:04 ` Tony Lindgren
2014-11-18  9:02   ` Enric Balletbo Serra
     [not found]     ` <CAFqH_52LV8k6OyH04dUmhzZChnHrtJR23qu1ewhU49iOVT1Mwg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-18 10:42       ` Enric Balletbo Serra
2014-11-18 15:42     ` Tony Lindgren
     [not found]       ` <20141118154204.GI7046-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2014-11-19 11:12         ` Enric Balletbo Serra
2014-11-19 17:53           ` Tony Lindgren
     [not found]             ` <20141119175348.GK7046-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2014-11-28 10:35               ` Yegor Yefremov
2014-11-29 15:35                 ` Felipe Balbi [this message]
2014-12-01  7:57                   ` Yegor Yefremov
     [not found]                     ` <CAGm1_ku4UYL0DX9DuSJWn9-QKhcq+mUKyVTA433F6XbRe2FnHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01 14:35                       ` Felipe Balbi
     [not found] <CAJt7siu_JiSe3CfM2=0UZLQjRevdLuX+=UL566fiW6XefTTWGA@mail.gmail.com>
     [not found] ` <CAJt7siu_JiSe3CfM2=0UZLQjRevdLuX+=UL566fiW6XefTTWGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-19 11:16   ` Eduard Gavin
2014-12-23 18:41     ` Felipe Balbi

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=20141129153521.GB14924@saruman \
    --to=balbi@ti.com \
    --cc=eballetbo@gmail.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=tony@atomide.com \
    --cc=yegorslists@googlemail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox