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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=no 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 7D3A6C43461 for ; Mon, 7 Sep 2020 16:00:55 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 33F592087D for ; Mon, 7 Sep 2020 16:00:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="vMUOwktp"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="i3JR/5An" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 33F592087D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Vxp/90skiaPGqT+5TLDlYMcVZhPO9XgJjcoGXdbDoZU=; b=vMUOwktp/ugkDsTdJL415NLMTc hU/tTi9Qh3Q8gv+DV9E2idZIAgcYhZb/olZO437O9cxKAXkL2TxRS7vi5XzkrYPeJWD01wnMa+mNA Blbs69wI6EpqWFksWwuuW3qk8ZTFtmurJmqxh1ursypq7HNymDm7+0Jd74ob2wZhkcQhbAimIzILv b+BnQ1wQQQOn0o65mB196FFwBtck2JK6xlK918cIMO9mCOP/4sElNzcJjPMW8PZxMN9gc3JXmuHcM OEyZXkDHGy/+WWFlr8NDZRFBeyyH7QQGNADDoLBQldtQWufNQD3S1z/DDbOYmURx/WjcGZMx5Vx8e Fu73egWQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFJYa-0000Px-45; Mon, 07 Sep 2020 15:59:48 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFJYS-0000Lr-Hh for linux-arm-kernel@lists.infradead.org; Mon, 07 Sep 2020 15:59:44 +0000 Received: from mail.kernel.org (ip5f5ad5cf.dynamic.kabel-deutschland.de [95.90.213.207]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7153A21897; Mon, 7 Sep 2020 15:59:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599494379; bh=ANCtn+AqrVoqXK8gIeKZzyV4OK17LI5KeXkQ+B1zwmg=; h=From:To:Cc:Subject:Date:From; b=i3JR/5AnCkvxkXl9IzkDKNpONVXnsOYFK5jkLYMIYUjlLlEmwjI1z5DuvQC4zi/fv K3NBAVFqx4Tut3AvaRAqlfaeelZTtNmkL4tcUrQ9FD0CJCuLLCiDHxFQT0ckP/rTpD h07kQhVqEuQGpHoF59zQFBEQ6nyjoElL4tD0OIEg= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kFJYP-00ATuf-3b; Mon, 07 Sep 2020 17:59:37 +0200 From: Mauro Carvalho Chehab To: Subject: [PATCH v2 00/11] Add USB support for Hikey 970 Date: Mon, 7 Sep 2020 17:59:24 +0200 Message-Id: X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200907_115940_771792_0C23BCC3 X-CRM114-Status: GOOD ( 19.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dragan Cvetic , linuxarm@huawei.com, Wei Xu , Rob Herring , Mauro Carvalho Chehab , Yu Chen , Krzysztof Kozlowski , Kishon Vijay Abraham I , Derek Kiernan , devicetree@vger.kernel.org, Arnd Bergmann , Manivannan Sadhasivam , Rob Herring , John Stultz , mauro.chehab@huawei.com, linux-arm-kernel@lists.infradead.org, Felipe Balbi , Greg Kroah-Hartman , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul , Philipp Zabel , "David S. Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the PHY layer for Hikey 970 and a misc driver that it is required for the USB hub to work. The same USB hub is needed by Hikey 960. That's the second version, addressing the points raised by Mark on the RFC version and adding an extra patch in order for it to use the dwc3-of-simple driver. Such binding is required, as using dwc3 directly causes an Serror on ARM. - PS.: I'll be sending the dts bindings later on. We need first to add a small quirk to dwc3: https://patchwork.kernel.org/patch/10909965/ I'll be sending a newer version of this specific patch probably tomorrow. Mauro Carvalho Chehab (8): phy: hisilicon: phy-hi3670-usb3: use a consistent namespace phy: hisilicon: phy-hi3670-usb3: fix coding style phy: hisilicon: phy-hi3670-usb3: change some DT properties dt-bindings: phy: convert phy-kirin970-usb3.txt to yaml MAINTAINERS: add myself as maintainer for Kirin 970 USB PHY misc: hisi_hikey_usb: add support for Hikey 970 dwc3-of-simple: add support for Hikey 970 dts: hisilicon: add support for USB3 on Hikey 970 Yu Chen (3): phy: hisilicon: add USB physical layer for Kirin 3670 phy: hisilicon: phy-hi3670-usb3: fix some issues at the init code misc: hisi_hikey_usb: Driver to support onboard USB gpio hub on Hikey960 .../bindings/phy/hisilicon,hi3670-usb3.yaml | 72 ++ MAINTAINERS | 16 +- .../boot/dts/hisilicon/hi3670-hikey970.dts | 102 +++ arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 58 ++ drivers/misc/Kconfig | 9 + drivers/misc/Makefile | 1 + drivers/misc/hisi_hikey_usb.c | 274 +++++++ drivers/phy/hisilicon/Kconfig | 10 + drivers/phy/hisilicon/Makefile | 1 + drivers/phy/hisilicon/phy-hi3670-usb3.c | 671 ++++++++++++++++++ drivers/usb/dwc3/dwc3-of-simple.c | 4 +- 11 files changed, 1216 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml create mode 100644 drivers/misc/hisi_hikey_usb.c create mode 100644 drivers/phy/hisilicon/phy-hi3670-usb3.c -- 2.26.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel