Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp297228pxb; Wed, 3 Feb 2021 06:01:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5alUk9exhRToOBDK3QH5WeHTY/8+BKYE2U/XMfV09ZG51Kzz5f0+zLgOGAgtHvrQ72eu7 X-Received: by 2002:a17:906:8416:: with SMTP id n22mr3384177ejx.32.1612360863786; Wed, 03 Feb 2021 06:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612360863; cv=none; d=google.com; s=arc-20160816; b=oS+cC9NHfjyXC39/zkybkzE5qqEy8jwS0Bo+y7dQFOFDC+5slrLH23sIMIK3rR7zu+ W504NowAES/ZuFKI2njJhM1HErsS+FCbtExtEmx7govU29uSkot1uGldMKfy+kh/t6j6 KhISMALHCGIPDeDy18OxHV2xuLzofoIFOZ/tMnxxIkX0jtm9QlAzn5iZnYA6uZxqvTOh gyk7i4kkPrPJCiIb+jlnXRjt5VdQgln2GBBe/IbWM4Ht8shPIG8L7MDXY2Xjwa1Leq1a 3IUONh88vihDZ2K9muuMhAAkq22J5ZkUEm5s5CZ31hKxHVr+pwlRrmud1dUISpvJRXxj nmcg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:in-reply-to:subject :cc:to:from:user-agent:references; bh=ETA2Xdx1PtfYkaWtnjHerl/bO3sq5H1RlFotqoIYSA0=; b=o2u7Wdd9YKR7nYIM5BTvM6id4/mHfr/l8EsD0SM01DT65zw0b6Y7Ce7OhllBLnhYKn W6rCWpZPnnTw7qRuzK9U9YeR/snq/r7OUJwiF72JqH4eUZr0W4NyfaIOZZMkr0/ABYAx qT89R0TnibUlyD7cBo96qxYZIaagpR8Ye0mO2kQZoK/Yt63dnJ2papiGQoUZ/sINLM9z cWq4iUldW6yGf65FILRnBv1mGc4MGYOgCrJU4EqHdSCt5EjsfXOaN0B3Seg19ODmUmXB iy0CUJAf5PtnAdBWisk+R7jD7B8MOgv5EI+foaKPkUCc7EwJcoai2NsAHVIA9Oiu6byo DYKg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qp24si1490598ejb.563.2021.02.03.06.00.36; Wed, 03 Feb 2021 06:01:03 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230380AbhBCN7m (ORCPT + 99 others); Wed, 3 Feb 2021 08:59:42 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:35412 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232193AbhBCN7X (ORCPT ); Wed, 3 Feb 2021 08:59:23 -0500 Received: from tarshish (unknown [10.0.8.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id B0E80440849; Wed, 3 Feb 2021 15:58:37 +0200 (IST) References: <20210203133138.10754-1-kostap@marvell.com> <20210203133138.10754-3-kostap@marvell.com> User-agent: mu4e 1.4.15; emacs 27.1 From: Baruch Siach To: kostap@marvell.com Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, andrew@lunn.ch, jaz@semihalf.com, gregory.clement@bootlin.com, linux@armlinux.org.uk, nadavh@marvell.com, robh+dt@kernel.org, stefanc@marvell.com, mw@semihalf.com, bpeled@marvell.com, sebastian.hesselbarth@gmail.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH 02/11] dts: mvebu: Update A8K AP806 SDHCI settings In-reply-to: <20210203133138.10754-3-kostap@marvell.com> Date: Wed, 03 Feb 2021 15:58:37 +0200 Message-ID: <87h7mtckxe.fsf@tarshish> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Konstantin, On Wed, Feb 03 2021, kostap@marvell.com wrote: > From: Konstantin Porotchkin > > Update the settings for AP806 SDHCI interface according to > latest Xenon drivers changes. > - no need to select the PHY slow mode anymore Why? Has anything changed since the introduction of marvell,xenon-phy-slow-mode? baruch > - recommended to add HS400 support at 1.8V signalling on AP806-B0 > - fix the bus witdth for A8040 DB from 4 to 8 bits. > > Signed-off-by: Konstantin Porotchkin > --- > arch/arm64/boot/dts/marvell/armada-8040-db.dts | 11 ++++++++++- > arch/arm64/boot/dts/marvell/armada-8040-mcbin.dtsi | 5 ----- > arch/arm64/boot/dts/marvell/armada-ap80x.dtsi | 1 - > 3 files changed, 10 insertions(+), 7 deletions(-) > > diff --git a/arch/arm64/boot/dts/marvell/armada-8040-db.dts b/arch/arm64/boot/dts/marvell/armada-8040-db.dts > index 09fb5256f1db..6362e654a823 100644 > --- a/arch/arm64/boot/dts/marvell/armada-8040-db.dts > +++ b/arch/arm64/boot/dts/marvell/armada-8040-db.dts > @@ -347,7 +347,16 @@ > > &ap_sdhci0 { > status = "okay"; > - bus-width = <4>; > + bus-width = <8>; > + /* The below property should be added to boards with AP806-B0 > + * for enabling HS400 speed mode. Otherwise the device highest > + * speed mode will be HS200. > + * Should not be added to boards with earlier release of AP806 > + * since it will cause SDHCI driver to fail upon initialization. > + * Reference - HWE-7296210 (errata for releases A0/A1/A2) > + * > + * mmc-hs400-1_8v; > + */ > non-removable; > }; > > 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-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"; > }; -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -