From 311d38963edc3c2cb1d185b08944691e6add3291 Mon Sep 17 00:00:00 2001 From: hjc Date: Thu, 28 Mar 2013 00:22:00 +0800 Subject: [PATCH] rk3028: defconfig open debug switch,modify the arm voltage --- arch/arm/configs/rk3028_tb_defconfig | 4 ++-- arch/arm/mach-rk30/board-rk3028-tb.c | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/configs/rk3028_tb_defconfig b/arch/arm/configs/rk3028_tb_defconfig index e596bcf53fc1..d577a5a76e47 100755 --- a/arch/arm/configs/rk3028_tb_defconfig +++ b/arch/arm/configs/rk3028_tb_defconfig @@ -16,7 +16,6 @@ CONFIG_PANIC_TIMEOUT=1 CONFIG_ASHMEM=y # CONFIG_AIO is not set CONFIG_EMBEDDED=y -# CONFIG_SLUB_DEBUG is not set CONFIG_MODULES=y CONFIG_MODULE_UNLOAD=y CONFIG_MODULE_FORCE_UNLOAD=y @@ -330,7 +329,6 @@ CONFIG_SND=y # CONFIG_SND_ARM is not set CONFIG_SND_SOC=y CONFIG_SND_RK29_SOC=y -CONFIG_SND_RK29_SOC_I2S_2CH=y CONFIG_SND_I2S_DMA_EVENT_STATIC=y CONFIG_SND_RK29_SOC_RK610=y CONFIG_SND_RK29_CODEC_SOC_SLAVE=y @@ -450,7 +448,9 @@ CONFIG_PRINTK_TIME=y CONFIG_MAGIC_SYSRQ=y CONFIG_DEBUG_KERNEL=y CONFIG_SCHEDSTATS=y +CONFIG_SLUB_DEBUG_ON=y # CONFIG_DEBUG_PREEMPT is not set +CONFIG_DEBUG_LIST=y # CONFIG_EVENT_POWER_TRACING_DEPRECATED is not set CONFIG_ENABLE_DEFAULT_TRACERS=y CONFIG_CRYPTO_SHA256=y diff --git a/arch/arm/mach-rk30/board-rk3028-tb.c b/arch/arm/mach-rk30/board-rk3028-tb.c index ffd1aae95ffc..edaab5262ffe 100755 --- a/arch/arm/mach-rk30/board-rk3028-tb.c +++ b/arch/arm/mach-rk30/board-rk3028-tb.c @@ -1104,8 +1104,8 @@ static struct pwm_platform_data pwm_regulator_info[1] = { #endif .pwm_voltage = 1100000, .suspend_voltage = 1000000, - .min_uV = 1000000, - .max_uV = 1450000, + .min_uV = 950000, + .max_uV = 1400000, .coefficient = 504, //57.5% .pwm_voltage_map = pwm_voltage_map, .init_data = &pwm_regulator_init_dcdc[0], @@ -2124,13 +2124,13 @@ static void __init rk30_reserve(void) * @cpu_volt : arm voltage depend on frequency */ static struct cpufreq_frequency_table dvfs_arm_table[] = { - {.frequency = 312 * 1000, .index = 850 * 1000}, - {.frequency = 504 * 1000, .index = 900 * 1000}, - {.frequency = 816 * 1000, .index = 950 * 1000}, - {.frequency = 1008 * 1000, .index = 1200 * 1000}, - // {.frequency = 1200 * 1000, .index = 1200 * 1000}, - // {.frequency = 1416 * 1000, .index = 1200 * 1000}, - // {.frequency = 1608 * 1000, .index = 1300 * 1000}, + {.frequency = 312 * 1000, .index = 900 * 1000}, + {.frequency = 504 * 1000, .index = 950 * 1000}, + {.frequency = 816 * 1000, .index = 1000 * 1000}, + {.frequency = 1008 * 1000, .index = 1100 * 1000}, + //{.frequency = 1200 * 1000, .index = 1100 * 1000}, + //{.frequency = 1416 * 1000, .index = 1200 * 1000}, + //{.frequency = 1608 * 1000, .index = 1300 * 1000}, {.frequency = CPUFREQ_TABLE_END}, }; -- 2.34.1