From 29b19ff42a7d4c609f824c13ca139eef7332ff1f Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 24 Jun 2014 13:47:49 +0200 Subject: 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. --- arch/arm/mach-tegra/board-colibri_t30.c | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/arm/mach-tegra/board-colibri_t30.c') diff --git a/arch/arm/mach-tegra/board-colibri_t30.c b/arch/arm/mach-tegra/board-colibri_t30.c index 39f0b7c7d8a0..6e6df2afb004 100644 --- a/arch/arm/mach-tegra/board-colibri_t30.c +++ b/arch/arm/mach-tegra/board-colibri_t30.c @@ -697,6 +697,7 @@ static struct tegra_sdhci_platform_data colibri_t30_sdcard_platform_data = { .power_gpio = -1, .tap_delay = 0x0f, .wp_gpio = -1, + .no_1v8 = 1, }; static void __init colibri_t30_sdhci_init(void) -- cgit v1.2.3