Hi Greg, here are the DWC3 changes for v3.6 merge window. Also quite large pull request but all patches have been pending for quite a while. No merge conflicts expected with this pull request. The following changes since commit f8f5701bdaf9134b1f90e5044a82c66324d2073f: Linux 3.5-rc1 (2012-06-02 18:29:26 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/dwc3-for-v3.6 for you to fetch changes up to 6f17f74b3d8345663f5fcfd834145685110075bd: usb: dwc3: return error in case of run/stop timeout (2012-07-02 10:04:02 +0300) ---------------------------------------------------------------- usb: dwc3: patches for v3.6 merge window lots of changes for the dwc3 driver which will make the driver a lot more stable and some changes which are just cosmetic. The bulk of changes is related to mis-defined macros which were never used before, some fixes to error path which e.g. prevent the driver from initiating two transfer on ep0out in case of stall, some fixes to request dequeueing and the End Transfer Command. We have some changes to U1/U2 handling where we were enabling those transtions at the wrong spot (though we haven't seen a problem from that as of today). A few patches will make it easier to add support for newer releases of the core by adding definitions for new registers and changing the code to act accordingly when certain revisions are detected. There's also the usual comestic changes to make the driver easier to maintain and make it easier for new- comers to understand the driver. Also one patch fixing a double inclusion of a header. ---------------------------------------------------------------- Felipe Balbi (19): usb: dwc3: fix a WARN and a comment usb: dwc3: handle pending unaligned Control OUT data phase correctly usb: dwc3: ep0: switch over to IS_ALIGNED usb: dwc3: ep0: align on function signature usb: dwc3: ep0: fix a typo in comment usb: dwc3: gadget: remove trailing semicolon usb: dwc3: gadget: prevent DCTL register corruption usb: dwc3: gadget: disable U1/U2 on disconnect usb: dwc3: ep0: simplify error handling on dwc3_ep0_inspect_setup usb: dwc3: ep0: be careful with endianness on SetSEL command usb: dwc3: ep0: rename dwc3_ep0_complete_req to dwc3_ep0_complete_status usb: dwc3: gadget: drop useless code usb: dwc3: gadget: don't wait for ep cmd IRQ usb: dwc3: gadget: don't call stop_active_transfers() on disconnect usb: dwc3: gadget: ignore endpoint IRQs when endpoint is disabled usb: dwc3: gadget: split special cases of ep_queue() usb: dwc3: rename res_trans_idx to resource_index usb: dwc3: gadget: remove duplicated code from __dwc3_gadget_ep_set_halt usb: dwc3: ep0: prevent starting transfers twice on ep0 Gerard CAUVY (1): usb: dwc3: gadget: move AcceptU1Ena and AcceptU2Ena to Reset IRQ Paul Zimmerman (5): usb: dwc3: add definitions for new registers usb: dwc3: gadget: reinitialize retries usb: dwc3: gadget: rename phy_power() to phy_suspend() usb: dwc3: support new revisions of DWC3 core usb: dwc3: core: make sure evt->lpos is correctly initialized Pratyush Anand (16): USB: DWC3: Generate interrupt on each TRB as default option USB: DWC3: Correct DWC3_TRB_SIZE_TRBSTS definition USB: DWC3: Correct DWC3_DSTS_SOFFN_MASK definition usb: dwc3: Fix missed isoc IN transaction usb: dwc3: Fix break from cleanup request loop usb: dwc3: Correct DWC3_DCTL_HIRD_THRES definition usb: dwc3: resume phy during gadget initialization on recent cores usb: dwc3: giveback all queued request when ep disabled or reset received USB: DWC3: Put 100 ms delay for phy to be stable USB: DWC3: Issue device soft reset before core soft reset usb: dwc3: remove WARN_ON from dwc_stop_active_transfer usb: dwc3: correct set_halt implementation for ep0 usb: dwc3: keep default hird threshold value as 4b1100 usb: dwc3: no need to clear INIT{U1,U2}ENA bits usb: dwc3: enable ACCEPT{U1,U2}ENA when SetConfiguration received usb: dwc3: return error in case of run/stop timeout Sachin Kamat (1): usb: dwc3: Remove duplicate header file inclusion drivers/usb/dwc3/core.c | 13 +- drivers/usb/dwc3/core.h | 107 +++++++++--- drivers/usb/dwc3/dwc3-exynos.c | 1 - drivers/usb/dwc3/ep0.c | 146 +++++++++++------ drivers/usb/dwc3/gadget.c | 363 ++++++++++++++++++++++++----------------- drivers/usb/dwc3/gadget.h | 6 + 6 files changed, 407 insertions(+), 229 deletions(-) -- balbi
Attachment:
signature.asc
Description: Digital signature