summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/controller/dwc_otgreg.h
Commit message (Collapse)AuthorAgeFilesLines
* MFC r283067, r286118, r285638, r285935, r286778, r286780 and r286802:hselasky2015-08-291-0/+2
| | | | | | | | | | | | - Make the FIFO configuration a bit more flexible for the DWC OTG in device side mode. - Limit the number of times we loop inside the DWC OTG poll handler to avoid starving other fast interrupts. Fix a comment while at it. - Optimise the DWC OTG host mode driver's transmit path - Optimise the DWC OTG host mode driver's receive path - Minor code refactor to avoid duplicating code. - Handle NYET high speed tokens and predict NAK'ing is up next. - Fixes for HIGH speed ISOCHRONOUS traffic.
* MFC r279210:hselasky2015-03-051-0/+8
| | | | | | Add support for the DWC OTG v2 chipset found in the STM32F4 series of processors. Make sure we pullup the data lines in device mode when we power on the port.
* MFC r265358, r265427, r265777, r265783,hselasky2014-05-231-0/+13
| | | | | | | | | | r265806, r265872, r266012 and r266394: - Multiple DWC OTG host mode related fixes, improvements and optimisations. - Add full support for ISOCHRONOUS transfers to the DWC OTG driver. - Use the interrupt filter to handle basic USB FIFO interrupts. - Fixed unbalanced unlock in case of "dwc_otg_init_fifo()" failure. - Add common spinlock to the USB bus structure.
* Fix LOW and FULL speed USB INTERRUPT endpoint support for thehselasky2012-11-091-1/+1
| | | | | | | | | DWC OTG driver. Fix a hang issue when using LOW and FULL speed BULK traffic. Make sure we don't ask for data in the last microframe. This allows using devices like USB mice and USB keyboards connected to the RPI-B. Suggested by: gonzo @
* Make sure we record NAK tokens in the TD structure for IN direction.hselasky2012-09-271-1/+0
| | | | | Improve host channel disabling. Wait two times 125us for channel to be disabled. The DWC OTG doesn't like when channels are re-used too early.
* DWC OTG host mode improvements. Add support for the 3-strikes and you arehselasky2012-09-231-1/+6
| | | | | | | | | | gone rule. Optimise use of channels so that when a channel is not ready another channel is used. Instead of using the SOF interrupt use the system timer to drive the host statemachine. This might give lower throughput and higher latency, but reduces the CPU usage significantly. The DWC OTG host mode support should not be considered for serious USB host controller applications. Some problems are still seen with LOW speed USB devices.
* DWC OTG improvements. Implement full support for SPLIT transactions, in otherhselasky2012-09-141-0/+2
| | | | | words FULL/LOW speed devices through HIGH speed HUBs. Improve support for suspend and resume in host mode.
* Add support for host mode to the DWC OTG controller driver.hselasky2012-09-091-4/+2
| | | | | | | The DWC OTG host mode support should still be considered experimental. Isochronous support for DWC OTG is not fully implemented. Some code added derives from Aleksandr Rybalko's dotg.c driver.
* Add more DWC OTG register definitions.hselasky2012-09-031-3/+21
| | | | Submitted by: Nick Hudson
* Preparations for adding USB HOST mode to the DWC OTG driver.hselasky2012-08-301-0/+757
Merge register file with external one and put all register definitions in a separate file. Submitted by: ray @
OpenPOWER on IntegriCloud