Set CPU rate limit to 2.2GHz for Tegra12 sku 0x27.
Bug
1475295
Change-Id: Ia96011bf398dfb35721b201bd799ea66e9cdf78e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/381750
(cherry-picked from commit
f703fdc9373905a82437f673ab557c32ac63c59c)
Reviewed-on: http://git-master/r/384840
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
/* CPU DVFS tables */
static unsigned long cpu_max_freq[] = {
-/* speedo_id 0 1 2 3 4 */
- 2014500, 2320500, 2116500, 2524500, 1500000,
+/* speedo_id 0 1 2 3 4 5 */
+ 2014500, 2320500, 2116500, 2524500, 1500000, 2218500,
};
static struct cpu_cvb_dvfs cpu_cvb_dvfs_table[] = {
gpu_speedo_id = tegra_gpu_speedo_id();
switch (cpu_speedo_id) {
+ case 0x5:
case 0x2:
if (gpu_speedo_id == 1) {
/* 575 variants */
.cpu_speedo_id = 3, /* Prod SKU */
EDP_PARAMS_COMMON_PART,
},
+ {
+ .cpu_speedo_id = 5, /* Prod SKU */
+ EDP_PARAMS_COMMON_PART,
+ },
};
#ifdef CONFIG_TEGRA_GPU_EDP
case 0x1F:
case 0x87:
case 0x27:
- cpu_speedo_id = 2;
+ cpu_speedo_id = sku == 0x27 ? 5 : 2;
soc_speedo_id = 0;
gpu_speedo_id = 1;
threshold_index = 0;