From: Felipe Balbi <me@felipebalbi.com>
To: David Brownell <david-b@pacbell.net>
Cc: me@felipebalbi.com, Tony Lindgren <tony@atomide.com>,
"Pandita, Vikram" <vikram.pandita@ti.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: [PATCH] Fix bootup crash for LDP platform
Date: Sat, 18 Oct 2008 23:36:36 +0300 [thread overview]
Message-ID: <20081018203625.GR31842@frodo> (raw)
In-Reply-To: <200810181316.51253.david-b@pacbell.net>
On Sat, Oct 18, 2008 at 01:16:50PM -0700, David Brownell wrote:
> Right now all we need is a way to make sure the MUSB code
> isn't assuming an integrated transceiver ... the patch I
> just sent is *only* to git rid of that "use an out-of-date
> copy of the original transceiver" logic.
right
> There are certainly some improvements that can be made in
> the area of OTG transceiver handling. There are some PXA
> related patches in that area, too. ISTR one of them was
> just to provide calls to register and unregister the OTG
> transceiver, moving them out of platform code (where they
> live today)...
hmm... that (if we're talking about the same patches) was based in
earlier patches from me and Tony when we wrote the whole otg messaging
stuff for n810.
I recall sending them but the community didn't quite like the approach.
I was hoping to get them in better shape and resend but got too busy
with omap3 stuff, so that task got reniced.
I'm just happy someone took over those patches since they are quite
useful.
> What I recall about your drivers/usb/otg notion (maybe not
> entirely correctly) was that it covered a lot of stuff
> which, it seemed to me, didn't need abstracting.
Yeah, from the original idea we were trying to handle some (maybe most)
of the otg timers in sw. Little later I got back to earth and figured
those timers are handled in hw.
> Maybe once we get the current MUSB stuff to work within
> the current framework -- which splits out otg_transceiver
> as an entity that host and peripheral side controller
> drivers talk to -- we should revisit such stuff.
sounds goods to me.
> I don't follow *that* at all. If some driver other than
> twl4030-usb registers as the system's OTG transceiver,
> MUSB on OMAP3x should just use that. All musb should do
> is ask for the transceiver, and then talk to it ... but
> the current code can't do that.
hmm.. true, not that we can have 2 otg transceivers wired at the same
time anyways.
> Let's make sure it doesn't break DaVinci and TUSB first.
> It'd be good to remove the musb->xceiv->state doubled
> indirections in most places too, just as cleanup.
>
> (Plus cope with the $SUBJECT issue "for real"!)
sure.
> Right. Does Blackfin have an integrated transceiver like
> DaVinci and TUSB? Or does it use a discrete one?
I'll revisit the blackfin patches, they're going only for 2.6.29 merge
window.
> I'm thinking this issue needs resolving before twl4030-usb can
> go upstream. :)
hehe, i'll take a closer look at your patch starting on monday and try to
convert tusb6010 asap. Time to get my nice n810 back to life :-)
> Does mainline work with tusb6010 today? I see lots of USB
> patches merged yesterday. And enough ARM/DaVinci patches
> merged (a few days back) that its MUSB might work too.
We don't have any board-support for tusb6010 but all the code is there.
--
balbi
next prev parent reply other threads:[~2008-10-18 20:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1224284642-13863-1-git-send-email-vikram.pandita@ti.com>
2008-10-17 23:08 ` [PATCH] Fix bootup crash for LDP platform Pandita, Vikram
2008-10-17 23:50 ` Felipe Balbi
2008-10-18 13:56 ` Tony Lindgren
2008-10-18 19:28 ` David Brownell
2008-10-18 19:43 ` Felipe Balbi
2008-10-18 20:16 ` David Brownell
2008-10-18 20:36 ` Felipe Balbi [this message]
2008-10-22 15:35 ` Bryan Wu
2008-10-22 16:33 ` 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=20081018203625.GR31842@frodo \
--to=me@felipebalbi.com \
--cc=david-b@pacbell.net \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
--cc=vikram.pandita@ti.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 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.