mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Underwood <basicmark@yahoo.com>
To: Pavel Machek <pavel@ucw.cz>, 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 21:04:37 +0000 (GMT)	[thread overview]
Message-ID: <20051126210437.76662.qmail@web36914.mail.mud.yahoo.com> (raw)
In-Reply-To: <20051126192436.GC17663@elf.ucw.cz>


--- Pavel Machek <pavel@ucw.cz> wrote:

> 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.
> 

Just a thought. How about a sysfs entry which you can use to jam the device into either slave or
host mode?

Mark

> 								Pavel
> 
> -- 
> Thanks, Sharp!
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 



	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

  parent reply	other threads:[~2005-11-26 21:04 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
2005-11-26 19:36           ` make oldconfig issues since 2.15-rc1-mm1 Stef van der Made
2005-11-26 21:04           ` Mark Underwood [this message]
2005-11-26 21:08             ` pxa27x_udc -- support for usb gadget for pxa27x? 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=20051126210437.76662.qmail@web36914.mail.mud.yahoo.com \
    --to=basicmark@yahoo.com \
    --cc=dkrivoschokov@dev.rtsoft.ru \
    --cc=dvrabel@cantab.net \
    --cc=lenz@cs.wisc.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --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®