From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0BF3DC43381 for ; Wed, 20 Mar 2019 16:36:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA75120850 for ; Wed, 20 Mar 2019 16:36:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727749AbfCTQf7 (ORCPT ); Wed, 20 Mar 2019 12:35:59 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:42674 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726835AbfCTQf6 (ORCPT ); Wed, 20 Mar 2019 12:35:58 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 388ADA78; Wed, 20 Mar 2019 09:35:57 -0700 (PDT) Received: from [10.1.194.37] (e113632-lin.cambridge.arm.com [10.1.194.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 638B13F614; Wed, 20 Mar 2019 09:35:54 -0700 (PDT) Subject: Re: [PATCH v4 00/12] Add support for usb on Hikey960 To: Yu Chen , linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: john.stultz@linaro.org, suzhuangluan@hisilicon.com, kongfei@hisilicon.com, liuyu712@hisilicon.com, wanghu17@hisilicon.com, butao@hisilicon.com, chenyao11@huawei.com, fangshengzhou@hisilicon.com, lipengcheng8@huawei.com, songxiaowei@hisilicon.com, xuyiping@hisilicon.com, xuyoujun4@huawei.com, yudongbin@hisilicon.com, zangleigang@hisilicon.com References: <20190316035342.77998-1-chenyu56@huawei.com> From: Valentin Schneider Message-ID: Date: Wed, 20 Mar 2019 16:35:52 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190316035342.77998-1-chenyu56@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 16/03/2019 03:53, Yu Chen wrote: > The patchset adds support for usb functionality of Hikey960, includes: > - usb phy driver for Hisilicon Kirin Soc hi3660 > - usb driver for HiKey960 board > - some adjustment in dwc3 and usb role driver > - dts for support usb of HiKey960 > Still works fine on my Debian userspace. Tested-by: Valentin Schneider Thanks, Valentin > Yu Chen (12): > dt-bindings: phy: Add support for HiSilicon's hi3660 USB PHY > dt-bindings: misc: Add bindings for HiSilicon usb hub and data role > switch functionality on HiKey960 > usb: dwc3: dwc3-of-simple: Add support for dwc3 of Hisilicon Soc > Platform > usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc > usb: dwc3: Execute GCTL Core Soft Reset while switch mdoe for > Hisilicon Kirin Soc > usb: dwc3: Increase timeout for CmdAct cleared by device controller > phy: Add usb phy support for hi3660 Soc of Hisilicon > usb: roles: Add usb role switch notifier. > usb: dwc3: Registering a role switch in the DRD code. > hikey960: Support usb functionality of Hikey960 > usb: gadget: Add configfs attribuite for controling > match_existing_only > dts: hi3660: Add support for usb on Hikey960 > > .../bindings/misc/hisilicon-hikey-usb.txt | 52 +++++ > .../devicetree/bindings/phy/phy-hi3660-usb3.txt | 26 +++ > MAINTAINERS | 8 + > arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts | 53 +++++ > arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 74 +++++++ > drivers/misc/Kconfig | 6 + > drivers/misc/Makefile | 1 + > drivers/misc/hisi_hikey_usb.c | 162 ++++++++++++++ > drivers/phy/hisilicon/Kconfig | 10 + > drivers/phy/hisilicon/Makefile | 1 + > drivers/phy/hisilicon/phy-hi3660-usb3.c | 233 +++++++++++++++++++++ > drivers/usb/dwc3/Kconfig | 1 + > drivers/usb/dwc3/core.c | 45 ++++ > drivers/usb/dwc3/core.h | 15 ++ > drivers/usb/dwc3/drd.c | 58 ++++- > drivers/usb/dwc3/dwc3-of-simple.c | 4 +- > drivers/usb/dwc3/gadget.c | 2 +- > drivers/usb/gadget/configfs.c | 32 +++ > drivers/usb/roles/class.c | 20 +- > include/linux/usb/role.h | 46 ++++ > 20 files changed, 845 insertions(+), 4 deletions(-) > create mode 100644 Documentation/devicetree/bindings/misc/hisilicon-hikey-usb.txt > create mode 100644 Documentation/devicetree/bindings/phy/phy-hi3660-usb3.txt > create mode 100644 drivers/misc/hisi_hikey_usb.c > create mode 100644 drivers/phy/hisilicon/phy-hi3660-usb3.c >