Hi Greg, here's the gadget pull request for v4.6. This time I had to based it on top of your greg/usb-next to avoid duplicated commits for the USB 3.1 work which some dwc3 changes depended on. Another benefit of the rebase is that I don't have a merge commit of v4.5-rc6 anymore :-) Let me know if you want anything to be changed cheers The following changes since commit 7b05d3b37437f8d50a75545a0fd56ee585c58821: Merge tag 'usb-ci-v4.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-next (2016-03-01 16:33:53 -0800) are available in the git repository at: http://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.6 for you to fetch changes up to 0561f77e2db9e72dc32e4f82b56fca8ba6b31171: usb: gadget: f_acm: Fix configfs attr name (2016-03-04 15:14:50 +0200) ---------------------------------------------------------------- usb changes for v4.6 merge window This is almost all under drivers/usb/dwc2/. Many changes to the host side implementation of dwc2 have been done by Douglas Anderson. We also have USB 3.1 support added to the Gadget Framework and, because of that work, dwc3 got support to Synopsys new DWC_usb31 IP core. Other than these 2 important series, we also have the usual collection of non-critical fixes, Documentation updates, and minor changes all over the place. ---------------------------------------------------------------- Alexey Khoroshilov (1): usb: gadget: bdc_udc: fix race condition in bdc_udc_exit() Amitoj Kaur Chawla (1): usb: dwc2: Use kmem_cache_free() Antti Seppälä (1): usb: dwc2: Add support for Lantiq ARX and XRX SoCs Arnd Bergmann (8): usb: gadget: pxa25x_udc: move register definitions from arch usb: gadget: pxa25x_udc cleanup usb: gadget: pxa25x_udc: use readl/writel for mmio usb: fsl: drop USB_FSL_MPH_DR_OF Kconfig symbol usb: isp1301-omap: mark power_up as __maybe_unused usb: musb: use %pad format string from dma_addr_t usb: musb/ux500: remove duplicate check for dma_is_compatible usb: gadget: pxa25x_udc: document endianess better Bjorn Helgaas (1): usb: phy: phy-am335x: remove include of regulator/consumer.h Dan Carpenter (1): usb: gadget: f_midi: missing unlock on error path Douglas Anderson (21): usb: dwc2: rockchip: Make the max_transfer_size automatic usb: dwc2: host: Get aligned DMA in a more supported way usb: dwc2: host: Set host_rx_fifo_size to 525 for rk3066 usb: dwc2: host: Avoid use of chan->qh after qh freed usb: dwc2: host: Always add to the tail of queues usb: dwc2: host: fix split transfer schedule sequence usb: dwc2: host: Add scheduler tracing usb: dwc2: host: Add a delay before releasing periodic bandwidth usb: dwc2: host: Giveback URB in tasklet context usb: dwc2: host: Properly set the HFIR usb: dwc2: host: There's not really a TT for the root hub usb: dwc2: host: Use periodic interrupt even with DMA usb: dwc2: host: Rename some fields in struct dwc2_qh usb: dwc2: host: Reorder things in hcd_queue.c usb: dwc2: host: Split code out to make dwc2_do_reserve() usb: dwc2: host: Add scheduler logging for missed SOFs usb: dwc2: host: Manage frame nums better in scheduler usb: dwc2: host: Add dwc2_hcd_get_future_frame_number() call usb: dwc2: host: Properly set even/odd frame usb: dwc2: host: Totally redo the microframe scheduler usb: dwc2: host: If using uframe scheduler, end splits better Du, Changbin (1): usb: f_fs: avoid race condition with ffs_epfile_io_complete Emilio López (1): usb: musb: sunxi: support module autoloading Felipe F. Tonello (1): usb: gadget: f_midi: remove useless midi reference from port struct John Youn (22): usb: ch9: Add size macro for SSP dev cap descriptor usb: gadget: Add gadget_is_superspeed_plus() usb: gadget: composite: Return bcdUSB 0x0310 usb: gadget: composite: Return SSP Dev Cap descriptor usb: gadget: Update usb_assign_descriptors for SuperSpeedPlus usb: gadget: Update function for SuperSpeedPlus usb: gadget: Update config for SuperSpeedPlus usb: gadget: composite: Count configs for SuperSpeedPlus usb: gadget: composite: Add function to get descriptors usb: gadget: composite: Write SuperSpeedPlus config descriptors usb: gadget: composite: Configure the usb_ep for SuperSpeedPlus usb: gadget: composite: Update debug message for SuperSpeedPlus usb: gadget: f_mass_storage: Enable SuperSpeedPlus usb: dwc3: DWC_usb31 controller check usb: dwc3: Update register fields for SuperSpeedPlus usb: dwc3: Update speed checks for SuperSpeedPlus usb: dwc3: Update maximum_speed for SuperSpeedPlus usb: dwc3: Enable SuperSpeedPlus usb: dwc3: Validate the maximum_speed parameter usb: dwc2: Move register save and restore functions usb: dwc2: Move host-specific core functions into hcd.c usb: dwc2: Fix issues in dwc2_complete_non_isoc_xfer_ddma() Krzysztof Opasiak (1): usb: gadget: f_acm: Fix configfs attr name Li Jun (10): usb: gadget: add hnp_polling_support and host_request_flag in usb_gadget usb: add OTG status selector definition for HNP polling usb: common: otg-fsm: add HNP polling support usb: chipidea: udc: bypass otg status selector handling to gadget driver usb: gadget: composite: handle otg status selector request from OTG host usb: chipidea: otg: set host_request_flag for gadget usb: chipidea: otg: enable HNP polling support for gadget and host Documentation: usb: chipidea: Update test procedure for HNP polling usb: otg-fsm: add B_AIDL_BDIS timer usb: chipidea: otg: add A idle to B disconnect timer Maarten ter Huurne (1): usb: phy: generic: Handle late registration of gadget Marek Szyprowski (1): usb: gadget: provide interface for legacy gadgets to get UDC name Michal Nazarewicz (8): usb: f_fs: fix memory leak when ep changes during transfer usb: f_fs: fix ffs_epfile_io returning success on req alloc failure usb: f_fs: replace unnecessary goto with a return usb: f_fs: refactor ffs_epfile_io usb: gadget: f_midi: move some of f_midi_transmit to separate func usb: gadget: f_midi: fix in_last_port looping logic usb: gadget: f_midi: use flexible array member for gmidi_in_port elements usb: gadget: f_midi: stash substream in gmidi_in_port structure Petr Kulhavy (1): usb: musb: core: added missing const qualifier to musb_hdrc_platform_data::config Simon Horman (1): usb: gadget: renesas_usb3: Use ARCH_RENESAS Vladimir Zapolskiy (3): usb: udc: lpc32xx: switch to clock prepare/unprepare model usb: udc: lpc32xx: remove direct access to clock controller registers usb: udc: lpc32xx: remove USB PLL and USB OTG clock management Yoshihiro Shimoda (3): usb: renesas_usbhs: add R-Car Gen3 power control usb: renesas_usbhs: Don't check CSSTS bit if peripheral mode usb: renesas_usbhs: gadget: fix giveback status code in usbhsg_pipe_disable() Documentation/devicetree/bindings/usb/dwc2.txt | 2 + Documentation/usb/chipidea.txt | 9 +- arch/arm/mach-ixp4xx/include/mach/ixp4xx-regs.h | 198 -- arch/arm/mach-pxa/include/mach/pxa25x-udc.h | 163 -- drivers/usb/Makefile | 2 +- drivers/usb/chipidea/otg_fsm.c | 29 +- drivers/usb/chipidea/otg_fsm.h | 2 + drivers/usb/chipidea/udc.c | 3 +- drivers/usb/common/usb-otg-fsm.c | 87 + drivers/usb/dwc2/core.c | 2242 ++-------------------- drivers/usb/dwc2/core.h | 151 +- drivers/usb/dwc2/gadget.c | 102 + drivers/usb/dwc2/hcd.c | 2255 +++++++++++++++++++++-- drivers/usb/dwc2/hcd.h | 134 +- drivers/usb/dwc2/hcd_ddma.c | 49 +- drivers/usb/dwc2/hcd_intr.c | 174 +- drivers/usb/dwc2/hcd_queue.c | 1969 ++++++++++++++++---- drivers/usb/dwc2/platform.c | 38 +- drivers/usb/dwc3/core.c | 31 +- drivers/usb/dwc3/core.h | 11 +- drivers/usb/dwc3/ep0.c | 9 +- drivers/usb/dwc3/gadget.c | 30 +- drivers/usb/gadget/composite.c | 150 +- drivers/usb/gadget/config.c | 9 +- drivers/usb/gadget/configfs.c | 1 + drivers/usb/gadget/function/f_acm.c | 6 +- drivers/usb/gadget/function/f_ecm.c | 2 +- drivers/usb/gadget/function/f_eem.c | 2 +- drivers/usb/gadget/function/f_fs.c | 155 +- drivers/usb/gadget/function/f_hid.c | 2 +- drivers/usb/gadget/function/f_loopback.c | 2 +- drivers/usb/gadget/function/f_mass_storage.c | 2 +- drivers/usb/gadget/function/f_midi.c | 200 +- drivers/usb/gadget/function/f_ncm.c | 2 +- drivers/usb/gadget/function/f_obex.c | 3 +- drivers/usb/gadget/function/f_phonet.c | 2 +- drivers/usb/gadget/function/f_printer.c | 2 +- drivers/usb/gadget/function/f_rndis.c | 2 +- drivers/usb/gadget/function/f_serial.c | 2 +- drivers/usb/gadget/function/f_sourcesink.c | 2 +- drivers/usb/gadget/function/f_subset.c | 2 +- drivers/usb/gadget/function/f_tcm.c | 2 +- drivers/usb/gadget/function/f_uac1.c | 3 +- drivers/usb/gadget/function/f_uac2.c | 3 +- drivers/usb/gadget/legacy/inode.c | 28 +- drivers/usb/gadget/udc/Kconfig | 3 +- drivers/usb/gadget/udc/bdc/bdc_udc.c | 5 + drivers/usb/gadget/udc/lpc32xx_udc.c | 103 +- drivers/usb/gadget/udc/pxa25x_udc.c | 530 ++++-- drivers/usb/gadget/udc/pxa25x_udc.h | 11 +- drivers/usb/gadget/udc/udc-core.c | 30 + drivers/usb/host/Kconfig | 4 - drivers/usb/host/Makefile | 3 +- drivers/usb/musb/musb_core.c | 2 +- drivers/usb/musb/musb_core.h | 2 +- drivers/usb/musb/musbhsdma.c | 8 +- drivers/usb/musb/sunxi.c | 1 + drivers/usb/musb/tusb6010_omap.c | 4 +- drivers/usb/musb/ux500_dma.c | 3 - drivers/usb/phy/phy-am335x.c | 1 - drivers/usb/phy/phy-generic.c | 11 +- drivers/usb/phy/phy-isp1301-omap.c | 2 +- drivers/usb/renesas_usbhs/Makefile | 2 +- drivers/usb/renesas_usbhs/common.c | 14 +- drivers/usb/renesas_usbhs/mod_gadget.c | 2 +- drivers/usb/renesas_usbhs/pipe.c | 6 +- drivers/usb/renesas_usbhs/rcar3.c | 54 + drivers/usb/renesas_usbhs/rcar3.h | 3 + include/linux/usb/composite.h | 6 + include/linux/usb/gadget.h | 20 +- include/linux/usb/musb.h | 2 +- include/linux/usb/otg-fsm.h | 15 + include/linux/usb/renesas_usbhs.h | 1 + include/uapi/linux/usb/ch9.h | 7 + 74 files changed, 5457 insertions(+), 3672 deletions(-) create mode 100644 drivers/usb/renesas_usbhs/rcar3.c create mode 100644 drivers/usb/renesas_usbhs/rcar3.h -- balbi
Attachment:
signature.asc
Description: PGP signature