rk3188 ds1006h : ddr freq & switch to 32.768k & gpu 600M

This commit is contained in:
wuhao
2013-01-31 11:49:42 +08:00
parent 7381d35a43
commit bb6e769b53
2 changed files with 10 additions and 7 deletions

View File

@@ -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

View File

@@ -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},
};