Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2041146pxb; Thu, 11 Feb 2021 02:48:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcvpSSc77F0sLidVxnfHiu3RlF2/DHR49vrCEb0gBLB3pxP44vIbR3T1xw9NFfv/9jfL1C X-Received: by 2002:a17:906:1bf2:: with SMTP id t18mr8188424ejg.166.1613040505535; Thu, 11 Feb 2021 02:48:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613040505; cv=none; d=google.com; s=arc-20160816; b=anAs2X2n8gvxtILhUuQEPjqhcpYuqWlX8LaDT/PA+v6jy4gFE9mlymHz1hy+E7F8g4 AXwxbFiqUj1eJLOKHv9hoBd2mgaDVbrxLLV4CMSTBjISTfkCFZChTBivaoMyVMdJ1p27 uWMAxmAIbRAllBykd4OKFuAIplvpoC9f0oMy+eVsRxjjWS45CnkBdAE+++2QMfltyhYt qeGpimFa6BmXsmzqUUH1Snki7txm2uTt61uj3Bo01t6C2+roIc53Vi/ljCgv7KPr+RaR cEhEwrMtGT0zkSjTOSijd5A0SRlDtM0J4HIHAxUxbFy7FfxIITd/1UD9ebprtxvYMgB/ G3Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=o7ab9JUxixDXYDGljSQP/l2L/YnDFISQ2zB4qQEZTdQ=; b=iGcp8dmRxLpmcGYmAZLswYLUPs0FKQY25xTr0iWmUv1yFcan7q3kDjJpXUiz2K3jtO eCpc9n/X7haU9D9I+8daa6V0bdMzA5rFfk3AgjWWjm2oynnq6H6OFFe9U0wyggjkkpQm 6rWaCGPF7XDuPCMRnyh9Lckx6G96xtF8ugaEGP20boW5c9+Iv96XvYO1m0SjkhfaU5y3 JV8dJaumIzHh8Lh77+Q+XQfXUhLFn6uMDCCsSUJJY6Lbl2MiI5NPx2cJdNGpTJ+pm8XJ tJ8c7nUnzXYtxFCsko+gqfNriZTc+thtCwRkoAF9kpQzTZsEV4KqIGQFKUk/X3HQHvTe PmJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ykEfrmgk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id fx25si3453293ejb.58.2021.02.11.02.48.01; Thu, 11 Feb 2021 02:48:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=ykEfrmgk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229961AbhBKKp4 (ORCPT + 99 others); Thu, 11 Feb 2021 05:45:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbhBKKnN (ORCPT ); Thu, 11 Feb 2021 05:43:13 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5819C0613D6; Thu, 11 Feb 2021 02:42:12 -0800 (PST) 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 Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, robh+dt@kernel.org, sebastian.hesselbarth@gmail.com, gregory.clement@bootlin.com, andrew@lunn.ch, mw@semihalf.com, jaz@semihalf.com, nadavh@marvell.com, stefanc@marvell.com, bpeled@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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210210140949.32515-3-kostap@marvell.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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!