public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* OMAP support in mainline?
@ 2008-09-16 14:56 Kalle Valo
  2008-09-16 15:13 ` Paul Walmsley
  0 siblings, 1 reply; 47+ messages in thread
From: Kalle Valo @ 2008-09-16 14:56 UTC (permalink / raw)
  To: linux-omap

Hello Linux OMAP community,

I have seen a lot of patches going to Russell and general talk about
mainline support. What is actually the current situation? Is there
hope to have good support in mainline soon? If yes, when?

Unsurprisingly I'm especially interested about N800/N810 support :)

-- 
Kalle Valo

^ permalink raw reply	[flat|nested] 47+ messages in thread
* RE: OMAP support in mainline?
@ 2008-10-03  7:20 Nathan Monson
  2008-10-03  7:52 ` Felipe Balbi
  0 siblings, 1 reply; 47+ messages in thread
From: Nathan Monson @ 2008-10-03  7:20 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

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.

Other than this, the new kernel seems to work pretty well for me.

- Nathan

> diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
> index 9d2dcb1..f7fe91e 100644
> --- a/drivers/usb/musb/omap2430.c
> +++ b/drivers/usb/musb/omap2430.c
> @@ -215,12 +215,14 @@ void musb_platform_set_mode(struct musb *musb, u8 musb_mode)
>
> int __init musb_platform_init(struct musb *musb)
> {
> +       struct otg_transceiver *xceiv = otg_get_transceiver();
> u32 l;
>
> #if defined(CONFIG_ARCH_OMAP2430)
> omap_cfg_reg(AE5_2430_USB0HS_STP);
> #endif
>
> +       memcpy(musb->xceiv, xceiv, sizeof(*xceiv));
> musb_platform_resume(musb);
>
> l = omap_readl(OTG_SYSCONFIG);

^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2008-10-04  1:40 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16 14:56 OMAP support in mainline? 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-19 16:09                   ` MUSB not workin in .27rc6, was: " Koen Kooi
2008-09-19 21:24                     ` Felipe Balbi
2008-09-19 21:34                       ` Koen Kooi
2008-09-19 21:47                         ` Felipe Balbi
2008-09-20  0:49                     ` David Brownell
2008-09-20  1:12                       ` Felipe Balbi
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
  -- strict thread matches above, loose matches on Subject: below --
2008-10-03  7:20 Nathan Monson
2008-10-03  7:52 ` Felipe Balbi
2008-10-03  8:36   ` David Brownell
2008-10-04  1:23     ` Nathan Monson
2008-10-04  1:40       ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox