Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@dev.rtsoft.ru>
To: elmar gerdes <elmar.gerdes@engel-kg.com>
Cc: linux-usb-devel@lists.sourceforge.net, linux-mips@linux-mips.org
Subject: Re: Question on UDC driver for the Alchemy Au1550
Date: Sat, 16 Dec 2006 00:28:21 +0300	[thread overview]
Message-ID: <45831375.4060303@dev.rtsoft.ru> (raw)
In-Reply-To: <20061214234250.Q13369@pogo.engel-kg.com>

Hello.

elmar gerdes wrote:
> to make this short:

>   Is anybody working on a UDC driver for the Alchemy Au1550
>   (MIPS-based)?

> If you are interested in details, please read on:

> I'm working with an Au1550-based board and would like to run it as a USB
> device.  There have been a few drivers around for Au1xxx-based boards,
> but none of them seems to be adequate for this processor (or else I
> missed something...):

>  a) in the kernel tree: arch/mips/au1000/common/usbdev.c
> 
>     This one was for Au1000, Au1100, and Au1500 IIRC.  But it didn't
>     even compile for quite some kernel versions and now it has been
>     removed from the tree.

> The first driver (usbdev.c) cannot work this way, but the access to

    It was written by MontaVista in the ancient times when there was no USB
gadget stack I think. It was never completeed because of the known USB device
  interrupt latency issues in the early revisions of Au1xx0 chips.

> registers and endpoints is like that for the Au1500 which should be
> correct for the Au1500, too.  But the Au1550's DMA differs.

> The second driver (au1200udc.c / amd5536udc.c) has the same DMA, but the
> registers and endpoint stuff are different, and it supports USB 2.0
> whereas the Au1550 only supports USB 1.1.

    Au1200 has OTG controller, hasn't it?

> It looks like the Au1550 needs a driver merged from the 2 (or 3) above
> drivers.

    Probably.

> Is anybody working on that?  Can anybody point me to some projects,
> people or other source code that could help me?

    I think Rodolfo Giometti was working on Au1100 (and hence Au1000/1500) USB
device support.
    The topic of Alchemy USB device has been touched several times on 
linux-mips, I'd suggest to look thru the list archives. Getting the Au1550 
spec. update would be a good idea too... although you're probably lucky with 
Au1550 -- I'm not seeing any USB device errata listed for there.

> Regards,

>     Elmar

WBR, Sergei

      reply	other threads:[~2006-12-15 21:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 22:47 Question on UDC driver for the Alchemy Au1550 elmar gerdes
2006-12-15 21:28 ` Sergei Shtylyov [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=45831375.4060303@dev.rtsoft.ru \
    --to=sshtylyov@dev.rtsoft.ru \
    --cc=elmar.gerdes@engel-kg.com \
    --cc=linux-mips@linux-mips.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /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