mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: 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: Sun, 6 Nov 2005 21:45:06 +0100	[thread overview]
Message-ID: <20051106204506.GH29901@elf.ucw.cz> (raw)
In-Reply-To: <1131057308.8523.92.camel@localhost.localdomain>

Hi!

> > Is there recent version somewhere? I found one version
> > (pxa27x-0218.patch), but it is *really* old.
> 
> Pull it out of handhelds.org kernel26 cvs tree and let me and the usb
> developers have the patch please :)

I got it to compile it for me, but I'd probably need something like

/*
 * USB Device Controller
 */
static void corgi_udc_command(int cmd)
{
        switch(cmd)     {
        case PXA2XX_UDC_CMD_CONNECT:
                GPSR(CORGI_GPIO_USB_PULLUP) =
GPIO_bit(CORGI_GPIO_USB_PULLUP);
                break;
        case PXA2XX_UDC_CMD_DISCONNECT:
                GPCR(CORGI_GPIO_USB_PULLUP) =
GPIO_bit(CORGI_GPIO_USB_PULLUP);
                break;
        }
}

static struct pxa2xx_udc_mach_info udc_info __initdata = {
        /* no connect GPIO; corgi can't tell connection status */
        .udc_command            = corgi_udc_command,
};

...for the spitz. Do you think I can just copy this one? ...eh, no,
will not fly, there's no SPITZ_GPIO_USB_PULLUP.

								Pavel
-- 
Thanks, Sharp!

  parent reply	other threads:[~2005-11-06 20:45 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 [this message]
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           ` 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=20051106204506.GH29901@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=dkrivoschokov@dev.rtsoft.ru \
    --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®