summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Kunapuli <pkunapuli@nvidia.com>2013-05-12 16:56:28 +0530
committerMandar Padmawar <mpadmawar@nvidia.com>2013-05-21 03:00:30 -0700
commitd7214ec63a22383be14ee4f1fb424ad8e0f00364 (patch)
tree49525cd4b3d2807f92bad9cf6b8a10cedbc4e265
parent2e7015b092370733214a858e479c4c306341e6d2 (diff)
ARM: tegra: roth: Mask HS200 mode support
Mask HS200 mode support for sdmmc4. In DDR50 mode for eMMC can support max clock of 52MHz. For Tegra sdmmc controllers, the host clock in ddr mode should be double that of the eMMC device. Taking into consideration the dvfs tables, limiting ddr mode clock to 51MHz to allow for lower core voltages to set even when sdmmc4 clock is ON. Bug 1287739 Change-Id: Ib04dce91d771ab5505dd67ea3a8d5c704d0b499e Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> (cherry picked from commit 3db4b21d8d5eb5a99dbcd3d660478a3a89ced104) Reviewed-on: http://git-master/r/230048 Reviewed-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Tested-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
-rw-r--r--arch/arm/mach-tegra/board-roth-sdhci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-roth-sdhci.c b/arch/arm/mach-tegra/board-roth-sdhci.c
index 8af2da70684b..6c26cb3c7607 100644
--- a/arch/arm/mach-tegra/board-roth-sdhci.c
+++ b/arch/arm/mach-tegra/board-roth-sdhci.c
@@ -170,12 +170,13 @@ static struct tegra_sdhci_platform_data tegra_sdhci_platform_data3 = {
.is_8bit = 1,
.tap_delay = 0x5,
.trim_delay = 0xA,
- .ddr_clk_limit = 41000000,
+ .ddr_clk_limit = 51000000,
.max_clk_limit = 156000000,
.mmc_data = {
.built_in = 1,
.ocr_mask = MMC_OCR_1V8_MASK,
- }
+ },
+ .uhs_mask = MMC_MASK_HS200,
};
static struct platform_device tegra_sdhci_device0 = {