public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <me@felipebalbi.com>
To: Koen Kooi <k.kooi@student.utwente.nl>
Cc: felipe.balbi@nokia.com,
	"linux-omap@vger.kernel.org Mailing List"
	<linux-omap@vger.kernel.org>
Subject: Re: MUSB not workin in .27rc6, was: Re: OMAP support in mainline?
Date: Sat, 20 Sep 2008 00:24:33 +0300	[thread overview]
Message-ID: <20080919212431.GP6617@frodo> (raw)
In-Reply-To: <615FFFC3-999C-4DBD-A0FE-DCAA8BF18429@student.utwente.nl>

On Fri, Sep 19, 2008 at 06:09:04PM +0200, Koen Kooi wrote:
>
> Op 18 sep 2008, om 11:55 heeft Felipe Balbi het volgende geschreven:
>
>> On Wed, Sep 17, 2008 at 03:23:49PM +0200, ext Koen Kooi wrote:
>>>
>>> Op 17 sep 2008, om 14:24 heeft Steve Sakoman het volgende geschreven:
>>>
>>>> On Wed, Sep 17, 2008 at 12:16 AM, Koen Kooi 
>>>> <k.kooi@student.utwente.nl>
>>>> wrote:
>>>>
>>>>> And they aren't working too well with current l-o git either with 
>>>>> MUSB
>>>>> being
>>>>> broken. There's a patch to fix client mode, but host mode still  
>>>>> isn't
>>>>> working.
>>>>
>>>> Host mode musb is working just fine on Overo with the "set
>>>> transceiver" patch.  Not sure why you are having trouble with Beagle
>>>> (and can't check since I don't have my Beagle board with me at the
>>>> moment)
>>>
>>> I should clarify: OTG mode with a host cable doesn't work in .27rc,  
>>> it does
>>> work in 2.6.26. I haven't tried specifying pure hostmode, only OTG.
>>> I would try it on the evm as well, but that is having serious irq  
>>> issues
>>> with .27rc, pressing a key on the keypad triggers an irq overrun,  
>>> ethernet
>>> gives an oops on boot when trying to register and irq etc,etc.  
>>> 2.6.27 is
>>> looking really, really bad on omap3 at the moment.
>>
>> 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 ?
>>
>> 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);
>
> Ok, another datapoint: client mode (tested on beagle by Måns) and host  
> mode (tested on overo by Steve) work with a similar patch as above, OTG 
> mode is broken (tested on beagle and evm by me).

I don't recall having otg (id pin handling) working on omap3. I have
some experimental patches on my local branch (they work, but need
clean up).

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2008-09-19 21:24 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=20080919212431.GP6617@frodo \
    --to=me@felipebalbi.com \
    --cc=felipe.balbi@nokia.com \
    --cc=k.kooi@student.utwente.nl \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox