Re: pxa27x_udc -- support for usb gadget for pxa27x?

From: Mark Underwood (basicmark_at_yahoo.com)
Date: 11/26/05

  • Next message: Paul E. McKenney: "[PATCH] Make RCU task_struct safe for oprofile"
    Date:	Sat, 26 Nov 2005 21:04:37 +0000 (GMT)
    To: Pavel Machek <pavel@ucw.cz>, Richard Purdie <rpurdie@rpsys.net>
    
    

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


  • Next message: Paul E. McKenney: "[PATCH] Make RCU task_struct safe for oprofile"

    Relevant Pages

    • Re: pxa27x_udc -- support for usb gadget for pxa27x?
      ... How can I use pxa27x pullups? ... > the usb Vcc line isn't powered (as it would be in usb host mode. ... female connectors -- so that I can plug USB network card into that. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Totally broken PCI PM calls
      ... I'm thinking of the case of Cardbus with hotpluggable PCI buses. ... to being inappropriately setup. ... problem is present with USB, and USB is far more liable to have this ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: more files with licenses that arent GPL-compatible
      ... strange license text) we got that solved easily. ... If one of you usb guys want to convert it that's fine, ... get the files relicensed under a GPL-compatible license that's fine aswell, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-mm1
      ... working on console and under XFree86 as well. ... as for me it seems gpm interprets ... reads data replicated by gpm via gpmdata can't handle the USB mouse ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.9-mm1: NForce3 problem (IRQ sharing issue?)
      ... > stopped working along with the USB (as you can see above, ... > registered, assigned bus number 2 ... That's probably the nforce3 audio device which is an intel part. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)