diff options
author | Martin Chi <mchi@nvidia.com> | 2014-01-27 14:06:04 +0800 |
---|---|---|
committer | Martin Chi <mchi@nvidia.com> | 2014-01-27 06:41:35 -0800 |
commit | f84d4712d631d9dfc52d36ff6640a4f3a81080bb (patch) | |
tree | aa2386199112fe614399326e73e0e40c2d54f856 /arch | |
parent | 6425567d34e71cad542dfb6d3104f740e56261d5 (diff) |
arm:tegra:TN7C: set VDDIO_DDR to 1.38 per ram-code
RAM_CODE[1:0]=0x00, Micron DDR3L, requires 1.38V
RAM_CODE[1:0]=0x01, Hynix DDR3L, requires 1.35V
bug 1438727
Change-Id: I8cfe9e7220f197bcf6e00b91c5d354c3eda8b3f0
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/360198
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/board-tegranote7c-power.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/arch/arm/mach-tegra/board-tegranote7c-power.c b/arch/arm/mach-tegra/board-tegranote7c-power.c index 381605ced966..f4ac98e9de4e 100644 --- a/arch/arm/mach-tegra/board-tegranote7c-power.c +++ b/arch/arm/mach-tegra/board-tegranote7c-power.c @@ -647,15 +647,17 @@ int __init tegranote7c_palmas_regulator_init(void) pmic_platform.reg_init[i] = tegranote7c_reg_init[i]; } - /* Boot strapping 0, 2, 3 indicate Micron 1GB MT41K128M16-125 + /* Boot strapping 0, indicate Micron 1GB MT41K128M16-125 * and it requires VDDIO_DDR 1.38V for stability. - * Boot strapping 1 indicates Hynix 1GB H5TC2G63FFR-PBA and - * it requires VDDIO_DDR 1.35V. + * Boot strapping 1, indicates Hynix 1GB H5TC2G63FFR-PBA + * and it requires VDDIO_DDR 1.35V for stability. */ - tegranote7c_reg_data[PALMAS_REG_SMPS7]->constraints.min_uV = - 1380000; - tegranote7c_reg_data[PALMAS_REG_SMPS7]->constraints.max_uV = - 1380000; + if (0 == tegra_bct_strapping) { + tegranote7c_reg_data[PALMAS_REG_SMPS7]->constraints.min_uV = + 1380000; + tegranote7c_reg_data[PALMAS_REG_SMPS7]->constraints.max_uV = + 1380000; + } palmas_pdata.clk32k_init_data = tegranote7c_palmas_clk32k_idata; palmas_pdata.clk32k_init_data_size = |