ARM: tegra: cardhu:Passing sd power rails through platform data
Pavan Kunapuli [Tue, 8 Feb 2011 11:08:04 +0000 (03:08 -0800)]
Passing sd power rails through platform data.
Adding max_clk limits for all sdmmc instances.

Bug 786239

Original-Change-Id: I5b0e66a58ba30dbe3ed9b745df6945a6184f08aa
Reviewed-on: http://git-master/r/18698
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Venkata Nageswara Penumarty <vpenumarty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I07b9a747ab5050e4ceff4b90eabb3d4840b46d72

Rebase-Id: R7f900e7da93aca1347710ecb036a1733fe03de0a

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

index 2178def..31c2bef 100644 (file)
@@ -77,6 +77,10 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = {
        .wp_gpio = -1,
        .power_gpio = -1,
        .tap_delay = 6,
+       .is_voltage_switch_supported = false,
+       .vsd_name = NULL,
+       .vsd_slot_name = NULL,
+       .max_clk = 48000000,
 };
 
 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = {
@@ -86,6 +90,10 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = {
        .wp_gpio = -1,
        .power_gpio = -1,
        .tap_delay = 6,
+       .is_voltage_switch_supported = true,
+       .vsd_name = "vddio_sdmmc1",
+       .vsd_slot_name = "vddio_sd_slot",
+       .max_clk = 104000000,
 };
 
 static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = {
@@ -95,6 +103,10 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = {
        .wp_gpio = -1,
        .power_gpio = -1,
        .tap_delay = 6,
+       .is_voltage_switch_supported = false,
+       .vsd_name = NULL,
+       .vsd_slot_name = NULL,
+       .max_clk = 48000000,
 };
 
 static struct platform_device tegra_sdhci_device0 = {