Hi Greg, Here's a large set of patches for v3.13 merge window. All patches have been pending in linux-usb for quite a while and soaked in linux-next for a bit too. Please consider merging on top of your usb-next branch or let me know which changes you may want. cheers The following changes since commit 15c03dd4859ab16f9212238f29dd315654aa94f6: Linux 3.12-rc3 (2013-09-29 15:02:38 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v3.13 for you to fetch changes up to 80d7d8a768cda6e8a08ab805a977d08741011da1: usb: phy: twl6030-usb: Include linux/of.h header (2013-10-17 11:33:20 -0500) ---------------------------------------------------------------- usb: patches for v3.13 Final conversions to configfs for mass storage, acm_ms, and multi gadgets. MUSB should now work out of the box on AM335x-based boards (beagle bone white and black) with DMA thanks to Sebastian's work. We can now enable VERBOSE_DEBUG on builds of drivers/usb/gadget/ by selecting CONFIG_USB_GADGET_VERBOSE. s3c-hsotg got quite a few non-critical fixes but also learned a few new tricks (isochronous transfers, multi count support). The Marvel USB3 Controller driver got a memory leak fix. devm_usb_get_phy() learned not to return NULL, ever. Other than these patches, we have the usual set of cleanups ranging from removal of unnecessary *_set_drvdata() to using SIMPLE_DEV_PM_OPS. Signed-of-by: Felipe Balbi <balbi@xxxxxx> ---------------------------------------------------------------- Andreas Larsson (1): usb: gadget: Make VERBOSE_DEBUG enableable via Kconfig Andrzej Pietrasiewicz (28): usb: gadget: configfs: add a method to unregister the gadget usb: gadget: create a utility module for mass_storage usb: gadget: f_mass_storage: factor out a header file usb: gadget: f_mass_storage: add a level of indirection for luns storage usb: gadget: f_mass_storage: use usb_gstrings_attach usb: gadget: f_mass_storage: create _fsg_common_free_buffers usb: gadget: f_mass_storage: make sysfs interface optional usb: gadget: f_mass_storage: create fsg_common_setup for use in fsg_common_init usb: gadget: f_mass_storage: create fsg_common_set_num_buffers for use in fsg_common_init usb: gadget: f_mass_storage: create lun handling helpers for use in fsg_common_init usb: gadget: f_mass_storage: create fsg_common_set_cdev for use in fsg_common_init usb: gadget: f_mass_storage: create lun creation helpers for use in fsg_common_init usb: gadget: f_mass_storage: create fsg_common_set_inquiry_string for use in fsg_common_init usb: gadget: f_mass_storage: create fsg_common_run_thread for use in fsg_common_init usb: gadget: f_mass_storage: convert to new function interface with backward compatibility usb: gadget: mass_storage: convert to new interface of f_mass_storage usb: gadget: storage_common: make attribute operations more generic usb: gadget: storage_common: add methods to show/store 'cdrom' and 'removable' usb: gadget: f_mass_storage: add configfs support usb: gadget: acm_ms: convert to new interface of f_mass_storage usb: gadget: multi: convert to new interface of f_ecm usb: gadget: multi: convert to new interface of f_rndis usb: gadget: multi: convert to new interface of f_mass_storage usb: gadget: f_mass_storage: remove compatibility layer usb: gadget: mass_storage: merge usb_f_mass_storage module with u_ms module usb: gadget: storage_common: use strtobool instead of kstrtouint usb: gadget: storage_common: pass filesem to fsg_store_cdrom usb: gadget: f_mass_storage: style corrections, cleanup & simplification Anton Tikhomirov (9): usb: phy: Pass OTG FSM pointer to callback functions usb: phy: Check OTG FSM callback existance in helper functions usb: phy: Add and use missed helper functions usb: phy: Fix OTG FSM timer handling usb: phy: Add and use missed OTG FSM timers usb: phy: Rename OTG FSM informative variables usb: phy: Rename "B-device session end SRP" OTG FSM input usb: phy: Add and use missed OTG FSM inputs/outputs usb: phy: Reordering of OTG FSM variables Daniel Mack (3): usb: musb: am35x: use SIMPLE_DEV_PM_OPS usb: musb: blackfin: use SIMPLE_DEV_PM_OPS usb: musb: ux500: use SIMPLE_DEV_PM_OPS David Cohen (1): usb: g_ffs: fix compilation warning Duan Jiong (1): usb: gadget: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) Fabio Estevam (1): usb: gadget: udc-core: Do not report -EISNAM error from gadgetfs Felipe Balbi (1): usb: dwc3: core: use pm_runtime_put_sync() on remove Gabor Juhos (1): usb: phy: don't return with NULL from devm_usb_get_phy() Huang Rui (1): usb: usbtest: bmAttributes would better be masked Jingoo Han (4): usb: gadget: amd5536udc: remove unnecessary pci_set_drvdata() usb: gadget: goku_udc: remove unnecessary pci_set_drvdata() usb: gadget: pch_udc: remove unnecessary pci_set_drvdata() usb: gadget: net2280: remove unnecessary pci_set_drvdata() Linus Walleij (1): usb: musb: name ux500 platforms more broadly Mark Brown (1): usb: phy: nop: Defer clock prepare until PHY init Michael Opdenacker (1): usb: gadget: mv_u3d_core: remove deprecated IRQF_DISABLED Pali Rohár (2): usb: musb: Add missing ATOMIC_INIT_NOTIFIER_HEAD usb: musb: Call atomic_notifier_call_chain when status is changed Pavel Machek (1): usb: gadget: s3c-hsotg: fix CodingStyle issues Peter Chen (1): usb: gadget: zero: Add flexible auto remote wakeup test method Robert Baldyga (13): usb: gadget: s3c-hsotg: fix maxpacket size usb: gadget: s3c-hsotg: fix set_ep_maxpacket function usb: gadget: s3c-hsotg: add isochronous transfers support usb: gadget: s3c-hsotg: add multi count support usb: gadget: s3c-hsotg: remove unused label usb: gadget: s3c-hsotg: fix "protocol stall" handling usb: gadget: s3c-hsotg: fix s3c_hsotg_write_fifo function for dedicated fifo mode usb: gadget: s3c-hsotg: fix endpoint interrupts handling usb: gadget: s3c-hsotg: add DAINT masking usb: gadget: s3c-hsotg: fix "halted" property updating usb: gadget: s3c-hsotg: fix clear feature ENDPOINT_HALT usb: gadget: s3c-hsotg: fix interrupt configuration in dedicated-fifo mode usb: gadget: s3c-hsotg: fix can_write limit for non-periodic endpoints Roger Quadros (4): usb: phy: generic: Add gpio_reset to platform data usb: phy: generic: Don't use regulator framework for RESET line ARM: OMAP2+: omap-usb-host: Get rid of platform_data from struct usbhs_phy_data ARM: OMAP2+: usb-host: Adapt to USB phy-nop RESET line changes Russell King (1): usb: musb: use platform_device_register_full() to avoid directly messing with dma masks Sachin Kamat (7): usb: dwc3: Remove redundant pci_set_drvdata usb: musb_dsps: Remove redundant of_match_ptr usb: phy: am335x-control: Remove redundant of_match_ptr usb: phy: am335x: Remove redundant of_match_ptr usb: phy: tegra-usb: Remove redundant of_match_ptr usb: musb_am335x: Remove redundant of_match_ptr usb: phy: twl6030-usb: Include linux/of.h header Sebastian Andrzej Siewior (10): usb: phy: am335x: add wakeup support usb: musb: cancel work on removal usb: musb: call musb_start() only once in OTG mode usb: musb: dsps: move try_idle to start hook usb: musb: dsps: remove declartion for dsps_musb_try_idle() usb: musb: dsps: redo the otg timer usb: musb: dsps: run the timer only on OTG systems usb: musb: core: properly free host / device structs in err path usb: musb: core: Call dma_controller_destroy() in error path only once. usb: musb: cppi41: allow to defer probing if DMA isn't yet available Sergei Shtylyov (1): usb: musb: davinci: fix resources passed to MUSB driver for DM6467 Valentin Ilie (1): usb: gadget: mv_u3d_core: fix memory leaks Valentine Barshak (1): usb: phy: Add RCAR Gen2 USB phy Vivek Gautam (1): usb: dwc3: Remove additional delay of 100ms when resuming .../ABI/testing/configfs-usb-gadget-mass-storage | 31 + .../devicetree/bindings/usb/usb-nop-xceiv.txt | 7 +- arch/arm/mach-omap2/board-omap3beagle.c | 6 - arch/arm/mach-omap2/usb-host.c | 18 +- arch/arm/mach-omap2/usb.h | 1 - drivers/usb/dwc3/core.c | 3 +- drivers/usb/dwc3/dwc3-pci.c | 2 - drivers/usb/gadget/Kconfig | 34 +- drivers/usb/gadget/Makefile | 5 +- drivers/usb/gadget/acm_ms.c | 125 +- drivers/usb/gadget/amd5536udc.c | 2 - drivers/usb/gadget/configfs.c | 10 +- drivers/usb/gadget/configfs.h | 6 + drivers/usb/gadget/f_mass_storage.c | 1254 ++++++++++++++------ drivers/usb/gadget/f_mass_storage.h | 166 +++ drivers/usb/gadget/g_ffs.c | 2 + drivers/usb/gadget/goku_udc.c | 1 - drivers/usb/gadget/mass_storage.c | 125 +- drivers/usb/gadget/multi.c | 247 +++- drivers/usb/gadget/mv_u3d_core.c | 4 +- drivers/usb/gadget/net2280.c | 1 - drivers/usb/gadget/pch_udc.c | 1 - drivers/usb/gadget/s3c-hsotg.c | 169 ++- drivers/usb/gadget/storage_common.c | 430 ++----- drivers/usb/gadget/storage_common.h | 229 ++++ drivers/usb/gadget/udc-core.c | 3 +- drivers/usb/gadget/zero.c | 25 +- drivers/usb/misc/usbtest.c | 2 +- drivers/usb/musb/Kconfig | 4 +- drivers/usb/musb/am35x.c | 63 +- drivers/usb/musb/blackfin.c | 13 +- drivers/usb/musb/da8xx.c | 49 +- drivers/usb/musb/davinci.c | 59 +- drivers/usb/musb/musb_am335x.c | 2 +- drivers/usb/musb/musb_core.c | 17 +- drivers/usb/musb/musb_cppi41.c | 8 +- drivers/usb/musb/musb_dsps.c | 94 +- drivers/usb/musb/musb_virthub.c | 19 +- drivers/usb/musb/omap2430.c | 3 + drivers/usb/musb/tusb6010.c | 49 +- drivers/usb/musb/ux500.c | 13 +- drivers/usb/phy/Kconfig | 13 + drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-am335x-control.c | 44 +- drivers/usb/phy/phy-am335x.c | 44 +- drivers/usb/phy/phy-fsl-usb.c | 96 +- drivers/usb/phy/phy-fsl-usb.h | 4 +- drivers/usb/phy/phy-fsm-usb.c | 72 +- drivers/usb/phy/phy-fsm-usb.h | 179 ++- drivers/usb/phy/phy-generic.c | 108 +- drivers/usb/phy/phy-generic.h | 7 +- drivers/usb/phy/phy-rcar-gen2-usb.c | 248 ++++ drivers/usb/phy/phy-tegra-usb.c | 2 +- drivers/usb/phy/phy-twl4030-usb.c | 2 + drivers/usb/phy/phy-twl6030-usb.c | 1 + drivers/usb/phy/phy.c | 2 +- include/linux/platform_data/usb-rcar-gen2-phy.h | 22 + include/linux/usb/usb_phy_gen_xceiv.h | 3 +- 58 files changed, 2957 insertions(+), 1193 deletions(-) create mode 100644 Documentation/ABI/testing/configfs-usb-gadget-mass-storage create mode 100644 drivers/usb/gadget/configfs.h create mode 100644 drivers/usb/gadget/f_mass_storage.h create mode 100644 drivers/usb/gadget/storage_common.h create mode 100644 drivers/usb/phy/phy-rcar-gen2-usb.c create mode 100644 include/linux/platform_data/usb-rcar-gen2-phy.h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html