Hi Greg, here's my pull request for v5.9. I have rebase on your usb-next one week ago to avoid merge conflicts. Let me know if you want anything to be changed. cheers The following changes since commit c17536d0abde2fd24afca542e3bb73b45a299633: usb: usbfs: stop using compat_alloc_user_space (2020-07-22 13:13:22 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v5.9 for you to fetch changes up to f5e46aa4a124bfac34a770c4cfe5023de99380d4: usb: dwc3: gadget: when the started list is empty stop the active xfer (2020-07-24 16:45:15 +0300) ---------------------------------------------------------------- USB: changes for v5.9 merge window CDNS3 got several improvements, most of which are non-critical fixes. DWC3 has a reset fix for the meson platform, while dwc2 has improvements for role switch on STM32MP15 SoCs. Apart from these, we have the usual set of non-critical fixes all over the place and support for new Ingenic SoC to their PHY driver. ---------------------------------------------------------------- Al Cooper (4): dt-bindings: usb: bdc: Update compatible strings usb: bdc: Add compatible string for new style USB DT nodes usb: bdc: Adb shows offline after resuming from S2 usb: bdc: driver runs out of buffer descriptors on large ADB transfers Amelie Delaunay (2): usb: dwc2: override PHY input signals with usb role switch support usb: dwc2: don't use ID/Vbus detection if usb-role-switch on STM32MP15 SoCs Chunfeng Yun (1): usb: gadget: bdc: use readl_poll_timeout() to simplify code Dan Robertson (1): usb: dwc3: meson-g12a: fix shared reset control use Danesh Petigara (1): usb: bdc: Halt controller on suspend Evgeny Novikov (2): usb: gadget: net2272: skip BAR1 on error handling paths in probe usb: gadget: net2280: fix memory leak on probe error handling paths Florian Fainelli (1): usb: bdc: Use devm_clk_get_optional() Marek Szyprowski (2): usb: gadget: udc: Flush pending work also in error path usb: dwc2: Fix error path in gadget registration Michael Grzeschik (2): usb: dwc3: gadget: add frame number mask usb: dwc3: gadget: when the started list is empty stop the active xfer Michael Olbrich (1): usb: dwc3: gadget: make starting isoc transfers more robust Michał Mirosław (1): usb: gadget: udc: atmel: implement .pullup callback Pawel Laszczak (9): usb: cdns3: core: removed cdns3_get_current_role_driver function usb: cdns3: drd: removed not needed variables initialization usb: cnds3: drd: deleted != usb: cdns3: drd: return IRQ_NONE explicitly. usb: cdns3: drd: changed return type from int to bool usb: cdns3: Added CDNS3_ID_PERIPHERAL and CDNS3_ID_HOST usb: cdns3: core: removed 'goto not_otg' usb: cdns3: core: removed overwriting some error code usb: cdns3: drd: simplify *switch_gadet and *switch_host Peter Chen (3): usb: cdns3: gadget: improve the set_configuration handling usb: cdns3: ep0: delete the unnecessary operation usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint Roger Quadros (1): dt-bindings: usb: ti,keystone-dwc3.yaml: Improve schema Ruslan Bilovol (1): usb: gadget: f_uac2: fix AC Interface Header Descriptor wTotalLength Sasi Kumar (1): bdc: Fix bug causing crash after multiple disconnects Zqiang (1): usb: gadget: function: printer: Interface is disabled and returns error 周琰杰 (Zhou Yanjie) (4): dt-bindings: USB: Add bindings for new Ingenic SoCs. USB: PHY: JZ4770: Unify code style and simplify code. USB: PHY: JZ4770: Add support for new Ingenic SoCs. USB: PHY: JZ4770: Reformat the code to align it. Documentation/devicetree/bindings/usb/brcm,bdc.txt | 4 +- .../bindings/usb/ingenic,jz4770-phy.yaml | 6 +- .../devicetree/bindings/usb/ti,keystone-dwc3.yaml | 51 +++- drivers/usb/cdns3/core.c | 39 +-- drivers/usb/cdns3/drd.c | 165 ++++++------ drivers/usb/cdns3/drd.h | 13 +- drivers/usb/cdns3/ep0.c | 18 +- drivers/usb/cdns3/gadget.c | 10 +- drivers/usb/cdns3/host.c | 4 +- drivers/usb/dwc2/Kconfig | 1 + drivers/usb/dwc2/Makefile | 2 +- drivers/usb/dwc2/core.h | 8 + drivers/usb/dwc2/drd.c | 190 ++++++++++++++ drivers/usb/dwc2/gadget.c | 2 +- drivers/usb/dwc2/params.c | 4 +- drivers/usb/dwc2/platform.c | 17 +- drivers/usb/dwc3/dwc3-meson-g12a.c | 15 +- drivers/usb/dwc3/gadget.c | 30 ++- drivers/usb/dwc3/gadget.h | 2 + drivers/usb/gadget/function/f_printer.c | 36 +++ drivers/usb/gadget/function/f_uac2.c | 7 +- drivers/usb/gadget/udc/atmel_usba_udc.c | 20 ++ drivers/usb/gadget/udc/bdc/bdc.h | 2 +- drivers/usb/gadget/udc/bdc/bdc_core.c | 53 ++-- drivers/usb/gadget/udc/bdc/bdc_ep.c | 16 +- drivers/usb/gadget/udc/core.c | 1 + drivers/usb/gadget/udc/net2272.c | 2 + drivers/usb/gadget/udc/net2280.c | 4 +- drivers/usb/phy/Kconfig | 4 +- drivers/usb/phy/phy-jz4770.c | 284 +++++++++++++++------ 30 files changed, 731 insertions(+), 279 deletions(-) create mode 100644 drivers/usb/dwc2/drd.c -- balbi
Attachment:
signature.asc
Description: PGP signature