All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brad Parker <brad@heeltoe.com>
To: linux-omap@vger.kernel.org
Subject: omap3 otg host not working since 2.6.28?
Date: Sun, 08 Nov 2009 21:11:31 -0500	[thread overview]
Message-ID: <4AF77A53.2050908@heeltoe.com> (raw)

I can't get OTG host mode to work with any recent kernels.  I'm curious 
if anyone else has tried this.
It may well be something most people don't do.

I've tried this on our custom hardware (omap3530/tps65930) and on a 
beagleboard with the same
results.  Our OTG hardware is identical to the beagleboard.

I am using a special mini-B cable which has the ID pin grounded.  I know 
about forcing the
mode with echo "host" >/sys/devices/platform/musb_hdrc/mode. 

When I use a 2.6.28 kernel built using the same patches as are in OE, 
OTG host works fine.  I can get the controller
into host mode.  When I use any kernels from the omap git tree past 
2.6.28 it doesn't work.  The controller
stays in "b-mode" and won't switch.

I can dig into it and figure out why, but I thought I'd ask in case 
anyone else has already solved it.  I've written
some diagnostics for the OTG controller and found it's finicky about 
getting into host mode, sometimes
wanting the phy to be reset before it will switch.

-brad

 
-----------
Brad Parker
Heeltoe Consulting
http://www.heeltoe.com
781-483-3101


             reply	other threads:[~2009-11-09  2:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-09  2:11 Brad Parker [this message]
2009-11-10 13:10 ` omap3 otg host not working since 2.6.28? (sys_boot affects this) Brad Parker

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=4AF77A53.2050908@heeltoe.com \
    --to=brad@heeltoe.com \
    --cc=linux-omap@vger.kernel.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.