Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp977066pxk; Thu, 10 Sep 2020 03:58:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzSb6O/V0ahoPu7JQy45zlNXjXajX8ItmpUYxDKTZzDq7JKpEc39msgmwDChXNB00k65+V7 X-Received: by 2002:aa7:dcd2:: with SMTP id w18mr8825015edu.288.1599735498488; Thu, 10 Sep 2020 03:58:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599735498; cv=none; d=google.com; s=arc-20160816; b=cbvubhry14yfgFHudx+gnZrczlAN4bXx+qKcxKpUu261kY4/niWMgyAiBJ40Gi2cer z1F6Nrjcud+QrCoGw0FfiqyoFwy1yEx2JUlz52qpNjYHGTvyvZTruUE/HvLOJzOvDLG6 dHqSc16dRSTIK83yXoDx23LLHBOxEf5CfhLDr+agJ+ETykCxcYciy+ZmqXldDrEEURVv R4u7d80dBRllAr9wf1d+iuGFjeNH7MpV47v9WULTdfyNFN3CyCppGarCi9MJ4G6LIcw1 tMvmb6RQKjjKfvtVj5ZxcYr0L54ajjAWRtFCKnjANru9DmLRy/huo+D0lZkzcDzmBmU1 whXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=sL1+RarEw/M9rJBb5UPxjs0rtv85M8sBG+GXBnTRj30=; b=OTOUtGBoBo2lwzMqLCdJIlivjBre8xAlMZo7esD6Vu5M9O6xMjik+HJh/2QQUk5vqv Sfb6hzdDk2OcB/CWLAmxJaI/iK5xx87F5eaCAMYT2U+qdQQBFZ+8VU3KH38kqIabQRVY TP9SxyaVyy+EyCloFynhXejbSNXSAouUTS+kQ7t/mzTiUhpuTs8tHBq4Xk0MJ35k1sOY ccORaLiwwT4VmvtkX4jLrxbTbpEuJ8mXCdHAuexj5WKdme4MNRH0X8wdJQpdgAOvYsdm 7Ym13MskBcdFr5cUGdMCz6ffIJ71GYYzpDjwrilVbiKRH4bGHKChxCg8usGp6WORZfGr QIHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm3 header.b=esbEhAYA; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=a6Ib4TWa; 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 fi13si3254223ejb.490.2020.09.10.03.57.56; Thu, 10 Sep 2020 03:58:18 -0700 (PDT) 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=pass header.i=@aj.id.au header.s=fm3 header.b=esbEhAYA; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=a6Ib4TWa; 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 S1727820AbgIJK5I (ORCPT + 99 others); Thu, 10 Sep 2020 06:57:08 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56179 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730277AbgIJKzD (ORCPT ); Thu, 10 Sep 2020 06:55:03 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4607E5C10C1; Thu, 10 Sep 2020 06:55:02 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 10 Sep 2020 06:55:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=sL1+RarEw/M9r JBb5UPxjs0rtv85M8sBG+GXBnTRj30=; b=esbEhAYArRbdZBpvZ8fBIJUSgz8PB UkvMvKRCsBLYipmil3rMY1HE+q/ON8txHsN/z2QbGBOpn/IHVI2RuDJTyK5AVFCw yi8KQojSOsXuPTLbYD8Fg6Kn34ul8YLQwje/4rsd/zyCiNSWLGgLp1mi5l3sq5Fw xeTNsRck6/zghjf8vgavXe31T2b2gh2yd30nGMW18QrRjuV8z26didwhxS9geYcD Dx3NpDM9tY9sdg77LJlwMqYKBrnnd9a7Bd9ztr8mHJuIGbFaqzv22bRHcWASCRYK pWWB+1UJTKW3fekzeCK7U6crHn1hqDzC5BOGvxcvfYEi9Lr4gpAXjzTfQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=sL1+RarEw/M9rJBb5UPxjs0rtv85M8sBG+GXBnTRj30=; b=a6Ib4TWa 0KsKGVwBorqP+i122RuauIYgmPu7q4kjbag9g1cwWH24s+Nay6jWFr8Q2gaX8xxK mRpHo1kTSWfk5qImSc5hBmQnQn1iIG3YBH4G4/y/5IHW5kX6214ei1EBpo0pOlpo s1gxJdYLJUhgMiLja1mXReMvHL4yr9H353j7RL+QM7kmPaAdyUhT3ZC3vmDXdESm 2VTjCWvg0jhSs6g1TJr3ueHusxxuCYAd+3vkDAZwPnFqem+sCLp8FsdhNwJw1K3e t6CjiUJx8mnQ93JvdxK78SSHxwcb5GupgmhFBhDVb9hut19ajlFfrJfPcUtDJeHR 8nzo0anIe4xKYw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehjedgvdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehnughrvgifucflvghffhgvrhihuceorghnughrvgifsegr jhdrihgurdgruheqnecuggftrfgrthhtvghrnhepjefgvdevheetkeevgeegleelgfelte etjeffleffvdduudevieffgeetleevhfetnecukfhppedugedrvddruddtledrkeehnecu vehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvg ifsegrjhdrihgurdgruh X-ME-Proxy: Received: from localhost.localdomain (ppp14-2-109-85.adl-apt-pir-bras32.tpg.internode.on.net [14.2.109.85]) by mail.messagingengine.com (Postfix) with ESMTPA id 15D673064674; Thu, 10 Sep 2020 06:54:58 -0400 (EDT) From: Andrew Jeffery To: linux-mmc@vger.kernel.org Cc: adrian.hunter@intel.com, ulf.hansson@linaro.org, joel@jms.id.au, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/3] ARM: dts: tacoma: Add data sample phase delay for eMMC Date: Thu, 10 Sep 2020 20:24:40 +0930 Message-Id: <20200910105440.3087723-4-andrew@aj.id.au> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200910105440.3087723-1-andrew@aj.id.au> References: <20200910105440.3087723-1-andrew@aj.id.au> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Adjust the phase delay to avoid data timeout splats like the following: [ 731.368601] mmc0: Timeout waiting for hardware interrupt. [ 731.374644] mmc0: sdhci: ============ SDHCI REGISTER DUMP =========== [ 731.381828] mmc0: sdhci: Sys addr: 0x00000020 | Version: 0x00000002 [ 731.389012] mmc0: sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000020 [ 731.396194] mmc0: sdhci: Argument: 0x00462a18 | Trn mode: 0x0000002b [ 731.403377] mmc0: sdhci: Present: 0x01f70106 | Host ctl: 0x00000017 [ 731.410559] mmc0: sdhci: Power: 0x0000000f | Blk gap: 0x00000000 [ 731.417733] mmc0: sdhci: Wake-up: 0x00000000 | Clock: 0x00000107 [ 731.424915] mmc0: sdhci: Timeout: 0x0000000e | Int stat: 0x00000000 [ 731.432098] mmc0: sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b [ 731.439282] mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000 [ 731.446464] mmc0: sdhci: Caps: 0x01f80080 | Caps_1: 0x00000007 [ 731.453647] mmc0: sdhci: Cmd: 0x0000193a | Max curr: 0x001f0f08 [ 731.460829] mmc0: sdhci: Resp[0]: 0x00000900 | Resp[1]: 0xffffffff [ 731.468013] mmc0: sdhci: Resp[2]: 0x320f5913 | Resp[3]: 0x00000900 [ 731.475195] mmc0: sdhci: Host ctl2: 0x0000008b [ 731.480139] mmc0: sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0xbe040200 [ 731.487321] mmc0: sdhci: ============================================ Signed-off-by: Andrew Jeffery --- arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts index 5f4ee67ac787..94ec301ceb73 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts @@ -179,6 +179,8 @@ &emmc_controller { &emmc { status = "okay"; + aspeed,input-phase = <0x7>; + aspeed,output-phase = <0x1f>; }; &fsim0 { -- 2.25.1