|
@@ -38,36 +38,14 @@
|
|
|
|
|
|
#ifdef CONFIG_CPU_IDLE
|
|
|
|
|
|
-/*
|
|
|
- * The latencies/thresholds for various C states have
|
|
|
- * to be configured from the respective board files.
|
|
|
- * These are some default values (which might not provide
|
|
|
- * the best power savings) used on boards which do not
|
|
|
- * pass these details from the board file.
|
|
|
- */
|
|
|
-static struct cpuidle_params cpuidle_params_table[] = {
|
|
|
- /* C1 */
|
|
|
- {2 + 2, 5, 1},
|
|
|
- /* C2 */
|
|
|
- {10 + 10, 30, 1},
|
|
|
- /* C3 */
|
|
|
- {50 + 50, 300, 1},
|
|
|
- /* C4 */
|
|
|
- {1500 + 1800, 4000, 1},
|
|
|
- /* C5 */
|
|
|
- {2500 + 7500, 12000, 1},
|
|
|
- /* C6 */
|
|
|
- {3000 + 8500, 15000, 1},
|
|
|
- /* C7 */
|
|
|
- {10000 + 30000, 300000, 1},
|
|
|
-};
|
|
|
-#define OMAP3_NUM_STATES ARRAY_SIZE(cpuidle_params_table)
|
|
|
-
|
|
|
/* Mach specific information to be recorded in the C-state driver_data */
|
|
|
struct omap3_idle_statedata {
|
|
|
u32 mpu_state;
|
|
|
u32 core_state;
|
|
|
};
|
|
|
+
|
|
|
+#define OMAP3_NUM_STATES 7
|
|
|
+
|
|
|
struct omap3_idle_statedata omap3_idle_data[OMAP3_NUM_STATES];
|
|
|
|
|
|
struct powerdomain *mpu_pd, *core_pd, *per_pd, *cam_pd;
|