arm: tegra: Correct tap delay for all T30 sdhci controllers
naveenk [Wed, 25 Apr 2012 13:49:18 +0000 (18:49 +0530)]
Tap delay value of 0x0F is recommended by HW team

Bug 911075

Change-Id: I9b73e7203c0dcb1971073b1d7251d11d71eddff3
Reviewed-on: http://git-master/r/98796
(cherry picked from commit 637b073d6ff7d7d71c2e0e632b222ecc6850be23)
Reviewed-on: http://git-master/r/98763
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

arch/arm/mach-tegra/board-cardhu-sdhci.c
arch/arm/mach-tegra/board-enterprise-sdhci.c
arch/arm/mach-tegra/board-kai-sdhci.c

index 1e225de..1bc2573 100644 (file)
@@ -2,7 +2,7 @@
  * arch/arm/mach-tegra/board-harmony-sdhci.c
  *
  * Copyright (C) 2010 Google, Inc.
- * Copyright (C) 2011 NVIDIA Corporation.
+ * Copyright (C) 2011-2012 NVIDIA Corporation.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
@@ -144,8 +144,8 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = {
        .cd_gpio = -1,
        .wp_gpio = -1,
        .power_gpio = -1,
-/*     .tap_delay = 6,
-       .is_voltage_switch_supported = false,
+       .tap_delay = 0x0F,
+/*     .is_voltage_switch_supported = false,
        .vdd_rail_name = NULL,
        .slot_rail_name = NULL,
        .vdd_max_uv = -1,
@@ -158,8 +158,8 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = {
        .cd_gpio = CARDHU_SD_CD,
        .wp_gpio = CARDHU_SD_WP,
        .power_gpio = -1,
-/*     .tap_delay = 6,
-       .is_voltage_switch_supported = true,
+       .tap_delay = 0x0F,
+/*     .is_voltage_switch_supported = true,
        .vdd_rail_name = "vddio_sdmmc1",
        .slot_rail_name = "vddio_sd_slot",
        .vdd_max_uv = 3320000,
index c78db82..cd3b8b9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * arch/arm/mach-tegra/board-enterprise-sdhci.c
  *
- * Copyright (C) 2011 NVIDIA Corporation.
+ * Copyright (C) 2011-2012 NVIDIA Corporation.
  *
  * This software is licensed under the terms of the GNU General Public
  * License version 2, as published by the Free Software Foundation, and
@@ -144,6 +144,7 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = {
        .cd_gpio = -1,
        .wp_gpio = -1,
        .power_gpio = -1,
+       .tap_delay = 0x0F,
        .max_clk_limit = 45000000,
 };
 
@@ -151,6 +152,7 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = {
        .cd_gpio = -1,
        .wp_gpio = -1,
        .power_gpio = -1,
+       .tap_delay = 0x0F,
 };
 
 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = {
index 49af3a9..851494e 100644 (file)
@@ -114,8 +114,8 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = {
        .cd_gpio = -1,
        .wp_gpio = -1,
        .power_gpio = -1,
-/*     .tap_delay = 6,
-       .is_voltage_switch_supported = false,
+       .tap_delay = 0x0F,
+/*     .is_voltage_switch_supported = false,
        .vdd_rail_name = NULL,
        .slot_rail_name = NULL,
        .vdd_max_uv = -1,
@@ -129,8 +129,8 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = {
        .cd_gpio = KAI_SD_CD,
        .wp_gpio = -1,
        .power_gpio = -1,
-/*     .tap_delay = 6,
-       .is_voltage_switch_supported = true,
+       .tap_delay = 0x0F,
+/*     .is_voltage_switch_supported = true,
        .vdd_rail_name = "vddio_sdmmc1",
        .slot_rail_name = "vddio_sd_slot",
        .vdd_max_uv = 3320000,