From patchwork Mon Dec 10 04:51:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 1010270 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 43CrPz3Qfhz9s4s for ; Mon, 10 Dec 2018 15:56:18 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 888A1C2240D; Mon, 10 Dec 2018 04:56:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 8181CC2240D; Mon, 10 Dec 2018 04:56:06 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 06487C2240D; Mon, 10 Dec 2018 04:56:04 +0000 (UTC) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.10]) by lists.denx.de (Postfix) with ESMTPS id B4DEAC21EBF for ; Mon, 10 Dec 2018 04:56:04 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 43CrPc3hlpz1qvNf; Mon, 10 Dec 2018 05:56:04 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 43CrPc3C7Nz1qql6; Mon, 10 Dec 2018 05:56:04 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id lBhpHlO8rUrQ; Mon, 10 Dec 2018 05:56:03 +0100 (CET) X-Auth-Info: yFQMptab0mEKw2poGUEN2lStvpOQGiQbVzXF6jd1cYk= Received: from [IPv6:::1] (unknown [195.140.253.167]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Mon, 10 Dec 2018 05:56:03 +0100 (CET) To: Tom Rini , "u-boot@lists.denx.de" From: Marek Vasut Message-ID: <7b64d5fb-f515-e706-1c1c-5b4042dc3e87@denx.de> Date: Mon, 10 Dec 2018 05:51:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Language: en-US Subject: [U-Boot] [PULL] u-boot-usb/master X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" DWC3 and UDC cleanup The following changes since commit 57dbc151437b36cc1105857d222df28b095236d7: rockchip: rk3399: Add MAINTAINERS entry (2018-12-06 10:24:12 -0500) are available in the Git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 532ededd5cbff3d55e8c8e5b6377cec9e90f2152: board: ti: am57xx: remove USB platform code (2018-12-07 16:31:46 +0100) ---------------------------------------------------------------- Jean-Jacques Hiblot (19): usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers usb: introduce a separate config option for DM USB device usb: udc: implement DM versions of usb_gadget_initialize()/_release()/_handle_interrupt() dwc3_generic: do not probe the USB device driver when it's bound dwc3: move phy operation to core.c dm: usb: create a new UCLASS ID for USB gadget devices configs: evb-rk3328: Enable CONFIG_USB_DWC3 dwc3-generic: Handle the PHYs, the clocks and the reset lines dwc3-generic: Add select_dr_mode operation usb: dwc3: Fix a compilation error with the edison defconfig syscon: dm: Add a new method to get a regmap from DTS phy: Add a new driver for OMAP's USB2 PHYs dwc3-generic: Add support for the TI DWC3 glue board: ti: dra7xx-evm: turn on USB clocks in late init stage dts: dra7x: make ocp2scp@4a080000 compatible with simple-bus configs: enable DM_USB and DM_USB_DEV for all DRA7 platforms configs: am57xx_evm: Enable DM_USB and DM_USB_DEV board: ti: dra7-evm: remove USB platform code board: ti: am57xx: remove USB platform code Vignesh R (2): phy: ti-pip3-phy: Add support for USB3 PHY board; ti: am57xx: turn on USB clocks arch/arm/Kconfig | 2 ++ arch/arm/dts/omap5-u-boot.dtsi | 4 +++ arch/sandbox/dts/test.dts | 6 ++-- board/sunxi/board.c | 2 +- board/ti/am57xx/board.c | 106 ++++++++++--------------------------------------------- board/ti/dra7xx/evm.c | 123 ++++++++++----------------------------------------------------- cmd/fastboot.c | 4 +-- cmd/rockusb.c | 4 +-- cmd/thordown.c | 4 +-- cmd/usb_gadget_sdp.c | 4 +-- cmd/usb_mass_storage.c | 4 +-- common/dfu.c | 6 ++-- configs/am57xx_evm_defconfig | 12 +++++-- configs/am57xx_hs_evm_defconfig | 12 +++++-- configs/dra7xx_evm_defconfig | 10 +++--- configs/dra7xx_hs_evm_defconfig | 10 +++--- configs/evb-rk3328_defconfig | 1 + drivers/core/syscon-uclass.c | 23 ++++++++++++ drivers/phy/Kconfig | 9 +++++ drivers/phy/Makefile | 1 + drivers/phy/omap-usb2-phy.c | 196 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/phy/ti-pipe3-phy.c | 32 ++++++++++++----- drivers/usb/Kconfig | 14 ++++++++ drivers/usb/dwc3/Kconfig | 7 ++-- drivers/usb/dwc3/core.c | 89 ++++++++++++++++++++++++++++++++++++++++++++-- drivers/usb/dwc3/dwc3-generic.c | 293 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------ drivers/usb/dwc3/ep0.c | 2 +- drivers/usb/gadget/ether.c | 40 ++++----------------- drivers/usb/gadget/udc/Makefile | 4 +++ drivers/usb/gadget/udc/udc-core.c | 3 +- drivers/usb/gadget/udc/udc-uclass.c | 58 ++++++++++++++++++++++++++++++ drivers/usb/host/xhci-dwc3.c | 95 ++++--------------------------------------------- drivers/usb/musb-new/omap2430.c | 2 +- drivers/usb/musb-new/sunxi.c | 2 +- include/dm/uclass-id.h | 1 + include/dwc3-uboot.h | 19 ++++++++++ include/linux/usb/gadget.h | 18 ++++++++++ include/syscon.h | 13 +++++++ test/dm/syscon.c | 29 +++++++++++++++ 39 files changed, 857 insertions(+), 407 deletions(-) create mode 100644 drivers/phy/omap-usb2-phy.c create mode 100644 drivers/usb/gadget/udc/udc-uclass.c