From: David Brownell <david-b@pacbell.net>
To: me@felipebalbi.com
Cc: Nathan Monson <nmonson@gmail.com>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: OMAP support in mainline?
Date: Fri, 3 Oct 2008 01:36:33 -0700 [thread overview]
Message-ID: <200810030136.33838.david-b@pacbell.net> (raw)
In-Reply-To: <20081003075220.GD10743@frodo>
On Friday 03 October 2008, Felipe Balbi wrote:
> On Fri, Oct 03, 2008 at 12:20:56AM -0700, Nathan Monson wrote:
> > On Thu, Sep 18, 2008 at 3:26PM, Felipe Balbi wrote:
> > > Yeah, we lost some musb history when it went to mainline. I didn't test
> > > this patch yet cuz I've been quite busy at work, but it should make
> > > beagle work. Could you tell me if makes it work ?
> >
> > This patch has been working for me until the latest round of twl4030 changes.
> >
> > Commit fde13f8fc7de977e71304fd500fed029b41ceb19/"move twl4030-usb to
> > platform-device" changed subsys_initcall to module_init in
> > twl4030-usb.
> >
> > Now, twl4030-usb is initialized after musb. This means
> > otg_set_transceiver is called later in boot, so the patch below gets
> > null back from otg_get_transceiver and oopses on *xceiv.
> >
> > Unfortunately, without the patch, USB host doesn't work on the BeagleBoard.
I see it working ... there's a bit of oddness in a host-only config,
devices have to be plugged in after boot, but "doesn't work" seems
pretty wrong.
> > Other than this, the new kernel seems to work pretty well for me.
>
> Dave, this will be fixed when i2c with your patch initializing i2c
> earlier on boot. Right ?
That's just driver model init, allowing i2c drivers to register
earlier, so subsys initcalls can rely on i2c to already have been
initialized ... so, no.
Within a given initcall level -- like subsys, or (later) driver -- the
initialization sequence is controlled by kernel link order, which is
a function of location in the source tree.
> For now, let's keep subsys_initcall() on twl4030_usb. I'll prepare a
> patch and send it really soon.
That's the right longer-term answer, I think.
- Dave
>
> Thanks for notifying me Nathan.
>
> --
> balbi
>
>
next prev parent reply other threads:[~2008-10-03 8:36 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-03 7:20 OMAP support in mainline? Nathan Monson
2008-10-03 7:52 ` Felipe Balbi
2008-10-03 8:36 ` David Brownell [this message]
2008-10-03 9:45 ` [PATCH] i2c: change twl4030-usb back to subsys_initcall Felipe Balbi
2008-10-03 10:19 ` Koen Kooi
2008-10-03 12:04 ` Felipe Balbi
2008-10-03 13:28 ` Tony Lindgren
2008-10-03 13:43 ` Felipe Balbi
2008-10-03 20:05 ` Nathan Monson
2008-10-03 23:48 ` Felipe Balbi
2008-10-03 23:50 ` Felipe Balbi
2008-10-06 6:41 ` Tony Lindgren
2008-10-04 1:23 ` OMAP support in mainline? Nathan Monson
2008-10-04 1:40 ` David Brownell
-- strict thread matches above, loose matches on Subject: below --
2008-09-16 14:56 Kalle Valo
2008-09-16 15:13 ` Paul Walmsley
2008-09-16 18:41 ` Felipe Balbi
2008-09-16 23:25 ` Tony Lindgren
2008-09-17 5:20 ` Jarkko Nikula
2008-09-17 5:55 ` David Brownell
2008-09-17 7:16 ` Koen Kooi
2008-09-17 12:24 ` Steve Sakoman
2008-09-17 13:23 ` Koen Kooi
2008-09-18 9:55 ` Felipe Balbi
2008-09-18 10:00 ` Pandita, Vikram
2008-09-18 11:16 ` Koen Kooi
2008-09-18 11:24 ` Felipe Balbi
2008-09-18 11:51 ` Pandita, Vikram
2008-09-18 11:53 ` Igor Stoppa
2008-09-18 12:01 ` Pandita, Vikram
2008-09-18 13:36 ` Woodruff, Richard
2008-09-18 16:46 ` David Brownell
2008-09-19 8:49 ` Igor Stoppa
2008-09-19 13:50 ` Woodruff, Richard
2008-09-21 15:02 ` Felipe Contreras
2008-09-21 16:34 ` Woodruff, Richard
2008-09-18 16:31 ` David Brownell
2008-09-19 14:07 ` Koen Kooi
2008-09-20 1:48 ` Måns Rullgård
2008-09-19 19:10 ` Philip Balister
2008-09-19 20:57 ` Ashwin Bihari
2008-09-19 21:02 ` Koen Kooi
2008-09-17 6:32 ` Kalle Valo
2008-09-17 16:53 ` Tony Lindgren
2008-09-17 16:57 ` Tony Lindgren
2008-09-17 20:32 ` Russell King - ARM Linux
2008-09-21 18:42 ` Tony Lindgren
2008-09-21 18:51 ` Russell King - ARM Linux
2008-09-21 19:04 ` Tony Lindgren
2008-09-17 6:18 ` Budhee Jamaich
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=200810030136.33838.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=linux-omap@vger.kernel.org \
--cc=me@felipebalbi.com \
--cc=nmonson@gmail.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.