mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
DDR:disable RK3168/RK3188 change DDR frequence when ddr_init,
disable RK3168 change DDR frequence when suspend and video,because RK3168 DDR change frequence test fail.
This commit is contained in:
@@ -2033,8 +2033,10 @@ static struct cpufreq_frequency_table dvfs_gpu_table[] = {
|
||||
};
|
||||
|
||||
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},
|
||||
};
|
||||
|
||||
@@ -84,7 +84,9 @@ endchoice
|
||||
|
||||
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)"
|
||||
@@ -93,6 +95,7 @@ config DDR_SDRAM_FREQ
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user