summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board-apalis_t30.c
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2014-06-24 13:47:49 +0200
committerStefan Agner <stefan.agner@toradex.com>2014-07-21 14:26:21 +0200
commit29b19ff42a7d4c609f824c13ca139eef7332ff1f (patch)
treeb23a3d8879cc473d9804582ceee93e24452119f6 /arch/arm/mach-tegra/board-apalis_t30.c
parentff09771639a39c834f364a75faa49bc44bac901e (diff)
mmc: tegra: use 1.8V quirk only on affected instances
The 1.8V quirk also affected the internal eMMC which disabled newer modes such as SDR50, SDR104 and DDR50. This in turn lead to an out of spec usage since the clock was still 50MHz. By creating a no_1v8 field in the platform data we can now enable this work around on a per-instance basis. Hence we enable the quirk only on the controllers which are connected to the external SD-slots.
Diffstat (limited to 'arch/arm/mach-tegra/board-apalis_t30.c')
-rw-r--r--arch/arm/mach-tegra/board-apalis_t30.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-apalis_t30.c b/arch/arm/mach-tegra/board-apalis_t30.c
index 5755ff9adce2..d7e5396220e9 100644
--- a/arch/arm/mach-tegra/board-apalis_t30.c
+++ b/arch/arm/mach-tegra/board-apalis_t30.c
@@ -637,6 +637,7 @@ static struct tegra_sdhci_platform_data apalis_t30_mmccard_platform_data = {
.power_gpio = -1,
.tap_delay = 0x0f,
.wp_gpio = -1,
+ .no_1v8 = 1,
};
static struct tegra_sdhci_platform_data apalis_t30_sdcard_platform_data = {
@@ -646,6 +647,7 @@ static struct tegra_sdhci_platform_data apalis_t30_sdcard_platform_data = {
.power_gpio = -1,
.tap_delay = 0x0f,
.wp_gpio = -1,
+ .no_1v8 = 1,
};
static void __init apalis_t30_sdhci_init(void)