]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
tegra21: dvfs: Add support for SKU 0x8F
authorAlex Frid <afrid@nvidia.com>
Fri, 20 Nov 2015 19:56:50 +0000 (11:56 -0800)
committermobile promotions <svcmobile_promotions@nvidia.com>
Wed, 25 Nov 2015 15:57:56 +0000 (07:57 -0800)
Bug 1558421

Change-Id: Ib31ac17b0338d8916fb8e9b526b86b7cebbd45d0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/836415
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
drivers/platform/tegra/tegra21_speedo.c

index daf92ea13699825dcff6877af090a0306b8e79d4..a0165517200804ea561b134c77b41257db8b2e27 100644 (file)
@@ -177,6 +177,16 @@ static void rev_sku_to_speedo_ids(int rev, int sku, int speedo_rev)
                        break;
                }
                /* fall thru for a01 part */
+       case 0x8F:
+               if (a02) {
+                       cpu_speedo_id = 1;
+                       soc_speedo_id = 0;
+                       gpu_speedo_id = 2;
+                       threshold_index = 0;
+                       core_min_mv = 800;
+                       break;
+               }
+               /* fall thru for a01 part */
        default:
                pr_warn("Tegra21: Unknown SKU %d\n", sku);
                cpu_speedo_id = 0;