mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: David Vrabel <dvrabel@cantab.net>,
	lenz@cs.wisc.edu, kernel list <linux-kernel@vger.kernel.org>,
	dkrivoschokov@dev.rtsoft.ru
Subject: Re: pxa27x_udc -- support for usb gadget for pxa27x?
Date: Sat, 26 Nov 2005 20:24:37 +0100	[thread overview]
Message-ID: <20051126192436.GC17663@elf.ucw.cz> (raw)
In-Reply-To: <1131360232.8375.50.camel@localhost.localdomain>

Hi!

> > Pavel Machek wrote:
> > > 
> > > ...for the spitz. Do you think I can just copy this one? ...eh, no,
> > > will not fly, there's no SPITZ_GPIO_USB_PULLUP.
> > 
> > There are internal pull-ups (and pull-downs) perhaps you can use those?
> > 
> > Hmmm. Though the C5 stepping might be different -- best to check the
> > "specification update".
> 
> I can confirm that you'll need to use the internal pxa27x pullups
> for

How can I use pxa27x pullups?

> this. You'll probably also need to make sure GPIO 35 is low to ensure
> the usb Vcc line isn't powered (as it would be in usb host mode.

Are you sure? spitz_ohci_init() seems to play with GPIO 37.

(Perhaps spitz_ohci_init should disable the other GPIO?)

> Ultimately, it would be nice to have the Zaurus detect whether a usb
> host or client was present (using gpio 41 maybe?) and then activate the
> host (ohci) or client (pxa27x_udc) driver as appropriate.

Unfortunately, that would make ohci unfunctional for me. I have normal
usb device cable, connected to "USB gender changer" -- basically two
female connectors -- so that I can plug USB network card into that.

								Pavel

-- 
Thanks, Sharp!

  reply	other threads:[~2005-11-26 19:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-03 22:14 Pavel Machek
2005-11-03 22:35 ` Richard Purdie
2005-11-06 19:47   ` Pavel Machek
2005-11-06 20:45   ` Pavel Machek
2005-11-07 10:25     ` David Vrabel
2005-11-07 10:43       ` Richard Purdie
2005-11-26 19:24         ` Pavel Machek [this message]
2005-11-26 19:36           ` make oldconfig issues since 2.15-rc1-mm1 Stef van der Made
2005-11-26 21:04           ` pxa27x_udc -- support for usb gadget for pxa27x? Mark Underwood
2005-11-26 21:08             ` Pavel Machek
2005-11-26 23:02               ` Mark Underwood

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=20051126192436.GC17663@elf.ucw.cz \
    --to=pavel@ucw.cz \
    --cc=dkrivoschokov@dev.rtsoft.ru \
    --cc=dvrabel@cantab.net \
    --cc=lenz@cs.wisc.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpurdie@rpsys.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

all inboxes | Powered by JetHome®