summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-04-18 14:15:11 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2013-04-18 14:15:11 +0200
commit5cfcbc23d116927a7ae8d5b67baeacf2905b21f9 (patch)
tree2c56406c1268ab9ba839da86948851e4f0eb0f06 /drivers
parente892379bb58aed6db12e45d033f99f532055a1b4 (diff)
apalis/colibri_t30: mmc: sdhci: hack to make newer cards work
SDR12, SDR25, SDR50, SDR104 and DDR50 all require 1.8V signalling which our current T30 designs can't do. Newer cards will fail as follows: Kingston 32GB microSDHC class 10 [ 69.000280] mmc1: error -84 whilst initialising SD card SanDisk Mobile Ultra 8GB microSDHC I [ 28.289174] mmc1: error -110 whilst initialising SD card This patch activates a quirk which signals our lack of 1.8V support.
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/sdhci-tegra.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c
index 8ff35e4cbfe4..ffa8f7050a4c 100644
--- a/drivers/mmc/host/sdhci-tegra.c
+++ b/drivers/mmc/host/sdhci-tegra.c
@@ -942,7 +942,12 @@ static struct sdhci_pltfm_data sdhci_tegra_pdata = {
SDHCI_QUIRK_NO_HISPD_BIT |
SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC |
SDHCI_QUIRK_NO_CALC_MAX_DISCARD_TO |
- SDHCI_QUIRK_BROKEN_CARD_DETECTION,
+ SDHCI_QUIRK_BROKEN_CARD_DETECTION |
+#if defined(CONFIG_MACH_APALIS_T30) || defined(CONFIG_MACH_COLIBRI_T30)
+/* Hack: SDR12, SDR25, SDR50, SDR104 and DDR50 all require 1.8V signalling which
+ our current T30 designs can't do. */
+ SDHCI_QUIRK2_NO_1_8_V,
+#endif
.ops = &tegra_sdhci_ops,
};