mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
rk3188 ds1006h : ddr freq & switch to 32.768k & gpu 600M
This commit is contained in:
@@ -22,8 +22,10 @@ CONFIG_MODULE_UNLOAD=y
|
||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||
CONFIG_ARCH_RK3188=y
|
||||
# CONFIG_DDR_INIT_CHANGE_FREQ is not set
|
||||
CONFIG_DDR_FREQ=y
|
||||
# CONFIG_DDR_TEST is not set
|
||||
CONFIG_RK_CLOCK_PROC=y
|
||||
CONFIG_CLK_SWITCH_TO_32K=y
|
||||
CONFIG_MACH_RK3188_DS1006H=y
|
||||
CONFIG_FIQ_DEBUGGER=y
|
||||
CONFIG_FIQ_DEBUGGER_NO_SLEEP=y
|
||||
|
||||
@@ -1832,18 +1832,19 @@ static struct cpufreq_frequency_table dvfs_arm_table[] = {
|
||||
};
|
||||
|
||||
static struct cpufreq_frequency_table dvfs_gpu_table[] = {
|
||||
{.frequency = 100 * 1000, .index = 950 * 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 = 100 * 1000, .index = 950 * 1000},
|
||||
{.frequency = 150 * 1000, .index = 975 * 1000},
|
||||
{.frequency = 200 * 1000, .index = 975 * 1000},
|
||||
{.frequency = 240 * 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 = 950 * 1000},
|
||||
//{.frequency = 300 * 1000 + DDR_FREQ_VIDEO, .index = 1000 * 1000},
|
||||
{.frequency = 300 * 1000 + DDR_FREQ_VIDEO, .index = 1000 * 1000},
|
||||
{.frequency = 400 * 1000 + DDR_FREQ_NORMAL, .index = 1100 * 1000},
|
||||
{.frequency = CPUFREQ_TABLE_END},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user