* @cpu_volt : arm voltage depend on frequency
*/
static struct cpufreq_frequency_table dvfs_arm_table[] = {
- {.frequency = 312 * 1000, .index = 800 * 1000},
- {.frequency = 504 * 1000, .index = 850 * 1000},
- {.frequency = 816 * 1000, .index = 900 * 1000},
- {.frequency = 1008 * 1000, .index = 950 * 1000},
- {.frequency = 1200 * 1000, .index = 1000 * 1000},
- {.frequency = 1416 * 1000, .index = 1075 * 1000},
- {.frequency = 1608 * 1000, .index = 1175 * 1000},
+ {.frequency = 312 * 1000, .index = 850 * 1000},
+ {.frequency = 504 * 1000, .index = 900 * 1000},
+ {.frequency = 816 * 1000, .index = 950 * 1000},
+ {.frequency = 1008 * 1000, .index = 1025 * 1000},
+ {.frequency = 1200 * 1000, .index = 1100 * 1000},
+ {.frequency = 1416 * 1000, .index = 1200 * 1000},
+ {.frequency = 1608 * 1000, .index = 1300 * 1000},
{.frequency = CPUFREQ_TABLE_END},
};
static struct cpufreq_frequency_table dvfs_gpu_table[] = {
#if defined(CONFIG_ARCH_RK3188)
- {.frequency = 133 * 1000, .index = 900 * 1000},//the mininum rate is limited 133M for rk3188
+ {.frequency = 133 * 1000, .index = 975 * 1000},//the mininum rate is limited 133M for rk3188
#elif defined(CONFIG_ARCH_RK3066B)
- {.frequency = 100 * 1000, .index = 900 * 1000},//the minimum rate is no limit for rk3168 rk3066B
+ {.frequency = 100 * 1000, .index = 950 * 1000},//the minimum rate is no limit for rk3168 rk3066B
#endif
- {.frequency = 200 * 1000, .index = 950 * 1000},
- {.frequency = 266 * 1000, .index = 950 * 1000},
- {.frequency = 300 * 1000, .index = 950 * 1000},
- {.frequency = 400 * 1000, .index = 1000 * 1000},
- {.frequency = 600 * 1000, .index = 1100 * 1000},
+ {.frequency = 200 * 1000, .index = 975 * 1000},
+ {.frequency = 266 * 1000, .index = 1000 * 1000},
+ {.frequency = 300 * 1000, .index = 1050 * 1000},
+ {.frequency = 400 * 1000, .index = 1100 * 1000},
+ {.frequency = 600 * 1000, .index = 1200 * 1000},
{.frequency = CPUFREQ_TABLE_END},
};
static struct cpufreq_frequency_table dvfs_ddr_table[] = {
- {.frequency = 200 * 1000 + DDR_FREQ_SUSPEND, .index = 900 * 1000},
- {.frequency = 300 * 1000 + DDR_FREQ_VIDEO, .index = 950 * 1000},
- {.frequency = 400 * 1000 + DDR_FREQ_NORMAL, .index = 1000 * 1000},
+ {.frequency = 200 * 1000 + DDR_FREQ_SUSPEND, .index = 950 * 1000},
+ {.frequency = 300 * 1000 + DDR_FREQ_VIDEO, .index = 1000 * 1000},
+ {.frequency = 400 * 1000 + DDR_FREQ_NORMAL, .index = 1100 * 1000},
{.frequency = CPUFREQ_TABLE_END},
};
\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 = 75 * DVFS_MV},\r
+ {.frequency = 1416 * DVFS_KHZ, .index = 25 * DVFS_MV},\r
+ {.frequency = 1608 * DVFS_KHZ, .index = 25 * 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 = 275 * DVFS_MV},\r
- {.frequency = 1608 * DVFS_KHZ, .index = 150 * DVFS_MV},\r
+ {.frequency = 1008 * DVFS_KHZ, .index = 150 * DVFS_MV},\r
+ {.frequency = 1608 * DVFS_KHZ, .index = 75 * DVFS_MV},\r
{.frequency = CPUFREQ_TABLE_END},\r
};\r
#else\r