Hi Greg, here's my big(-ish) pull request for v4.17 merge window. I tested what I could with a GLK board. Let me know if you want anything to be changed. I did a test merge here and everything was fine. cheers The following changes since commit 4a3928c6f8a53fa1aed28ccba227742486e8ddcb: Linux 4.16-rc3 (2018-02-25 18:50:41 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git usb-for-v4.17 for you to fetch changes up to aaeab02ddcc830e31c33cdb72a3c117b2d499ae2: usb/gadget: Add an EP dispose() callback for EP lifetime tracking (2018-03-23 09:51:43 +0200) ---------------------------------------------------------------- usb: changes for v4.17 merge window Quite a lot happened in this cycle, with a total of 95 non-merge commits. The most interesting parts are listed below: Synopsys has been adding better support for USB 3.1 to dwc3. The same series also sets g_mass_storage's max speed to SSP. Roger Quadros (TI) added support for dual-role using the OTG block available in some dwc3 implementations, this makes sure that AM437x can swap roles in runtime. We have a new SoC supported in dwc3 now - Amlogic Meson GX - thanks to the work of Martin Blumenstingl. We also have a ton of changes in dwc2 (51% of all changes, in fact). The most interesting part there is the support for Hibernation (a Synopsys PM feature). Apart from these, we have our regular set of non-critical fixes all over the place. ---------------------------------------------------------------- Amelie Delaunay (1): usb: dwc2: add support for host mode external vbus supply Andy Shevchenko (5): USB: dwc2: Re-use DEFINE_SHOW_ATTRIBUTE() macro USB: gadget: bcm63xx: Re-use DEFINE_SHOW_ATTRIBUTE() macro USB: gadget: gr: Re-use DEFINE_SHOW_ATTRIBUTE() macro USB: gadget: pxa25x: Re-use DEFINE_SHOW_ATTRIBUTE() macro USB: gadget: pxa27x: Re-use DEFINE_SHOW_ATTRIBUTE() macro Benjamin Herrenschmidt (1): usb/gadget: Add an EP dispose() callback for EP lifetime tracking Chris Dickens (2): usb: gadget: composite: fix incorrect handling of OS desc requests usb: gadget: composite: remove duplicated code in OS desc handling Colin Ian King (2): USB: gadget: function: remove redundant initialization of 'tv_nexus' usb: dwc2: fix spelling mistake: "genereted" -> "generated" Dmitry Osipenko (1): usb: phy: tegra: Increase PHY clock stabilization timeout Fabio Estevam (1): usb: phy: mxs: Staticize mxs_charger_secondary_detection() Felipe Balbi (2): usb: dwc3: debugfs: Re-use DEFINE_SHOW_ATTRIBUTE() macro usb: dwc3: Makefile: fix link error on randconfig Gevorg Sahakyan (1): usb: dwc2: Remove version check in GSNPSID Grigor Tovmasyan (5): usb: dwc2: Delete unused functionality usb: dwc2: Fix interval type issue usb: dwc2: Add call_gadget() function call usb: dwc2: Add core state checking usb: dwc2: Make dwc2_force_mode() static Gustavo A. R. Silva (1): usb: dwc2: gadget: Use true and false for boolean values Heinrich Schuchardt (1): usb: dwc3: ep0: remove redundant assignment Jaejoong Kim (1): usb: gadget: udc: Use scnprintf() instead of snprintf() John Youn (2): usb: dwc2: Enable LPM usb: dwc2: Enable power down Ladislav Michl (1): usb: gadget: udc: atmel: Use devm_ioremap_resource() Lars-Peter Clausen (2): usb: gadget: ffs: Execute copy_to_user() with USER_DS set usb: gadget: ffs: Let setup() return USB_GADGET_DELAYED_STATUS Linus Walleij (1): usb: phy: ab8500: Drop AB8540/9540 support Ludovic Desroches (2): usb: gadget: udc: atmel: remove code related to platform stuff usb: gadget: udc: atmel: convert to use GPIO descriptors Martin Blumenstingl (3): dt-bindings: usb: add support for dwc3 controller on Amlogic Meson GX usb: dwc3: of-simple: add support for shared and pulsed reset lines usb: dwc3: of-simple: add support for the Amlogic Meson GXL and AXG SoCs Mike Looijmans (1): usb: phy-generic: Use gpiod_set_value_cansleep Minas Harutyunyan (3): usb: dwc2: hcd: Fix host channel halt flow usb: dwc2: host: Fix transaction errors in host mode usb: dwc2: Change TxFIFO and RxFIFO flushing flow Razmik Karapetyan (9): usb: dwc2: Use AHB burst size parameter usb: dwc2: Set AHB burst size to INCR usb: dwc2: Update dwc2_handle_incomplete_isoc_in() function usb: dwc2: Update dwc2_handle_incomplete_isoc_out() function usb: dwc2: Update GINTSTS_GOUTNAKEFF interrupt handling usb: dwc2: Rename bit set/clear function names usb: dwc2: Remove unnecessary debug prints usb: dwc2: Add ACG support to the driver usb: dwc2: Backup and restore PCGCCTL1 register Roger Quadros (5): usb: dwc3: core.h: add some register definitions usb: dwc3: prevent setting PRTCAP to OTG from debugfs usb: dwc3: add dual role support using OTG block usb: dwc3: Prevent indefinite sleep in _dwc3_set_mode during suspend/resume usb: dwc3: core: Fix broken system suspend/resume on AM437x Sevak Arakelyan (7): usb: dwc2: Update bit polling functionality usb: dwc2: Rename GLPMCFG... definitions usb: dwc2: Add core parameters for LPM support usb: dwc2: gadget: Add functionality to exit from LPM L1 state usb: dwc2: gadget: LPM interrupt handler usb: dwc2: Enable LPM Transaction Received interrupt usb: dwc2: gadget: Configure the core to enable LPM Souptick Joarder (1): usb: gadget: udc: bdc: Use dma_pool_zalloc Stefan Agner (1): usb: phy: ab8500: use correct enum type Stefan Wahren (1): usb: dwc2: Print error if unable to set DMA coherent mask Thinh Nguyen (12): usb: gadget: mass_storage: Set max_speed to SSP usb: dwc3: pci: Properly cleanup resource usb: dwc3: Add SoftReset PHY synchonization delay usb: dwc3: Update DWC_usb31 GTXFIFOSIZ reg fields usb: dwc3: Check IP revision for GTXFIFOSIZ usb: dwc3: Add DWC_usb31 GRXTHRCFG bit fields usb: dwc3: gadget: Check IP revision for GRXTHRCFG usb: dwc3: Add DWC_usb31 GTXTHRCFG reg fields usb: dwc3: Make TX/RX threshold configurable usb: dwc3: Check for ESS TX/RX threshold config usb: dwc3: Dump LSP and BMU debug info usb: dwc3: Check controller type before setting speed Vardan Mikayelyan (19): usb: dwc2: eliminate irq parameter from dwc2_gadget_init usb: dwc2: pci: Replace kzalloc() with devm_kzalloc() usb: dwc2: pci: Move usb_phy_generic_register() usb: dwc2: pci: Move devm_kzalloc() before platform_device_add() usb: dwc2: pci: Handle error cleanup in probe usb: dwc2: Rename hibernation to partial_power_down usb: dwc2: Add hibernation field into dwc2_hw_params usb: dwc2: gadget: Moved dtxfsiz backup array place usb: dwc2: gadget: Fix dwc2_restore_device_registers usb: dwc2: core: Add hibernated flag usb: dwc2: gadget: Add remote_wakeup_allowed flag usb: dwc2: Changes in registers backup/restore functions usb: dwc2: Add helper functions for restore routine usb: dwc2: Add host/device hibernation functions usb: dwc2: Add dwc2_enter_hibernation(), dwc2_exit_hibernation() usb: dwc2: Allow entering hibernation from USB_SUSPEND interrupt usb: dwc2: Add dwc2_handle_gpwrdn_intr() handler usb: dwc2: Change hub-control to allow hibernation usb: dwc2: Force mode optimizations Wolfram Sang (1): usb: gadget: udc: change comparison to bitshift when dealing with a mask .../devicetree/bindings/usb/amlogic,dwc3.txt | 42 ++ Documentation/devicetree/bindings/usb/dwc3.txt | 16 + drivers/usb/dwc2/core.c | 395 +++++++++++----- drivers/usb/dwc2/core.h | 136 ++++-- drivers/usb/dwc2/core_intr.c | 304 ++++++++++-- drivers/usb/dwc2/debugfs.c | 91 +--- drivers/usb/dwc2/gadget.c | 403 ++++++++++++---- drivers/usb/dwc2/hcd.c | 445 +++++++++++++----- drivers/usb/dwc2/hcd.h | 56 --- drivers/usb/dwc2/hw.h | 44 +- drivers/usb/dwc2/params.c | 91 +++- drivers/usb/dwc2/pci.c | 27 +- drivers/usb/dwc2/platform.c | 16 +- drivers/usb/dwc3/Makefile | 2 +- drivers/usb/dwc3/core.c | 134 +++++- drivers/usb/dwc3/core.h | 146 ++++++ drivers/usb/dwc3/debugfs.c | 84 ++-- drivers/usb/dwc3/drd.c | 489 +++++++++++++++++++- drivers/usb/dwc3/dwc3-of-simple.c | 31 +- drivers/usb/dwc3/dwc3-pci.c | 2 +- drivers/usb/dwc3/ep0.c | 2 +- drivers/usb/dwc3/gadget.c | 39 +- drivers/usb/gadget/composite.c | 126 +++-- drivers/usb/gadget/function/f_fs.c | 6 +- drivers/usb/gadget/function/f_tcm.c | 2 +- drivers/usb/gadget/legacy/mass_storage.c | 2 +- drivers/usb/gadget/udc/atmel_usba_udc.c | 158 ++----- drivers/usb/gadget/udc/atmel_usba_udc.h | 4 +- drivers/usb/gadget/udc/bcm63xx_udc.c | 33 +- drivers/usb/gadget/udc/bdc/bdc_ep.c | 3 +- drivers/usb/gadget/udc/core.c | 4 +- drivers/usb/gadget/udc/dummy_hcd.c | 2 +- drivers/usb/gadget/udc/goku_udc.h | 2 +- drivers/usb/gadget/udc/gr_udc.c | 17 +- drivers/usb/gadget/udc/pxa25x_udc.c | 20 +- drivers/usb/gadget/udc/pxa27x_udc.c | 42 +- drivers/usb/phy/phy-ab8500-usb.c | 508 +-------------------- drivers/usb/phy/phy-generic.c | 6 +- drivers/usb/phy/phy-mxs-usb.c | 2 +- drivers/usb/phy/phy-tegra-usb.c | 14 +- include/linux/usb/composite.h | 3 + include/linux/usb/gadget.h | 1 + 42 files changed, 2480 insertions(+), 1470 deletions(-) create mode 100644 Documentation/devicetree/bindings/usb/amlogic,dwc3.txt -- balbi
Attachment:
signature.asc
Description: PGP signature