Move all SAMA5 EHCI interrupt handling to the worker thread

This commit is contained in:
Gregory Nutt
2013-08-21 11:07:42 -06:00
parent bc57cd5684
commit 3d59f1f61c
+27 -1
View File
@@ -1166,7 +1166,7 @@ Configurations
volume when it is removed. But those callbacks are not used in volume when it is removed. But those callbacks are not used in
this configuration. this configuration.
10) Support the USB full-speed OHCI host driver can be enabled by change 10) Support the USB full-speed OHCI host driver can be enabled by changing
the NuttX configuration file as follows: the NuttX configuration file as follows:
System Type -> ATSAMA5 Peripheral Support System Type -> ATSAMA5 Peripheral Support
@@ -1193,6 +1193,28 @@ Configurations
multiple of the 48MHz needed for OHCI. The delay loop calibration multiple of the 48MHz needed for OHCI. The delay loop calibration
values that are used will be off slightly because of this. values that are used will be off slightly because of this.
10) Support the USB high-speed EHCI host driver can be enabled by changing
the NuttX configuration file as follows:
System Type -> ATSAMA5 Peripheral Support
CONFIG_SAMA5_UHPHS=y : USB Host High Speed
System Type -> USB High Speed Host driver options
CONFIG_SAMA5_EHCI=y : High-speed EHCI support
: Defaults for values probably OK
Device Drivers
CONFIG_USBHOST=y : Enable USB host support
Device Drivers -> USB Host Driver Support
CONFIG_USBHOST_ISOC_DISABLE=y : Isochronous endpoints not used
CONFIG_USBHOST_MSC=y : Enable the mass storage class driver
Library Routines
CONFIG_SCHED_WORKQUEUE : Worker thread support is required
Application Configuration -> NSH Library
CONFIG_NSH_ARCHINIT=y : NSH board-initialization
STATUS: STATUS:
2013-7-19: This configuration (as do the others) run at 396MHz. 2013-7-19: This configuration (as do the others) run at 396MHz.
The SAMA5D3 can run at 536MHz. I still need to figure out the The SAMA5D3 can run at 536MHz. I still need to figure out the
@@ -1255,6 +1277,10 @@ Configurations
d) OHCI will support 3 downstream points, but I currently have only d) OHCI will support 3 downstream points, but I currently have only
one enabled. one enabled.
2013-8-20: Added description to add EHCI to the configuration. At
present, however, EHCI is still a work in progress and not ready for
prime time.
ostest: ostest:
This configuration directory, performs a simple OS test using This configuration directory, performs a simple OS test using
examples/ostest. examples/ostest.