ARM: tegra12: set CPU rate to 2.2GHz for sku 0x87
[linux-3.10.git] / arch / arm / mach-tegra / board-common.c
index f379203..c259533 100644 (file)
@@ -167,7 +167,7 @@ static void tegra_add_trip_points(struct thermal_trip_info *trips,
        }
 }
 
-void tegra_add_cdev_trips(struct thermal_trip_info *trips, int *num_trips)
+void tegra_add_all_vmin_trips(struct thermal_trip_info *trips, int *num_trips)
 {
        tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_cpu_vmin_cdev());
        tegra_add_trip_points(trips, num_trips,
@@ -175,9 +175,31 @@ void tegra_add_cdev_trips(struct thermal_trip_info *trips, int *num_trips)
        tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_gpu_vmin_cdev());
 }
 
-void tegra_add_tj_trips(struct thermal_trip_info *trips, int *num_trips)
+void tegra_add_cpu_vmin_trips(struct thermal_trip_info *trips, int *num_trips)
+{
+       tegra_add_trip_points(trips, num_trips,
+                                       tegra_dvfs_get_cpu_vmin_cdev());
+}
+
+void tegra_add_gpu_vmin_trips(struct thermal_trip_info *trips, int *num_trips)
+{
+       tegra_add_trip_points(trips, num_trips,
+                                       tegra_dvfs_get_gpu_vmin_cdev());
+}
+
+void tegra_add_core_vmin_trips(struct thermal_trip_info *trips, int *num_trips)
+{
+       tegra_add_trip_points(trips, num_trips,
+                                       tegra_dvfs_get_core_vmin_cdev());
+}
+
+void tegra_add_cpu_vmax_trips(struct thermal_trip_info *trips, int *num_trips)
 {
        tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_cpu_vmax_cdev());
+}
+
+void tegra_add_core_edp_trips(struct thermal_trip_info *trips, int *num_trips)
+{
        tegra_add_trip_points(trips, num_trips, tegra_core_edp_get_cdev());
 }
 
@@ -190,3 +212,8 @@ void tegra_add_vc_trips(struct thermal_trip_info *trips, int *num_trips)
 {
        tegra_add_trip_points(trips, num_trips, tegra_vc_get_cdev());
 }
+void tegra_add_core_vmax_trips(struct thermal_trip_info *trips, int *num_trips)
+{
+       tegra_add_trip_points(trips, num_trips,
+                             tegra_dvfs_get_core_vmax_cdev());
+}