disable RK3168 change DDR frequence when suspend and video,because
RK3168 DDR change frequence test fail.
};
static struct cpufreq_frequency_table dvfs_ddr_table[] = {
+#if defined(CONFIG_ARCH_RK3188)
{.frequency = 200 * 1000 + DDR_FREQ_SUSPEND, .index = 950 * 1000},
{.frequency = 300 * 1000 + DDR_FREQ_VIDEO, .index = 1000 * 1000},
+#endif
{.frequency = 396 * 1000 + DDR_FREQ_NORMAL, .index = 1100 * 1000},
{.frequency = CPUFREQ_TABLE_END},
};
config DDR_INIT_CHANGE_FREQ
bool "Enable change DDR frequence when ddr_init"
- default y
+ default y if ARCH_RK2928 || ARCH_RK30XX
+ default n if ARCH_RK3066B || ARCH_RK3188
+
config DDR_SDRAM_FREQ
int "DDR SDRAM frequence (in MHz)"
config DDR_FREQ
bool "Enable DDR frequency scaling"
+ default y if ARCH_RK3066B || ARCH_RK3188
select RK_SRAM_DMA if ARCH_RK30XX
config DDR_TEST