rk3026_86v:

1.config lcd for new hardware;
    2.fix camera lead to reboot;
    3.modify arm/logic freq and voltage;
This commit is contained in:
hjc
2013-08-20 15:47:19 +08:00
parent 595c933abb
commit b1f1009a2f
4 changed files with 18 additions and 18 deletions

View File

@@ -307,7 +307,7 @@ CONFIG_FB_ROCKCHIP=y
CONFIG_DUAL_LCDC_DUAL_DISP_IN_KERNEL=y
CONFIG_LCDC_RK3188=y
CONFIG_LCDC0_RK3188=y
CONFIG_LCD_RK3028_86V=y
CONFIG_LCD_RK2926_V86=y
CONFIG_RK_TRSM=y
CONFIG_RGA_RK30=y
CONFIG_LOGO=y

View File

@@ -49,7 +49,7 @@ static struct rkcamera_platform_data new_camera[] = {
0,
1,
0),
/*
new_camera_device(RK29_CAM_SENSOR_GC0308,
back,
RK30_PIN3_PD7,
@@ -57,7 +57,7 @@ static struct rkcamera_platform_data new_camera[] = {
0,
1,
0),
*/
new_camera_device_end
};
/*---------------- Camera Sensor Macro Define Begin ------------------------*/

View File

@@ -1629,10 +1629,10 @@ static void __init rk30_reserve(void)
* clock
************************************************************/
static struct cpufreq_frequency_table dvfs_arm_table[] = {
//{.frequency = 312 * 1000, .index = 1200 * 1000},
//{.frequency = 504 * 1000, .index = 1200 * 1000},
{.frequency = 816 * 1000, .index = 1250 * 1000},
//{.frequency = 1008 * 1000, .index = 1200 * 1000},
{.frequency = 312 * 1000, .index = 1150 * 1000},
{.frequency = 504 * 1000, .index = 1150 * 1000},
{.frequency = 816 * 1000, .index = 1200 * 1000},
{.frequency = 1008 * 1000, .index = 1250 * 1000},
//{.frequency = 1200 * 1000, .index = 1200 * 1000},
//{.frequency = 1416 * 1000, .index = 1200 * 1000},
//{.frequency = 1608 * 1000, .index = 1200 * 1000},

View File

@@ -1584,10 +1584,10 @@ static void __init rk30_reserve(void)
* clock
************************************************************/
static struct cpufreq_frequency_table dvfs_arm_table[] = {
{.frequency = 312 * 1000, .index = 1200 * 1000},
{.frequency = 504 * 1000, .index = 1200 * 1000},
{.frequency = 816 * 1000, .index = 1200 * 1000},
//{.frequency = 1008 * 1000, .index = 1200 * 1000},
{.frequency = 312 * 1000, .index = 1100 * 1000},
{.frequency = 504 * 1000, .index = 1100 * 1000},
{.frequency = 816 * 1000, .index = 1150 * 1000},
{.frequency = 1008 * 1000, .index = 1200 * 1000},
//{.frequency = 1200 * 1000, .index = 1300 * 1000},
//{.frequency = 1416 * 1000, .index = 1200 * 1000},
//{.frequency = 1608 * 1000, .index = 1200 * 1000},
@@ -1595,18 +1595,18 @@ static struct cpufreq_frequency_table dvfs_arm_table[] = {
};
static struct cpufreq_frequency_table dvfs_gpu_table[] = {
{.frequency = 100 * 1000, .index = 1200 * 1000},
//{.frequency = 100 * 1000, .index = 1200 * 1000},
{.frequency = 200 * 1000, .index = 1200 * 1000},
{.frequency = 266 * 1000, .index = 1200 * 1000},
{.frequency = 300 * 1000, .index = 1200 * 1000},
{.frequency = 400 * 1000, .index = 1200 * 1000},
//{.frequency = 266 * 1000, .index = 1200 * 1000},
//{.frequency = 300 * 1000, .index = 1200 * 1000},
//{.frequency = 400 * 1000, .index = 1200 * 1000},
{.frequency = CPUFREQ_TABLE_END},
};
static struct cpufreq_frequency_table dvfs_ddr_table[] = {
{.frequency = 200 * 1000 + DDR_FREQ_SUSPEND, .index = 1200 * 1000},
{.frequency = 300 * 1000 + DDR_FREQ_VIDEO, .index = 1200 * 1000},
{.frequency = 400 * 1000 + DDR_FREQ_NORMAL, .index = 1200 * 1000},
//{.frequency = 200 * 1000 + DDR_FREQ_SUSPEND, .index = 1200 * 1000},
//{.frequency = 300 * 1000 + DDR_FREQ_VIDEO, .index = 1200 * 1000},
{.frequency = 360 * 1000 + DDR_FREQ_NORMAL, .index = 1200 * 1000},
{.frequency = CPUFREQ_TABLE_END},
};