rk30: update dvfs volt diff table
authorchenxing <chenxing@rock-chips.com>
Wed, 16 Jan 2013 06:29:13 +0000 (14:29 +0800)
committerchenxing <chenxing@rock-chips.com>
Wed, 16 Jan 2013 06:29:18 +0000 (14:29 +0800)
arch/arm/mach-rk30/dvfs.c

index b9066b23e3a09114a2930c677de82d26a5df6f4a..bafda02d6f6775cf44d96c0daba9e5d0caa1a4f8 100644 (file)
@@ -1032,18 +1032,31 @@ int dvfs_get_depend_volt(struct clk_node *dvfs_clk, struct vd_node *dvfs_vd_dep,
        return -1;\r
 }\r
 \r
+#ifdef CONFIG_SOC_RK3168\r
 static struct cpufreq_frequency_table arm_high_logic_table[] = {\r
-       {.frequency = 1416 * DVFS_KHZ, .index = 50 * DVFS_MV},\r
-       {.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},\r
-       {.frequency = CPUFREQ_TABLE_END},\r
+        {.frequency = 1416 * DVFS_KHZ, .index = 50 * DVFS_MV},\r
+        {.frequency = 1608 * DVFS_KHZ, .index = 75 * DVFS_MV},\r
+        {.frequency = CPUFREQ_TABLE_END},\r
 };\r
 \r
 static struct cpufreq_frequency_table logic_high_arm_table[] = {\r
-       {.frequency = 816 * DVFS_KHZ,  .index = 200 * DVFS_MV},\r
-       {.frequency = 1416 * DVFS_KHZ, .index = 150 * DVFS_MV},\r
-       {.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},\r
-       {.frequency = CPUFREQ_TABLE_END},\r
+        {.frequency = 1008 * DVFS_KHZ, .index = 275 * DVFS_MV},\r
+        {.frequency = 1608 * DVFS_KHZ, .index = 150 * DVFS_MV},\r
+        {.frequency = CPUFREQ_TABLE_END},\r
+};\r
+#else\r
+static struct cpufreq_frequency_table arm_high_logic_table[] = {\r
+        {.frequency = 1416 * DVFS_KHZ, .index = 50 * DVFS_MV},\r
+        {.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},\r
+        {.frequency = CPUFREQ_TABLE_END},\r
 };\r
+static struct cpufreq_frequency_table logic_high_arm_table[] = {\r
+        {.frequency = 816 * DVFS_KHZ,  .index = 200 * DVFS_MV},\r
+        {.frequency = 1416 * DVFS_KHZ, .index = 150 * DVFS_MV},\r
+        {.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},\r
+};\r
+#endif\r
+\r
 \r
 int get_arm_logic_limit(unsigned long arm_rate, int *arm_high_logic, int *logic_high_arm)\r
 {\r