07 Jan, 2009
1 commit
-
Signed-off-by: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
07 Aug, 2008
1 commit
-
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King
15 May, 2008
1 commit
-
Various fixes to Atmel's high speed UDC driver.
* Issue some missing disconnect() calls. Currently they are only made
when VBUS power goes away (on boards where the driver can sense such
changes), but that's not enough for gadget drivers to clean out all
the state that's needed. Missing calls were:- After USB reset, before starting enumeration.
- When unregistering a gadget driver, before unbind().* Don't assume gadget drivers provide disconnect callbacks; make sure
to not call through a null pointer!* When the driver doesn't provide an unbind() callback, refuse to
unregister it.Also remove two bogus "error" messages:
* Related to mis-handling of disconnect() ... don't emit error messages
for disconnect() handlers that disable endpoints. All of them should
be doing that; the problem is (unfixed) oddness in atmel_usba_udc.* Don't emit a diagnostic for a curious and transient nonfatal error
that shows up sometimes with EP0.Those messages spammed syslog, for no good reason.
Signed-off-by: David Brownell
Acked-by: Haavard Skinnemoen
Signed-off-by: Greg Kroah-Hartman
20 Apr, 2008
1 commit
-
…en/usba-2.6.26 into base
11 Apr, 2008
1 commit
-
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable usb
peripheral drivers, to re-eable module auto loading.[dbrownell@users.sourceforge.net: registration fixes]
Signed-off-by: Kay Sievers
Signed-off-by: David Brownell
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
07 Apr, 2008
6 commits
-
This patch is part of the series adding support for the USB High
Speed Device Port on the AT91CAP9 system on chip. The AT91CAP9
uses the same UDPHS IP as the AVR32 and the AT91SAM9RL.The only differences between the AVR32 and the AT91 version of the
device are in the enable/disable and suspend/wakeup sequences: the
AT91 version needs to toggle the USB bias and pulldown explicitly.Signed-off-by: Stelian Pop
Acked-by: Andrew Victor
Acked-by: David Brownell
Signed-off-by: Haavard Skinnemoen -
Signed-off-by: Stelian Pop
Signed-off-by: Haavard Skinnemoen -
The atmel_usba_udc driver is being used by several platforms and arches
(avr32 and at91 ATM), and each platform may have different endpoint
settings.The patch below moves the endpoint declarations into the platform
data and make the necessary adjustments for AVR32 (improved by
Haavard Skinnemoen ).Signed-off-by: Stelian Pop
Acked-by: David Brownell
Signed-off-by: Haavard Skinnemoen -
GPIO_PIN_NONE should no longer be used. Replace it with a simple
test against negative values.This is a transitional patch, waiting for gpio_is_valid() to be
merged at which point the tests should be revisited.Signed-off-by: Stelian Pop
Acked-by: David Brownell
Signed-off-by: Haavard Skinnemoen -
The endpoints of the atmel_usba_udc driver do not have directional
(in/out) or usage (ctrl/bulk/iso) restrictions, as their names
incorrectly implied.Signed-off-by: Stelian Pop
Acked-by: David Brownell
Signed-off-by: Haavard Skinnemoen -
These functions do exactly the same as memcpy_toio() and
memcpy_fromio() respectively.Signed-off-by: Haavard Skinnemoen
Acked-by: David Brownell
02 Feb, 2008
1 commit
-
We now have pr_err(), pr_warning(), and friends ... start using
them in the gadget stack instead of printk(KERN_ERR) and friends.
This gives us shorter lines and somewhat increased readability.Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman
13 Oct, 2007
2 commits
-
Keep track of the device status (as returned by the GET_STATUS
request) and allow it to be manipulated by set_selfpowered() as
well as SET_FEATURE/CLEAR_FEATURE (for remote wakeup)Implement the wakeup() op, which refuses to do anything if the
DEVICE_REMOTE_WAKEUP feature wasn't set by the host. Now this
driver passes USBCV (at least, with gadget zero).Fix one more locking bug; lockdep is every developer's friend.
Signed-off-by: Haavard Skinnemoen
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
This is a driver for the Atmel USBA UDC which can be found integrated
on AT32AP700x AVR32 processors. For hardware documentation, please see
the AT32AP7000 data sheet:http://www.atmel.com/dyn/resources/prod_documents/doc32003.pdf
This is a dual speed controller (connects at high or full speed).
The driver supports up to 7 control, bulk, interrupt and isochronous
endpoints with some constraints. Bulk, interrupt and isochronous
transfers are driven by DMA.Signed-off-by: Haavard Skinnemoen
Signed-off-by: David Brownell
Signed-off-by: Greg Kroah-Hartman