mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
rk30: update dvfs volt diff table
This commit is contained in:
@@ -1032,18 +1032,31 @@ int dvfs_get_depend_volt(struct clk_node *dvfs_clk, struct vd_node *dvfs_vd_dep,
|
||||
return -1;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_SOC_RK3168
|
||||
static struct cpufreq_frequency_table arm_high_logic_table[] = {
|
||||
{.frequency = 1416 * DVFS_KHZ, .index = 50 * DVFS_MV},
|
||||
{.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},
|
||||
{.frequency = CPUFREQ_TABLE_END},
|
||||
{.frequency = 1416 * DVFS_KHZ, .index = 50 * DVFS_MV},
|
||||
{.frequency = 1608 * DVFS_KHZ, .index = 75 * DVFS_MV},
|
||||
{.frequency = CPUFREQ_TABLE_END},
|
||||
};
|
||||
|
||||
static struct cpufreq_frequency_table logic_high_arm_table[] = {
|
||||
{.frequency = 816 * DVFS_KHZ, .index = 200 * DVFS_MV},
|
||||
{.frequency = 1416 * DVFS_KHZ, .index = 150 * DVFS_MV},
|
||||
{.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},
|
||||
{.frequency = CPUFREQ_TABLE_END},
|
||||
{.frequency = 1008 * DVFS_KHZ, .index = 275 * DVFS_MV},
|
||||
{.frequency = 1608 * DVFS_KHZ, .index = 150 * DVFS_MV},
|
||||
{.frequency = CPUFREQ_TABLE_END},
|
||||
};
|
||||
#else
|
||||
static struct cpufreq_frequency_table arm_high_logic_table[] = {
|
||||
{.frequency = 1416 * DVFS_KHZ, .index = 50 * DVFS_MV},
|
||||
{.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},
|
||||
{.frequency = CPUFREQ_TABLE_END},
|
||||
};
|
||||
static struct cpufreq_frequency_table logic_high_arm_table[] = {
|
||||
{.frequency = 816 * DVFS_KHZ, .index = 200 * DVFS_MV},
|
||||
{.frequency = 1416 * DVFS_KHZ, .index = 150 * DVFS_MV},
|
||||
{.frequency = 1608 * DVFS_KHZ, .index = 100 * DVFS_MV},
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
int get_arm_logic_limit(unsigned long arm_rate, int *arm_high_logic, int *logic_high_arm)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user