]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
USB: pxa2xx_udc understands GPIO based VBUS sensing
authorDavid Brownell <david-b@pacbell.net>
Thu, 29 Jun 2006 19:25:39 +0000 (12:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:48 +0000 (11:58 -0700)
commitb2bbb20b37d734443d1c279d0033a64f6095db54
tree067510f143dcb0e4f938f932994e5ac34f5da6b9
parent3a16f7b4a75d68364c3278523f51ac141a12758a
USB: pxa2xx_udc understands GPIO based VBUS sensing

This updates the PXA 25x UDC board-independent infrastructure for VBUS sensing
and the D+ pullup.  The original code evolved from rather bizarre support on
Intel's "Lubbock" reference hardware, so that on more sensible hardware it
doesn't work as well as it could/should.

The change is just to teach the UDC driver how to use built-in PXA GPIO pins
directly.  This reduces the amount of board-specfic object code needed, and
enables the use of a VBUS sensing IRQ on boards (like Gumstix) that have one.
With VBUS sensing, the UDC is unclocked until a host is actually connected.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/arm/mach-pxa/corgi.c
drivers/usb/gadget/pxa2xx_udc.c
drivers/usb/gadget/pxa2xx_udc.h
include/asm-arm/arch-pxa/udc.h