diff --git a/arch/arm/configs/rk3188_ds1006h_defconfig b/arch/arm/configs/rk3188_ds1006h_defconfig index 96c87f5e344c..748e9efe82ed 100644 --- a/arch/arm/configs/rk3188_ds1006h_defconfig +++ b/arch/arm/configs/rk3188_ds1006h_defconfig @@ -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 diff --git a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c index cc89824ad576..9385d3a234d7 100755 --- a/arch/arm/mach-rk3188/board-rk3188-ds1006h.c +++ b/arch/arm/mach-rk3188/board-rk3188-ds1006h.c @@ -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}, };