arm: tegra: macallan: Enable pid_thermal_gov as default for Tj throttling
Jinyoung Park [Thu, 14 Mar 2013 05:12:10 +0000 (14:12 +0900)]
Enable pid_thermal_gov as default thermal governor for Tj throttling.

Bug 1200111

Change-Id: Id0970f69b35f59372da24fb2aa60d79cbcc0f6eb
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/209415
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

arch/arm/mach-tegra/board-macallan-power.c

index d593dd7..3e76d05 100644 (file)
@@ -644,6 +644,10 @@ int __init macallan_edp_init(void)
        return 0;
 }
 
+static struct thermal_zone_params macallan_soctherm_therm_cpu_tzp = {
+       .governor_name = "pid_thermal_gov",
+};
+
 static struct tegra_tsensor_pmu_data tpdata_palmas = {
        .reset_tegra = 1,
        .pmu_16bit_ops = 0,
@@ -683,6 +687,7 @@ static struct soctherm_platform_data macallan_soctherm_data = {
                                        .lower = THERMAL_NO_LIMIT,
                                },
                        },
+                       .tzp = &macallan_soctherm_therm_cpu_tzp,
                },
                [THERM_GPU] = {
                        .zone_enable = true,