From patchwork Fri Oct 5 08:07:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felipe Balbi X-Patchwork-Id: 10627517 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1FC6C15E2 for ; Fri, 5 Oct 2018 08:08:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1372B29244 for ; Fri, 5 Oct 2018 08:08:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0522529248; Fri, 5 Oct 2018 08:08:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E6C3529244 for ; Fri, 5 Oct 2018 08:08:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727578AbeJEPFl (ORCPT ); Fri, 5 Oct 2018 11:05:41 -0400 Received: from mga11.intel.com ([192.55.52.93]:51926 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727661AbeJEPFl (ORCPT ); Fri, 5 Oct 2018 11:05:41 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Oct 2018 01:07:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,343,1534834800"; d="asc'?scan'208";a="85933059" Received: from pipin.fi.intel.com (HELO localhost) ([10.237.72.128]) by FMSMGA003.fm.intel.com with ESMTP; 05 Oct 2018 01:07:35 -0700 From: Felipe Balbi To: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Subject: [GIT PULL] USB for v4.20 merge window Date: Fri, 05 Oct 2018 11:07:31 +0300 Message-ID: <875zyg95q4.fsf@linux.intel.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Greg, Here's my pull request for v4.20 merge window. Most of the changes are on the UVC gadget driver. Seems like we'll have a calm merge window for USB folks this time around. Let me know if you want anything to be changed. The following changes since commit 17b57b1883c1285f3d0dc2266e8f79286a7bef38: Linux 4.19-rc6 (2018-09-30 07:15:35 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/usb-for-v4.20 for you to fetch changes up to 3b766f45355775fc5c404b7ff88f3fd3e9d77f86: USB: net2280: Remove ->disconnect() callback from net2280_pullup() (2018-10-05 10:50:23 +0300) ---------------------------------------------------------------- USB for v4.20 With 63 non-merge commits, this is not a large merge window for USB peripheral. The largest changes go to the UVC gadget driver which a few folks have been improving. Apart from UVC changes, we have a few more devices being added to Renesas USB3 and DWC3 controller drivers and a couple minor bug fixes on other drivers. ---------------------------------------------------------------- Alan Stern (2): USB: gadget core: Issue ->disconnect() callback from usb_gadget_disconnect() USB: net2280: Remove ->disconnect() callback from net2280_pullup() Alexandre Belloni (1): usb: gadget: udc: atmel: handle at91sam9rl PMC Andreas Pape (1): usb: gadget: f_uac2: disable IN/OUT ep if unused Arnd Bergmann (1): usb: dwc3: add EXTCON dependency for qcom Chunfeng Yun (1): usb: mtu3: disable vbus rise/fall interrupts of ltssm Colin Ian King (2): usb: gadget: fix spelling mistakeis "[En]queing" -> "[En]queuing" usb: phy: mxs: fix spelling mistake "stardard" -> "standard" Fabrice Gasnier (4): usb: dwc2: get optional vbus-supply regulator once usb: dwc2: fix a race with external vbus supply usb: dwc2: fix call to vbus supply exit routine, call it unlocked usb: dwc2: fix unbalanced use of external vbus-supply Fabrizio Castro (1): usb: gadget: udc: renesas_usb3: Add r8a774a1 support Faisal Mehmood (1): usb: dwc3: Fix spelling of 'optimizations' Felipe Balbi (1): Merge tag 'uvcg-20180925' of git://linuxtv.org/pinchartl/media into testing/next Grigor Tovmasyan (9): usb: dwc2: Update registers definitions to support service interval usb: dwc2: Add core parameter for service interval support usb: dwc2: Add dwc2_gadget_dec_frame_num_by_one() function usb: dwc2: Update target (u)frame calculation usb: dwc2: Add definitions for new registers usb: dwc2: gadget: Add parameters for GREFCLK register usb: dwc2: gadget: Program GREFCLK register usb: dwc2: gadget: enable WKUP_ALERT interrupt usb: dwc2: gadget: Add handler for WkupAlert interrupt Jia-Ju Bai (1): usb: gadget: udc: fotg210-udc: Fix a sleep-in-atomic-context bug in fotg210_get_status() Joel Pepper (2): usb: gadget: uvc: configfs: Add bFrameIndex attributes usb: gadget: uvc: configfs: Prevent format changes after linking header Josh Abraham (1): usb: dwc2: remove set but unused variable Laurent Pinchart (14): usb: gadget: uvc: configfs: Don't wrap groups unnecessarily usb: gadget: uvc: configfs: Add section header comments usb: gadget: uvc: configfs: Drop leaked references to config items usb: gadget: uvc: configfs: Allocate groups dynamically usb: gadget: uvc: configfs: Add interface number attributes usb: gadget: uvc: configfs: Add bFormatIndex attributes usb: gadget: uvc: Factor out video USB request queueing usb: gadget: uvc: Only halt video streaming endpoint in bulk mode usb: gadget: uvc: Replace plain printk() with dev_*() usb: gadget: uvc: Remove uvc_set_trace_param() function usb: video: Fix endianness mismatches in descriptor structures usb: gadget: uvc: configfs: Fix operation on big endian platforms usb: gadget: uvc: configfs: Simplify attributes macros usb: gadget: uvc: configfs: Use %u to print unsigned int values Marek Szyprowski (3): usb: dwc3: exynos: Remove dead code usb: dwc3: exynos: Rework clock handling and prepare for new variants usb: dwc3: exynos: Add support for Exynos5433 variant with all clocks Minas Harutyunyan (1): usb: dwc2: Disable all EP's on disconnect Nathan Chancellor (1): usb: gadget: udc: Remove unnecessary parentheses Nicholas Mc Guire (2): usb: gadget: fsl_udc_core: check allocation return value and cleanup on failure usb: gadget: fsl_udc_core: fixup struct_udc_setup documentation Paul Elder (1): usb: gadget: uvc: configfs: Sort frame intervals upon writing Rob Herring (1): usb: gadget: atmel: remove pointless retrieval of DT name property SolidHal (1): usb: dwc2: disable power_down on rockchip devices Thinh Nguyen (1): usb: dwc3: gadget: Check ENBLSLPM before sending ep command Yoshihiro Shimoda (11): Revert "usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel" usb: renesas_usbhs: Add reset_control dt-bindings: usb: renesas_usbhs: add clock-names property usb: renesas_usbhs: Add multiple clocks management Revert "usb: renesas_usbhs: set the mode by using extcon state for non-otg channel" usb: renesas_usbhs: rcar3: Use OTG mode for R-Car D3 dt-bindings: usb: renesas_usbhs: add bindings for r8a77990 usb: renesas_usbhs: add support for R-Car E3 usb: gadget: udc: renesas_usb3: Fix b-device mode for "workaround" dt-bindings: usb: renesas_usb3: add bindings for r8a77990 usb: gadget: udc: renesas_usb3: add support for r8a77990 Documentation/ABI/testing/configfs-usb-gadget-uvc | 24 + Documentation/devicetree/bindings/usb/dwc3.txt | 1 + .../devicetree/bindings/usb/exynos-usb.txt | 2 + .../devicetree/bindings/usb/renesas_usb3.txt | 6 +- .../devicetree/bindings/usb/renesas_usbhs.txt | 7 +- drivers/usb/dwc2/core.h | 29 + drivers/usb/dwc2/debugfs.c | 1 + drivers/usb/dwc2/gadget.c | 121 +- drivers/usb/dwc2/hcd.c | 48 +- drivers/usb/dwc2/hw.h | 15 + drivers/usb/dwc2/params.c | 7 + drivers/usb/dwc2/platform.c | 8 + drivers/usb/dwc3/Kconfig | 2 +- drivers/usb/dwc3/core.c | 2 +- drivers/usb/dwc3/dwc3-exynos.c | 212 ++-- drivers/usb/dwc3/gadget.c | 29 +- drivers/usb/gadget/function/f_uac2.c | 216 +++- drivers/usb/gadget/function/f_uvc.c | 57 +- drivers/usb/gadget/function/u_uvc.h | 3 + drivers/usb/gadget/function/uvc.h | 16 +- drivers/usb/gadget/function/uvc_configfs.c | 1168 +++++++++++--------- drivers/usb/gadget/function/uvc_v4l2.c | 4 +- drivers/usb/gadget/function/uvc_video.c | 48 +- drivers/usb/gadget/function/uvc_video.h | 2 +- drivers/usb/gadget/udc/aspeed-vhub/epn.c | 2 +- drivers/usb/gadget/udc/atmel_usba_udc.c | 8 +- drivers/usb/gadget/udc/core.c | 9 +- drivers/usb/gadget/udc/fotg210-udc.c | 2 +- drivers/usb/gadget/udc/fsl_udc_core.c | 36 +- drivers/usb/gadget/udc/mv_udc_core.c | 2 +- drivers/usb/gadget/udc/net2280.c | 3 - drivers/usb/gadget/udc/renesas_usb3.c | 14 + drivers/usb/gadget/udc/udc-xilinx.c | 2 +- drivers/usb/mtu3/mtu3_core.c | 4 +- drivers/usb/mtu3/mtu3_gadget.c | 22 +- drivers/usb/phy/phy-mxs-usb.c | 2 +- drivers/usb/renesas_usbhs/common.c | 113 +- drivers/usb/renesas_usbhs/common.h | 5 +- drivers/usb/renesas_usbhs/rcar3.c | 27 +- include/uapi/linux/usb/video.h | 304 ++--- 40 files changed, 1602 insertions(+), 981 deletions(-)