Hi Greg, Here's my pull request for v4.9 merge window. Patches have been tested with plataforms I have around (where applicable) and have also been soaking in linux-next for a while. Let me know if you want anything to be changed. The following changes since commit fa8410b355251fd30341662a40ac6b22d3e38468: Linux 4.8-rc3 (2016-08-21 16:14:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.9 for you to fetch changes up to e6be244a83211f3a9daaf5e29ee97fe0bf1efe5a: usb: gadget: uvc: add V4L2 dependency (2016-09-13 09:29:08 +0300) ---------------------------------------------------------------- usb: patches for v4.9 merge window This time around we have 92 non-merge commits. Most of the changes are in drivers/usb/gadget (40.3%) with drivers/usb/gadget/function being the most active directory (27.2%). As for UDC drivers, only dwc3 (26.5%) and dwc2 (12.7%) have really been active. The most important changes for dwc3 are better support for scatterlist and, again, throughput improvements. While on dwc2 got some minor stability fixes related to soft reset and FIFO usage. Felipe Tonello has done some good work fixing up our f_midi gadget and Tal Shorer has implemented a nice API change for our ULPI bus. Apart from these, we have our usual set of non-critical fixes, spelling fixes, build warning fixes, etc. ---------------------------------------------------------------- Alexey Khoroshilov (1): usb: gadget: goku_udc: fix memory leak in goku_probe() Anurag Kumar Vulisha (1): usb: dwc3: of-simple: Fix warning during unbind Arnd Bergmann (2): usb: dwc3: avoid -Wmaybe-uninitialized warning usb: gadget: uvc: add V4L2 dependency Baolin Wang (1): usb: dwc3: core: Move the mode setting to the right place Bhaktipriya Shridhar (1): usb: dwc2: Remove deprecated create_singlethread_workqueue Brian Norris (1): Documentation: dt: dwc3: note the supported phy-names Colin Ian King (4): usb: gadget: remove redundant self assignment usb: phy: ab8500-usb: fix spelling mistake "regester" -> "register" usb: gadget: net2280: fix typo: "Inavlid" -> "Invalid" usb: gadget: remove variable ret and remove unnecessary if statement Felipe Balbi (15): usb: dwc3: gadget: retire LST bit completely usb: dwc3: gadget: increment dequeue pointer on completion usb: dwc3: gadget: simplify dwc3_ep_prev_trb() usb: dwc3: gadget: simplify __dwc3_gadget_ep_queue() usb: dwc3: gadget: avoid while (1) loop on completion usb: dwc3: gadget: add sg and num_pending_sgs to dwc3_request usb: dwc3: gadget: interrupt on ring full too usb: dwc3: gadget: add remaining sg entries to ring usb: dwc3: gadget: remove condition that never happens usb: dwc3: gadget: improve increment request->actual usb: dwc3: gadget: abolish trbs_left usb: dwc3: gadget: stop kicking if we run out of space usb: gadget: don't couple configfs to legacy gadgets usb: dwc3: of-simple: allow glues without clocks usb: dwc3: of-simple: add compatible for Cavium Felipe F. Tonello (10): usb: gadget: fix usb_ep_align_maybe endianness and new usb_ep_align usb: gadget: change len to size_t on alloc_ep_req() usb: gadget: align buffer size when allocating for OUT endpoint usb: gadget: f_midi: remove alignment code for OUT endpoint usb: gadget: f_midi: defaults buflen sizes to 512 usb: gadget: f_midi: refactor state machine usb: gadget: f_midi: drop substreams when disabling endpoint usb: gadget: remove useless parameter in alloc_ep_req() usb: gadget: f_hid: use free_ep_req() usb: gadget: f_hid: use alloc_ep_req() Felix Hädicke (3): usb: gadget: f_fs: handle control requests not directed to interface or endpoint usb: gadget: composite: let USB functions process ctrl reqs in cfg0 usb: gadget: f_fs: handle control requests in config 0 Harish Jenny K N (2): usb: gadget: u_ether: fix another dereference after null check usb: gadget: NCM: Protect dev->port_usb using dev->lock Jaret Cantu (1): usb: phy: mxs: Add DT bindings to configure TX settings Jim Baxter (1): usb: gadget: f_fs: Stop ffs_closed NULL pointer dereference Johannes Berg (1): usb: gadget: f_hid: add dev to configfs John Youn (6): usb: dwc3: Add revision numbers for the USB 3.0 IP usb: dwc3: Add ENDXFER command polling Documentation: devicetree: dwc2: Deprecate g-tx-fifo-size usb: dwc2: gadget: Only initialize device if in device mode usb: dwc2: Add delay to core soft reset usb: dwc2: Properly account for the force mode delays Jussi Kivilinna (3): usb: gadget: f_ncm: add SuperSpeed descriptors for CDC NCM usb: gadget: net2280: fix infinite loop in irq handler usb: gadget: net2280: match interrupt endpoints to PIO endpoints and DMA to bulk Lu Baolu (1): usb: dwc3: fix Clear Stall EP command failure Petr Cvek (1): usb: gadget: uvc: Add missing call for additional setup data Philipp Gesang (1): usb: gadget: Add per-lun inquiry string Robert Baldyga (5): usb: dwc2: gadget: use ep->fifo_index in context of FIFO registers usb: dwc2: gadget: fix TX FIFO size and address initialization usb: dwc2: gadget: change variable name to more meaningful usb: dwc2: gadget: remove dead code from dwc2_hsotg_ep_enable() usb: dwc2: gadget: free TX FIFO after killing requests Robert Jarzmik (3): usb: gadget: pxa27x: add phy notifier event handler usb: phy: generic: cope with initial state usb: phy: generic: remove the vbus dependency Romain Izard (2): usb: gadget: configfs: log function unbinding as information usb: gadget: configfs: log function unbinding as debug Tal Shorer (8): usb: ulpi: move setting of ulpi->dev parent up in ulpi_register() usb: ulpi: add new api functions, {read|write}_dev() usb: dwc3: ulpi: use new api usb: ulpi: remove calls to old api callbacks usb: ulpi: rename operations {read|write}_dev to simply {read|write} usb: ulpi: remove "dev" field from struct ulpi_ops usb: ulpi: make ops struct constant usb: dwc3: ulpi: make dwc3_ulpi_ops constant Thinh Nguyen (1): usb: dwc3: Fix dr_mode validation William Wu (5): usb: dwc3: add dis_u2_freeclk_exists_quirk usb: dwc3: make usb2 phy utmi interface configurable usb: dwc3: add dis_del_phy_power_chg_quirk usb: dwc3: rockchip: add devicetree bindings documentation usb: dwc3: of-simple: add compatible for rockchip rk3399 Wolfram Sang (7): usb: dwc2: gadget: don't print on ENOMEM usb: gadget: udc: fsl_qe_udc: don't print on ENOMEM usb: gadget: udc: goku_udc: don't print on ENOMEM usb: gadget: udc: udc-xilinx: don't print on ENOMEM usb: renesas_usbhs: mod_gadget: don't print on ENOMEM usb: renesas_usbhs: mod_host: don't print on ENOMEM usb: renesas_usbhs: pipe: don't print on ENOMEM Yoshihiro Shimoda (5): usb: renesas_usbhs: add a compatible string for r8a7796 usb: gadget: add a new quirk to avoid skb_reserve in u_ether.c usb: gadget: u_ether: add a flag to avoid skb_reserve() calling usb: gadget: f_ncm: add support for no_skb_reserve usb: renesas_usbhs: set quirk_avoids_skb_reserve if USB-DMAC is used .../devicetree/bindings/phy/mxs-usb-phy.txt | 10 + Documentation/devicetree/bindings/usb/dwc2.txt | 5 +- .../devicetree/bindings/usb/dwc3-cavium.txt | 28 +++ Documentation/devicetree/bindings/usb/dwc3.txt | 8 +- Documentation/devicetree/bindings/usb/generic.txt | 6 + .../devicetree/bindings/usb/renesas_usbhs.txt | 1 + .../devicetree/bindings/usb/rockchip,dwc3.txt | 59 +++++ drivers/usb/common/ulpi.c | 11 +- drivers/usb/dwc2/core.c | 126 ++++++++-- drivers/usb/dwc2/core.h | 8 +- drivers/usb/dwc2/gadget.c | 94 ++----- drivers/usb/dwc2/hcd.c | 2 +- drivers/usb/dwc2/hw.h | 1 + drivers/usb/dwc3/core.c | 122 +++++++-- drivers/usb/dwc3/core.h | 35 ++- drivers/usb/dwc3/dwc3-of-simple.c | 48 ++-- drivers/usb/dwc3/gadget.c | 278 ++++++++------------- drivers/usb/dwc3/ulpi.c | 10 +- drivers/usb/gadget/Kconfig | 39 +-- drivers/usb/gadget/composite.c | 16 +- drivers/usb/gadget/configfs.c | 5 +- drivers/usb/gadget/function/f_fs.c | 45 +++- drivers/usb/gadget/function/f_hid.c | 28 ++- drivers/usb/gadget/function/f_loopback.c | 14 +- drivers/usb/gadget/function/f_mass_storage.c | 28 ++- drivers/usb/gadget/function/f_mass_storage.h | 1 + drivers/usb/gadget/function/f_midi.c | 234 ++++++++++------- drivers/usb/gadget/function/f_ncm.c | 84 ++++++- drivers/usb/gadget/function/f_printer.c | 6 +- drivers/usb/gadget/function/f_sourcesink.c | 6 +- drivers/usb/gadget/function/f_uvc.c | 7 + drivers/usb/gadget/function/storage_common.c | 24 ++ drivers/usb/gadget/function/storage_common.h | 10 + drivers/usb/gadget/function/u_ether.c | 15 +- drivers/usb/gadget/function/u_ether.h | 1 + drivers/usb/gadget/legacy/gmidi.c | 2 +- drivers/usb/gadget/u_f.c | 6 +- drivers/usb/gadget/u_f.h | 17 +- drivers/usb/gadget/udc/core.c | 4 +- drivers/usb/gadget/udc/fsl_qe_udc.c | 16 +- drivers/usb/gadget/udc/goku_udc.c | 5 +- drivers/usb/gadget/udc/net2280.c | 80 +++++- drivers/usb/gadget/udc/pxa27x_udc.c | 51 +++- drivers/usb/gadget/udc/udc-xilinx.c | 4 +- drivers/usb/phy/phy-ab8500-usb.c | 8 +- drivers/usb/phy/phy-generic.c | 9 +- drivers/usb/phy/phy-mxs-usb.c | 61 +++++ drivers/usb/renesas_usbhs/common.c | 4 + drivers/usb/renesas_usbhs/mod_gadget.c | 8 +- drivers/usb/renesas_usbhs/mod_host.c | 10 +- drivers/usb/renesas_usbhs/pipe.c | 4 +- include/linux/ulpi/driver.h | 2 +- include/linux/ulpi/interface.h | 9 +- include/linux/usb/composite.h | 3 +- include/linux/usb/gadget.h | 30 ++- include/uapi/linux/usb/functionfs.h | 2 + 56 files changed, 1211 insertions(+), 539 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/dwc3-cavium.txt create mode 100644 Documentation/devicetree/bindings/usb/rockchip,dwc3.txt -- balbi
Attachment:
signature.asc
Description: PGP signature