Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2691221yba; Mon, 6 May 2019 10:03:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqw0DOy1w/js5CwezrfiaIUs4fY3cuxwf147/IzLS2P+zWggEneFo1eLfB9Jt6bCGRftzN2Y X-Received: by 2002:a63:af0a:: with SMTP id w10mr33252507pge.67.1557162197140; Mon, 06 May 2019 10:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557162197; cv=none; d=google.com; s=arc-20160816; b=ioOzxFW3MTlxBTUTKCnVWew5Bl3VKsEBYMj7i2+a0Hk+Q2woDHWVZ/uc2BWFzq91ps sobP6Om89Q33BKDLYaVcN5Zzhck2HTdKLiC7SSOrt5J37AiTmBzb3P+FsS5QTBh29pL+ z5ySk8R39kaC2AwC4klqvYjBreQeQraebdCUZibr5KcfTXM+nxWDP1Vt7q+JJt9oY5GT Cx2qpjNnPLb13Sw5uxGKQk1Og5B3aK0+O+kmdYZ6a9vSLC+lm4uNIHi7CnfK6/+fwtXQ H8RaTD8hkG9dAkj7inYlImkZAyl3N+/+ijXMheWVaRDKWHhUlhieAsQWRq7O8bd+tZXJ vdLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=8NEZr+lKEciEtlqvodjs9s9WnuQgHUyLTCz6jchZs+U=; b=qPGQxT89bewQ6BLDR+QstCQeb7akUeqOldSRVXI2FlBipuguzhagdW1ycQwjp6nAlZ JF80eSGGYq50hG3vtTITNyGC9Psnsye0Ir8cqynHsQLcCefQArwXEMbaA/9pCuS+jNPi cI04Cf9lJ/N1kklAtdDV0gXbGEqFJMLC9rTRv14Vi7ADtYPhcl4kh+iD05SkYTg4RU7W yHugZnNSGOys8m8hHhSJdDyXu4I61ER+8wA0QfwgAyFtuoqRi8nPGsykrwh5QT4i8QqI c8saoXYhjMeQKfI8bWGfoAKd+dF+kS+rQ6HTHWyLuDe2MQQliuBHsE+y5QupGGTy+39f KZkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="I8H0Zyd/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si12741640pgp.35.2019.05.06.10.03.01; Mon, 06 May 2019 10:03:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b="I8H0Zyd/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727109AbfEFRBl (ORCPT + 99 others); Mon, 6 May 2019 13:01:41 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:38032 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727068AbfEFRBi (ORCPT ); Mon, 6 May 2019 13:01:38 -0400 Received: by mail-pf1-f196.google.com with SMTP id 10so7093663pfo.5 for ; Mon, 06 May 2019 10:01:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8NEZr+lKEciEtlqvodjs9s9WnuQgHUyLTCz6jchZs+U=; b=I8H0Zyd/6abn7dp3fZUDD5BAADvTaLKVYQyECZWLsA+qoSdkJoPxMGWvXMYSmE+/5G HzeDykXqLtteyK90RTj5aDi0qjBFqibsa+GjQowv7CvI4t4HoQ0B+whnCgg6mnRxPAmq rvEHs/YNkC5QnX8Er4iEBGvy+hpKN/5FlJYqk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=8NEZr+lKEciEtlqvodjs9s9WnuQgHUyLTCz6jchZs+U=; b=i+MUjFo7n63nUmxWCA37C+fjx/0fS6ABg0iSBS/H34igZvQ1E+9ariFBbj4rrv+hAE 7SE/HDKp80ZELbQQBGHDh/hkfyHxAFcpeJSWublIk9hoUlYL0O7ayvxhViRLik7hbJeM x9PU1YQkcKV1xSjCMH5xrw1fVl4Mm8lu5EOmh9c+9e8QfOivq4MoxTkQj1kJweZ9ETOZ 80jFDrjoTaYm1jATD33+2UPzFnfHrs1hP4cRpr4Z508JKA/ax+7JSsYsXofpQ2OI74Uv QzYDzba8U2ruYE96WV7twP1iFK1efQc1+WrfvBOUhrGCUO/H1Z4YFDKVnkE2rOoiPR/c fsGQ== X-Gm-Message-State: APjAAAWoVtFOmFPn+c1Nq7axCxLabPuXd+aT6LAEPYlCWI7POFlWpewA 6IsN/oljFhVwYrPDC8uQEosstg== X-Received: by 2002:a63:165f:: with SMTP id 31mr33584426pgw.321.1557162098028; Mon, 06 May 2019 10:01:38 -0700 (PDT) Received: from lbrmn-lnxub113.broadcom.net ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id l23sm4555644pgh.68.2019.05.06.10.01.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 May 2019 10:01:37 -0700 (PDT) From: Scott Branden To: Adrian Hunter , Ulf Hansson , Ray Jui , Scott Branden , Stefan Wahren Cc: BCM Kernel Feedback , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Trac Hoang , Scott Branden Subject: [PATCH 2/2] mmc: sdhci-iproc: Set NO_HISPD bit to fix HS50 data hold time problem Date: Mon, 6 May 2019 10:01:15 -0700 Message-Id: <20190506170115.10840-3-scott.branden@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190506170115.10840-1-scott.branden@broadcom.com> References: <20190506170115.10840-1-scott.branden@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Trac Hoang The iproc host eMMC/SD controller hold time does not meet the specification in the HS50 mode. This problem can be mitigated by disabling the HISPD bit; thus forcing the controller output data to be driven on the falling clock edges rather than the rising clock edges. Fixes: f5f968f2371c ("mmc: sdhci-iproc: suppress spurious interrupt with Multiblock read") Signed-off-by: Trac Hoang Signed-off-by: Scott Branden --- drivers/mmc/host/sdhci-iproc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhci-iproc.c b/drivers/mmc/host/sdhci-iproc.c index 9d4071c41c94..2feb4ef32035 100644 --- a/drivers/mmc/host/sdhci-iproc.c +++ b/drivers/mmc/host/sdhci-iproc.c @@ -220,7 +220,8 @@ static const struct sdhci_iproc_data iproc_cygnus_data = { static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = { .quirks = SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK | - SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12, + SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 | + SDHCI_QUIRK_NO_HISPD_BIT, .quirks2 = SDHCI_QUIRK2_ACMD23_BROKEN, .ops = &sdhci_iproc_ops, }; -- 2.17.1