static int g_logic_high_arm = 100 * 1000;\r
#endif\r
\r
-\r
-#ifdef CONFIG_SOC_RK3168\r
+#if defined(CONFIG_SOC_RK3168) || defined(CONFIG_SOC_RK3028)\r
static struct cpufreq_frequency_table arm_high_logic_table[] = {\r
{.frequency = 1416 * DVFS_KHZ, .index = 0 * DVFS_MV},\r
{.frequency = 1608 * DVFS_KHZ, .index = 0 * DVFS_MV},\r
{.frequency = 1608 * DVFS_KHZ, .index = 50 * DVFS_MV},\r
{.frequency = CPUFREQ_TABLE_END},\r
};\r
-#else\r
+#elif defined(CONFIG_SOC_RK3066)\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 = 1416 * DVFS_KHZ, .index = 150 * DVFS_MV},\r
{.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},\r
};\r
-#endif\r
+#else\r
+static struct cpufreq_frequency_table arm_high_logic_table[] = {\r
+ {.frequency = 1416 * DVFS_KHZ, .index = 0 * DVFS_MV},\r
+ {.frequency = 1608 * DVFS_KHZ, .index = 0 * DVFS_MV},\r
+ {.frequency = CPUFREQ_TABLE_END},\r
+};\r
\r
+static struct cpufreq_frequency_table logic_high_arm_table[] = {\r
+ {.frequency = 1008 * DVFS_KHZ, .index = 50 * DVFS_MV},\r
+ {.frequency = 1608 * DVFS_KHZ, .index = 50 * DVFS_MV},\r
+ {.frequency = CPUFREQ_TABLE_END},\r
+};\r
+#endif\r
\r
int get_arm_logic_limit(unsigned long arm_rate, int *arm_high_logic, int *logic_high_arm)\r
{\r