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=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,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 C7B76C433E0 for ; Fri, 29 Jan 2021 09:40:52 +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 7549364E09 for ; Fri, 29 Jan 2021 09:40:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7549364E09 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=v3.sk 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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uprd4hRFM7qSNTfKzfMtqGdvRyDzuy0E3EKYe7vBpzA=; b=oDJ0pY7wpevbSmbI4yYtEzvAi oPf41u2+8mkmZPrKWCdu6odGCCzgv1M4ve85zeTrCftV8zBUaB0TT3k/mttcbu0FgSXqajX3ReOfT fY3gzsfcK8oNvbWR4qWTMFlnXyDoQPoWD7MqC5iEpX97mYt8LdqDEnUFQmU0iuZCSpnFsyO8/9+yY 3TUS0k/KQ5Z6/ccHoPyM0s9DZ5SZLX6a8hUXec9o3DeyhOmzqiluz8ROQvKCsHv3cZVIs5rdPqSAe q0bfRBDpekfeci5BWAndqhylyUzZYWc+jHkjEDbSk2dCzTny3dfyfoAOGz+p+AKuDYRdR4Lu4Yu1f zfm4S1Mmw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5QFZ-0000Rf-Lm; Fri, 29 Jan 2021 09:39:33 +0000 Received: from mail.v3.sk ([167.172.186.51] helo=shell.v3.sk) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l5QFM-0000NB-LW for linux-arm-kernel@lists.infradead.org; Fri, 29 Jan 2021 09:39:23 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id AB309E0B3A; Fri, 29 Jan 2021 09:35:13 +0000 (UTC) Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id eKLMqKN7uOI0; Fri, 29 Jan 2021 09:35:12 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.v3.sk (Postfix) with ESMTP id CC170E0B3B; Fri, 29 Jan 2021 09:35:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at zimbra.v3.sk Received: from shell.v3.sk ([127.0.0.1]) by localhost (zimbra.v3.sk [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ApnSlz4za3E6; Fri, 29 Jan 2021 09:35:10 +0000 (UTC) Received: from localhost (unknown [109.183.109.54]) by zimbra.v3.sk (Postfix) with ESMTPSA id 5B21EE0B3A; Fri, 29 Jan 2021 09:35:09 +0000 (UTC) Date: Fri, 29 Jan 2021 10:39:14 +0100 From: Lubomir Rintel To: kostap@marvell.com Subject: Re: [PATCH 4/4] arch/arm64: dts: enable CP110 UTMI driver Message-ID: <20210129093914.GC68955@demiurge.local> References: <20210127112719.30632-1-kostap@marvell.com> <20210127112719.30632-5-kostap@marvell.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210127112719.30632-5-kostap@marvell.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210129_043921_065044_0E73116D X-CRM114-Status: GOOD ( 14.41 ) 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: devicetree@vger.kernel.org, mw@semihalf.com, andrew@lunn.ch, jaz@semihalf.com, gregory.clement@bootlin.com, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, nadavh@marvell.com, vkoul@kernel.org, robh+dt@kernel.org, miquel.raynal@bootlin.com, stefanc@marvell.com, kishon@ti.com, bpeled@marvell.com, linux-arm-kernel@lists.infradead.org, sebastian.hesselbarth@gmail.com 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 On Wed, Jan 27, 2021 at 01:27:19PM +0200, kostap@marvell.com wrote: > From: Konstantin Porotchkin > > Enable support for CP110 UTMI driver in Armada SoC family platform > device trees. > > Signed-off-by: Konstantin Porotchkin Reviewed-by: Lubomir Rintel > --- > arch/arm64/boot/dts/marvell/armada-7040-db.dts | 12 ++++++++---- > arch/arm64/boot/dts/marvell/armada-8040-db.dts | 18 ++++++++++++++++-- > arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 16 ++++++++++++++-- > arch/arm64/boot/dts/marvell/cn9130-db.dts | 10 ++++++++-- > arch/arm64/boot/dts/marvell/cn9131-db.dts | 8 ++++++-- > arch/arm64/boot/dts/marvell/cn9132-db.dts | 9 +++++++-- > 6 files changed, 59 insertions(+), 14 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-7040-db.dts b/arch/arm64/boot/dts/marvell/armada-7040-db.dts > index a7eb4e7697a2..ef792b932912 100644 > --- a/arch/arm64/boot/dts/marvell/armada-7040-db.dts > +++ b/arch/arm64/boot/dts/marvell/armada-7040-db.dts > @@ -218,6 +218,10 @@ > }; > }; > > +&cp0_utmi { > + status = "okay"; > +}; > + > &cp0_comphy1 { > cp0_usbh0_con: connector { > compatible = "usb-a-connector"; > @@ -226,8 +230,8 @@ > }; > > &cp0_usb3_0 { > - phys = <&cp0_comphy1 0>; > - phy-names = "cp0-usb3h0-comphy"; > + phys = <&cp0_comphy1 0>, <&cp0_utmi0>; > + phy-names = "cp0-usb3h0-comphy", "utmi"; > status = "okay"; > }; > > @@ -239,8 +243,8 @@ > }; > > &cp0_usb3_1 { > - phys = <&cp0_comphy4 1>; > - phy-names = "cp0-usb3h1-comphy"; > + phys = <&cp0_comphy4 1>, <&cp0_utmi1>; > + phy-names = "cp0-usb3h1-comphy", "utmi"; > status = "okay"; > }; > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts > index 09fb5256f1db..f1af6beeb9f9 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts > @@ -154,8 +154,14 @@ > }; > > /* CON9 on CP0 expansion */ > +&cp0_utmi { > + status = "okay"; > +}; > + > &cp0_usb3_0 { > usb-phy = <&cp0_usb3_0_phy>; > + phys = <&cp0_utmi0>; > + phy-names = "utmi"; > status = "okay"; > }; > > @@ -168,8 +174,8 @@ > > /* CON10 on CP0 expansion */ > &cp0_usb3_1 { > - phys = <&cp0_comphy4 1>; > - phy-names = "cp0-usb3h1-comphy"; > + phys = <&cp0_comphy4 1>, <&cp0_utmi1>; > + phy-names = "usb", "utmi"; > status = "okay"; > }; > > @@ -306,14 +312,22 @@ > }; > }; > > +&cp1_utmi { > + status = "okay"; > +}; > + > /* CON9 on CP1 expansion */ > &cp1_usb3_0 { > usb-phy = <&cp1_usb3_0_phy>; > + phys = <&cp1_utmi0>; > + phy-names = "utmi"; > status = "okay"; > }; > > /* CON10 on CP1 expansion */ > &cp1_usb3_1 { > + phys = <&cp1_utmi1>; > + phy-names = "utmi"; > status = "okay"; > }; > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > index cbcb210cb6d8..b3258a3984a3 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > @@ -259,13 +259,21 @@ > vqmmc-supply = <&v_3_3>; > }; > > +&cp0_utmi { > + status = "okay"; > +}; > + > &cp0_usb3_0 { > /* J38? - USB2.0 only */ > + phys = <&cp0_utmi0>; > + phy-names = "utmi"; > status = "okay"; > }; > > &cp0_usb3_1 { > /* J38? - USB2.0 only */ > + phys = <&cp0_utmi1>; > + phy-names = "utmi"; > status = "okay"; > }; > > @@ -364,9 +372,13 @@ > }; > }; > > +&cp1_utmi { > + status = "okay"; > +}; > + > &cp1_usb3_0 { > /* CPS Lane 2 - CON7 */ > - phys = <&cp1_comphy2 0>; > - phy-names = "cp1-usb3h0-comphy"; > + phys = <&cp1_comphy2 0>, <&cp1_utmi0>; > + phy-names = "cp1-usb3h0-comphy", "utmi"; > status = "okay"; > }; > diff --git a/arch/arm64/boot/dts/marvell/cn9130-db.dts b/arch/arm64/boot/dts/marvell/cn9130-db.dts > index ce49a70d88a0..02218422509c 100644 > --- a/arch/arm64/boot/dts/marvell/cn9130-db.dts > +++ b/arch/arm64/boot/dts/marvell/cn9130-db.dts > @@ -390,14 +390,20 @@ > }; > }; > > +&cp0_utmi { > + status = "okay"; > +}; > + > &cp0_usb3_0 { > status = "okay"; > usb-phy = <&cp0_usb3_0_phy0>; > - phy-names = "usb"; > + phys = <&cp0_utmi0>; > + phy-names = "utmi"; > }; > > &cp0_usb3_1 { > status = "okay"; > usb-phy = <&cp0_usb3_0_phy1>; > - phy-names = "usb"; > + phys = <&cp0_utmi1>; > + phy-names = "utmi"; > }; > diff --git a/arch/arm64/boot/dts/marvell/cn9131-db.dts b/arch/arm64/boot/dts/marvell/cn9131-db.dts > index 3c975f98b2a3..17e189875182 100644 > --- a/arch/arm64/boot/dts/marvell/cn9131-db.dts > +++ b/arch/arm64/boot/dts/marvell/cn9131-db.dts > @@ -193,10 +193,14 @@ > }; > > /* CON58 */ > +&cp1_utmi { > + status = "okay"; > +}; > + > &cp1_usb3_1 { > status = "okay"; > usb-phy = <&cp1_usb3_0_phy0>; > /* Generic PHY, providing serdes lanes */ > - phys = <&cp1_comphy3 1>; > - phy-names = "usb"; > + phys = <&cp1_comphy3 1>, <&cp1_utmi1>; > + phy-names = "usb", "utmi"; > }; > diff --git a/arch/arm64/boot/dts/marvell/cn9132-db.dts b/arch/arm64/boot/dts/marvell/cn9132-db.dts > index 4ef0df3097ca..87da1dc3707c 100644 > --- a/arch/arm64/boot/dts/marvell/cn9132-db.dts > +++ b/arch/arm64/boot/dts/marvell/cn9132-db.dts > @@ -205,9 +205,14 @@ > }; > }; > > +&cp2_utmi { > + status = "okay"; > +}; > + > &cp2_usb3_0 { > status = "okay"; > usb-phy = <&cp2_usb3_0_phy0>; > + phys = <&cp2_utmi0>; > phy-names = "usb"; > }; > > @@ -215,7 +220,7 @@ > &cp2_usb3_1 { > status = "okay"; > usb-phy = <&cp2_usb3_0_phy1>; > - phy-names = "usb"; > /* Generic PHY, providing serdes lanes */ > - phys = <&cp2_comphy3 1>; > + phys = <&cp2_comphy3 1>, <&cp2_utmi1>; > + phy-names = "usb", "utmi"; > }; > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel