arm: Tegra: Ventana: power gpio modification
Ramalingam C [Tue, 28 Feb 2012 14:02:10 +0000 (19:02 +0530)]
Correction on the power_gpio assignement for SD and eMMC platform data.

TEGRA_GPIO_PI6 is assigned to power_gpio of tegra_sdhci_platform_data2

Since no gpio control is there for eMMC power rails power_gpio of
tegra_sdhci_platform_data3 is initialized to -1.

Change-Id: I5b18f09c01668e304425dee92f024be69d3e0448
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/86355
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>

arch/arm/mach-tegra/board-ventana-sdhci.c

index 8a99d92..49720cd 100644 (file)
@@ -137,14 +137,14 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = {
 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = {
        .cd_gpio = TEGRA_GPIO_PI5,
        .wp_gpio = TEGRA_GPIO_PH1,
-       .power_gpio = TEGRA_GPIO_PT3,
+       .power_gpio = TEGRA_GPIO_PI6,
 };
 
 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = {
        .is_8bit = 1,
        .cd_gpio = -1,
        .wp_gpio = -1,
-       .power_gpio = TEGRA_GPIO_PI6,
+       .power_gpio = -1,
        .mmc_data = {
                .built_in = 1,
        }