From patchwork Fri Nov 30 07:56:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 1005807 X-Patchwork-Delegate: marek.vasut@gmail.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 435mtb0D9Nz9s8r for ; Fri, 30 Nov 2018 18:56:38 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 5FE56C22253; Fri, 30 Nov 2018 07:56:33 +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=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL 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 59A09C21FCD; Fri, 30 Nov 2018 07:56:30 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 05483C21FCD; Fri, 30 Nov 2018 07:56:28 +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 9A3D2C21EEF for ; Fri, 30 Nov 2018 07:56:28 +0000 (UTC) Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 435mtN2rnkz1qwf4; Fri, 30 Nov 2018 08:56:28 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 435mtN27fSz1qqkR; Fri, 30 Nov 2018 08:56:28 +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 iNd3JBg0lTOi; Fri, 30 Nov 2018 08:56:26 +0100 (CET) X-Auth-Info: Ov0NCnPQ3ss8g6HytuTJuMYageeJCI1hXjix4t68OGY= Received: from jawa (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (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; Fri, 30 Nov 2018 08:56:26 +0100 (CET) Date: Fri, 30 Nov 2018 08:56:19 +0100 From: Lukasz Majewski To: Marek Vasut Message-ID: <20181130085511.6e7383ce@jawa> In-Reply-To: <20181124231114.642a0544@jawa> References: <20181124231114.642a0544@jawa> Organization: denx.de X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Cc: u-boot@lists.denx.de, Tom Rini Subject: [U-Boot] [GIT] Pull request: u-boot-dfu (30.11.2018) 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" Dear Marek, The following changes since commit e16c888fab5014b022d5781dc534f204460a073b: Merge branch '2018-11-28-master-imports' (2018-11-28 23:04:58 -0500) are available in the git repository at: git://git.denx.de/u-boot-dfu.git for you to fetch changes up to d2e0cdf86db4bdadfdb2fd5fb6098cd3848df502: board: ti: am57xx: remove USB platform code (2018-11-29 22:07:15 +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 Testing: https://travis-ci.org/lmajewski/u-boot-dfu/builds/461482674 (and also some buildman tests to check if this patch series is bisectable) Best regards, Lukasz Majewski --- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de