linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yangbo Lu <yangbo.lu@freescale.com>
To: linux-mmc@vger.kernel.org, ulf.hansson@linaro.org
Cc: Yangbo Lu <yangbo.lu@freescale.com>
Subject: [v2, 6/8] mmc: sdhci-of-esdhc: add tuning cycles delay quirk for t2080/t1040
Date: Thu, 17 Sep 2015 13:50:52 +0800	[thread overview]
Message-ID: <1442469054-23644-6-git-send-email-yangbo.lu@freescale.com> (raw)
In-Reply-To: <1442469054-23644-1-git-send-email-yangbo.lu@freescale.com>

Signed-off-by: Yangbo Lu <yangbo.lu@freescale.com>
---
 drivers/mmc/host/sdhci-of-esdhc.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
index bffc8c4..5aabadf 100644
--- a/drivers/mmc/host/sdhci-of-esdhc.c
+++ b/drivers/mmc/host/sdhci-of-esdhc.c
@@ -470,6 +470,10 @@ static int sdhci_esdhc_probe(struct platform_device *pdev)
 	    of_device_is_compatible(np, "fsl,t1040-esdhc"))
 		host->quirks &= ~SDHCI_QUIRK_BROKEN_CARD_DETECTION;
 
+	if (of_device_is_compatible(np, "fsl,t1040-esdhc") ||
+	    of_device_is_compatible(np, "fsl,t2080-esdhc"))
+		host->quirks2 |= SDHCI_QUIRK2_DELAY_BETWEEN_TUNING_CYCLES;
+
 	if (of_device_is_compatible(np, "fsl,p2020-esdhc")) {
 		/*
 		 * Freescale messed up with P2020 as it has a non-standard
-- 
2.1.0.27.g96db324


  parent reply	other threads:[~2015-09-17  5:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  5:50 [v2, 1/8] mmc: sdhci: add a callback of signal voltage switching Yangbo Lu
2015-09-17  5:50 ` [v2, 2/8] mmc: sdhci: add a callback of tuning block setting Yangbo Lu
2015-09-17  5:50 ` [v2, 3/8] mmc: dt: add DT bindings for Freescale eSDHC Yangbo Lu
2015-09-17  5:50 ` [v2, 4/8] mmc: sdhci-of-esdhc: add eMMC Adapter Card HS200 mode support Yangbo Lu
2015-09-17  5:50 ` [v2, 5/8] mmc: sdhci: add SDHCI_QUIRK2_DELAY_BETWEEN_TUNING_CYCLES quirk Yangbo Lu
2015-09-17  5:50 ` Yangbo Lu [this message]
2015-09-17  5:50 ` [v2, 7/8] mmc: sd: set 4bit bus width after IO signal voltage switching Yangbo Lu
2015-09-17  5:50 ` [v2, 8/8] mmc: sdhci-of-esdhc: add SDR50 mode support for SD/MMC Legacy Adapter Card Yangbo Lu
2015-10-16 13:18 ` [v2, 1/8] mmc: sdhci: add a callback of signal voltage switching Ulf Hansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1442469054-23644-6-git-send-email-yangbo.lu@freescale.com \
    --to=yangbo.lu@freescale.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).