All of lore.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <me@felipebalbi.com>
To: Ashwin Bihari <abihari@gmail.com>
Cc: "linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: MUSB OTG Interrupts
Date: Fri, 26 Sep 2008 20:54:28 +0300	[thread overview]
Message-ID: <20080926175427.GE9890@frodo> (raw)
In-Reply-To: <1f11a5490809260900q43d1524fn8811e9516663bc12@mail.gmail.com>

On Fri, Sep 26, 2008 at 12:00:17PM -0400, Ashwin Bihari wrote:
> Greetings,
> 
> I've got a very curious problem with my OMAP3 based  board. I'm using
> the OMAPZOOM kernel v2.6.27-rc3 and have enabled MUSB in OTG mode
> (both host and perihperhal). I've got the file-backed-storage gadget.
> If I plug the mini-B connector to the board, it gets the appropriate
> interrupt and recognizes that it needs to be operate in peripheral
> mode and goes about it's business. However, when I plug in the mini-A
> connector to the board, there is no interrupt and no activity. I can
> then unplug the mini-A connector, and plug in the mini-B connector to
> get the interrupts and activity again.
> 
> If I boot the board up with the mini-A connector plugged in, it is
> properly found/recognized during driver installation and any devices
> attached are properly found and can be used. The IRQs at this time
> fire properly. I have a thumb drive connected to a high speed hub
> connected to the OMAP board, and the drive is found, I can mount it
> and do everything. Now, in this particular case, if I unplug the
> mini-A connector and plug either the mini-A or mini-B connector,
> nothing happens at all.
> 
> Why am I only getting interrupts with the mini-B connector and not the
> mini-A connector? Additionally, why does everything fail after my
> second scenario above?

Id pin interrupt handling is not done yet on twl4030-usb, I'm planning
to finish that part when we finish fixing twl children registration.

If you have to do that and send a patch, that's ok. Just be sure to make
it on top of latest twl4030-usb.c which I moved to platform_driver.

-- 
balbi

      reply	other threads:[~2008-09-26 17:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 16:00 MUSB OTG Interrupts Ashwin Bihari
2008-09-26 17:54 ` Felipe Balbi [this message]

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=20080926175427.GE9890@frodo \
    --to=me@felipebalbi.com \
    --cc=abihari@gmail.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.