diff options
author | Pavan Kunapuli <pkunapuli@nvidia.com> | 2011-04-26 17:03:55 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:45:49 -0800 |
commit | c4b6dd6a3163028e12f4dc7a14982ff7a0055c0d (patch) | |
tree | 8ca69734ed5916ed83a3dadc741ff657ecd45da6 /arch/arm/mach-tegra/board-cardhu-sdhci.c | |
parent | 30fc7cff87f41306c1952f4e00bef45ff4bc45dc (diff) |
Sdhci:tegra:Switch OFF/ON power rails in suspend/resume
Switching off and switching on the power rails during
suspend and resume. Passing the power rail name, maxV
and minV through platform data.
Bug 793796
Original-Change-Id: I6c80c1a23c9681043d11ffdd210dc6d2146bdd2e
Reviewed-on: http://git-master/r/29660
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Rebase-Id: Rf38a0a31b35d86cf1014aeb2d04bbc74181298c7
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu-sdhci.c')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu-sdhci.c | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu-sdhci.c b/arch/arm/mach-tegra/board-cardhu-sdhci.c index 3368010a5da9..701c8bb24407 100644 --- a/arch/arm/mach-tegra/board-cardhu-sdhci.c +++ b/arch/arm/mach-tegra/board-cardhu-sdhci.c @@ -82,8 +82,10 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data0 = { .power_gpio = -1, .tap_delay = 6, .is_voltage_switch_supported = false, - .vsd_name = NULL, - .vsd_slot_name = NULL, + .vdd_rail_name = NULL, + .slot_rail_name = NULL, + .vdd_max_uv = -1, + .vdd_min_uv = -1, .max_clk = 48000000, .is_8bit_supported = false, }; @@ -96,8 +98,10 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data2 = { .power_gpio = -1, .tap_delay = 6, .is_voltage_switch_supported = true, - .vsd_name = "vddio_sdmmc1", - .vsd_slot_name = "vddio_sd_slot", + .vdd_rail_name = "vddio_sdmmc1", + .slot_rail_name = "vddio_sd_slot", + .vdd_max_uv = 3320000, + .vdd_min_uv = 3280000, .max_clk = 208000000, .is_8bit_supported = false, }; @@ -110,8 +114,10 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = { .power_gpio = -1, .tap_delay = 6, .is_voltage_switch_supported = false, - .vsd_name = NULL, - .vsd_slot_name = NULL, + .vdd_rail_name = NULL, + .slot_rail_name = NULL, + .vdd_max_uv = -1, + .vdd_min_uv = -1, .max_clk = 48000000, .is_8bit_supported = true, }; @@ -124,8 +130,8 @@ static struct tegra_sdhci_platform_data tegra_pm269_sdhci_platform_data0 = { .power_gpio = -1, .tap_delay = 6, .is_voltage_switch_supported = false, - .vsd_name = NULL, - .vsd_slot_name = NULL, + .vdd_rail_name = NULL, + .slot_rail_name = NULL, .max_clk = 48000000, .is_8bit_supported = false, }; @@ -138,8 +144,10 @@ static struct tegra_sdhci_platform_data tegra_pm269_sdhci_platform_data2 = { .power_gpio = -1, .tap_delay = 6, .is_voltage_switch_supported = false, - .vsd_name = "vddio_sdmmc3", - .vsd_slot_name = "vddio_sd_slot", + .vdd_rail_name = "vddio_sdmmc3", + .slot_rail_name = "vddio_sd_slot", + .vdd_max_uv = 3300000, + .vdd_min_uv = 3300000, .max_clk = 48000000, .is_8bit_supported = false, }; |