diff options
author | Bibek Basu <bbasu@nvidia.com> | 2014-10-15 17:37:04 +0530 |
---|---|---|
committer | Matthew Pedro <mapedro@nvidia.com> | 2014-12-10 11:01:06 -0800 |
commit | 38dd845143a65b22a1ddce29d9c1e5c090767c30 (patch) | |
tree | cb334aa2d98b38017ede3582e195ab73ef3889e0 /arch/arm/mach-tegra/tegra12_speedo.c | |
parent | 88991937f3c15b46e8145d2a8a13baeaf9307a8d (diff) |
arm: tegra12: add support for 0x80 embedded SKU
Added DVFS support for CD575MI SKU 0x80 always on personality
CPU DVFS: Max Freq 1912Mhz. Switch to PLLX below 0 DegC
and fixed voltage
SOC DVFS: Vmax 1000mv constant. Lesser freq below 0 DegC
EMC dvfs max freq 792Mhz
GPU DVFS: Max Freq 756Mhz and thermal bump up of voltage
by 50mv below 0 DegC
Bug 1563635
Change-Id: Ifa66f4d9905be120a3534acd8f3ab9c2b58eea37
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/557951
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra12_speedo.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra12_speedo.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/tegra12_speedo.c b/arch/arm/mach-tegra/tegra12_speedo.c index 28dfac8c0baa..e779e97d900d 100644 --- a/arch/arm/mach-tegra/tegra12_speedo.c +++ b/arch/arm/mach-tegra/tegra12_speedo.c @@ -142,6 +142,14 @@ static void rev_sku_to_speedo_ids(int rev, int sku) gpu_speedo_id = 3; threshold_index = 1; break; + case 0x80: + if (chip_personality == always_on) { + cpu_speedo_id = 7; + soc_speedo_id = 3; + gpu_speedo_id = 5; + } + threshold_index = 0; + break; default: pr_warn("Tegra12: Unknown SKU %d\n", sku); cpu_speedo_id = 0; @@ -328,7 +336,7 @@ int tegra_core_speedo_mv(void) case 2: return 1110; case 3: - return 1010; + return 1000; default: BUG(); } |