diff options
author | Pavan Kunapuli <pkunapuli@nvidia.com> | 2011-02-08 03:08:04 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:45:35 -0800 |
commit | 4cfdd4045cdf20ce9c6a157157a91f52b2d1a32f (patch) | |
tree | d6368c43e7a277cd41ea26ed18edd6b2a822e963 /arch/arm/mach-tegra/board-cardhu-sdhci.c | |
parent | c5a57bf3d3be250c23b60118d79a8cf77fd7f384 (diff) |
ARM: tegra: cardhu:Passing sd power rails through platform data
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
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sdhci.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-sdhci.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sdhci.c b/arch/arm/mach-tegra/board-cardhu-sdhci.c index 2178def02573..31c2befb4d38 100644 --- a/arch/arm/mach-tegra/board-cardhu-sdhci.c +++ b/arch/arm/mach-tegra/board-cardhu-sdhci.c @@ -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 = { |