All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rodolfo Giometti <giometti@enneenne.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] USB device configuration
Date: Wed, 9 May 2007 11:03:11 +0200	[thread overview]
Message-ID: <20070509090311.GC11070@enneenne.com> (raw)

Hello,

during my PXA27x USB device support developing adventure I notice that
usbtty calls the functions:

   udc_init: PXA27x usbd start
   udc_setup_ep: setting up endpoint addr 0
   udc_enable: enable device a2077f74, status 0
   udc_connect: 
   udc_setup_ep: setting up endpoint addr 1
   udc_setup_ep: setting up endpoint addr 82
   udc_setup_ep: setting up endpoint addr 83

Looking at PXA27x manual I read that I have to setup the endpoints and
__then__ enable UDC for normal operations! But looking above I see
that u-boot calls before the udc_enable() and then the function
udc_setup_ep()...

There are something wrong or I haven't understood well how UDC support
works? =:-o

Thanks,

Rodolfo

-- 

GNU/Linux Solutions                  e-mail:    giometti at enneenne.com
Linux Device Driver                             giometti at gnudd.com
Embedded Systems                     		giometti at linux.it
UNIX programming                     phone:     +39 349 2432127

             reply	other threads:[~2007-05-09  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-09  9:03 Rodolfo Giometti [this message]
2007-05-09  9:19 ` [U-Boot-Users] USB device configuration Rodolfo Giometti
2007-05-09 21:43   ` Bryan O'Donoghue

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=20070509090311.GC11070@enneenne.com \
    --to=giometti@enneenne.com \
    --cc=u-boot@lists.denx.de \
    /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.