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=-15.8 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, USER_AGENT_SANE_1 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 679F9C433E0 for ; Thu, 11 Feb 2021 10:44:01 +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 242AF64E23 for ; Thu, 11 Feb 2021 10:44:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 242AF64E23 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk 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=hVfLpRXYXGimy1fydKBBgMbALkES+YGd99DhjjqstQY=; b=0Xrrt72uet4jPbGpMfMw7F6yL ZQdF+yFc17LymsDO0XbniKL7WXRQrCA/Jmjd8FRqaoKZzKIPMVw7ApcoPmsHmQnMk0OU69BBN0R6B xzU1LF1gYxWehy7Yd5qwe5+wJ5NfBuPY4BuOzIKhHqaue1gEnQBiZtC7p/WPKWxIB4ATjuZUi+IHg LqxO8B7HwU+30cBGn9kFP6TVTGo6LVIy+0UU6mMYw4R9NRXmuLi4xkX6X8m2HyQs3I0cdzi4FzRc9 UdAaghYCvuebdEszYeohB0Ejt0Zo5aCGT85FMyEPkRbUlRs3kfTxJNWbF8VSFhxNN4MtpU5tTC4Z2 UyK/txUVA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lA9QO-0005J9-Mo; Thu, 11 Feb 2021 10:42:16 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lA9QL-0005IA-ES for linux-arm-kernel@lists.infradead.org; Thu, 11 Feb 2021 10:42:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=o7ab9JUxixDXYDGljSQP/l2L/YnDFISQ2zB4qQEZTdQ=; b=ykEfrmgkjmaiuzOQprM9Y1oBD k9hsfOAWLS41kgMHXWYx8CCkgq3qLq2bbF8JrMosFtESEA7mU6FQSZRUgh/AdIYXj20QNrNZZydE4 zraGp0eoC3sre/ssAP9k1HLvR11RCwMQ7Ff5XFES8T3pqr9Hbn+EC2w9ueCe532412F2Xr7bzd3qd 8X7w0FM9yegcjRRQqIAm6Aw6PWCXk+SMajIcvRxRSfznjn7Gwrnr4btvMM918Nxa5GzUwqLq9Ce86 SQjBAok/K3omRX6oueyaTn3EYpuG4JC9LvDIVMqird4Nftc2M8SW+Bc2b87QVSKQCyB6t9Gh5FqU4 IfYUoVKRg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:41982) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lA9QH-0005vl-R8; Thu, 11 Feb 2021 10:42:09 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lA9QG-00060n-RF; Thu, 11 Feb 2021 10:42:08 +0000 Date: Thu, 11 Feb 2021 10:42:08 +0000 From: Russell King - ARM Linux admin To: kostap@marvell.com Subject: Re: [PATCH v2 02/12] dts: mvebu: Update A8K AP806/AP807 SDHCI settings Message-ID: <20210211104208.GX1463@shell.armlinux.org.uk> References: <20210210140949.32515-1-kostap@marvell.com> <20210210140949.32515-3-kostap@marvell.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210210140949.32515-3-kostap@marvell.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210211_054213_553025_02AB13B3 X-CRM114-Status: GOOD ( 20.99 ) 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, andrew@lunn.ch, jaz@semihalf.com, gregory.clement@bootlin.com, linux-kernel@vger.kernel.org, nadavh@marvell.com, robh+dt@kernel.org, stefanc@marvell.com, mw@semihalf.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, Feb 10, 2021 at 04:09:39PM +0200, kostap@marvell.com wrote: > From: Konstantin Porotchkin > > Select the AP SDHCI PHY slow mode for AP806 die only (move it > from armada-ap80x.dtsi to armada-ap806.dtsi). This will allow > running AP807 based devices at HS400 speed. > Remove Ap SDHCI slow mode property from MacchiatoBin board DTS > since it is already selected on the SoC level. > > Signed-off-by: Konstantin Porotchkin Acked-by: Russell King > --- > arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 5 ----- > arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 12 ++++++++++++ > arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 1 - > 3 files changed, 12 insertions(+), 6 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > index 73733b4126e2..69653de998e2 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi > @@ -109,11 +109,6 @@ > > &ap_sdhci0 { > bus-width = <8>; > - /* > - * Not stable in HS modes - phy needs "more calibration", so add > - * the "slow-mode" and disable SDR104, SDR50 and DDR50 modes. > - */ > - marvell,xenon-phy-slow-mode; > no-1-8-v; > no-sd; > no-sdio; > diff --git a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi > index 866628679ac7..828cd539173b 100644 > --- a/arch/arm64/boot/dts/marvell/armada-ap806.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-ap806.dtsi > @@ -28,3 +28,15 @@ > reg = <0x278 0xa30>; > }; > }; > + > +&ap_sdhci0 { > + /* > + * SoC based on AP806 revision A0, A1 and A2 should use slow mode > + * settings for Ap SDHCI due to HW Erratum HWE-7296210 > + * AP806 revesion B0 and later has this erratum fixed and the slow > + * mode could be removed in board DTS: > + * /delete-property/marvell,xenon-phy-slow-mode; > + * Starting from B0 revision, the AP SDHCI can run with HS400 timing. > + */ > + marvell,xenon-phy-slow-mode; > +}; > diff --git a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi > index 12e477f1aeb9..edd6131a0587 100644 > --- a/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi > +++ b/arch/arm64/boot/dts/marvell/armada-ap80x.dtsi > @@ -257,7 +257,6 @@ > clock-names = "core"; > clocks = <&ap_clk 4>; > dma-coherent; > - marvell,xenon-phy-slow-mode; > status = "disabled"; > }; > > -- > 2.17.1 > > -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel