rk2928 defconfig: fix lcd_aclk(15M-->150M)
authorkfx <kfx@rock-chips.com>
Mon, 5 Nov 2012 02:57:03 +0000 (10:57 +0800)
committerkfx <kfx@rock-chips.com>
Mon, 5 Nov 2012 02:57:03 +0000 (10:57 +0800)
arch/arm/mach-rk2928/board-rk2928.c
arch/arm/mach-rk2928/include/mach/config.h

index af5a6dea927d974736b2067c9e98fb09dcb61dd3..8bede4822e819705a92a8c65ad0e3f39f15d74e5 100755 (executable)
@@ -731,7 +731,7 @@ static int __init pmic_board_init(void)
                 port = get_port_config(pmic_irq);
                 pmic_info.irq = port.gpio;
         }
-        if(pmic_type == PMIC_TYPE_TPS65910){
+        if(pmic_is_tps65910()){
                 strcpy(pmic_info.type, "tps65910");
                 pmic_info.platform_data = &tps65910_data;
 
@@ -745,7 +745,7 @@ static int __init pmic_board_init(void)
                         tps65910_ldo_info[i].max_uv = tps65910_ldo[2*i + 1];
                 }
         }
-        if(pmic_type == PMIC_TYPE_ACT8931){
+        if(pmic_is_act8931()){
                 strcpy(pmic_info.type, "act8931");
                 pmic_info.platform_data = &act8931_data;
                 for(i = 0; i < ARRAY_SIZE(act8931_dcdc_info); i++){
@@ -1044,7 +1044,7 @@ static int __init rtc_board_init(void)
         struct port_config port;
         int ret;
 
-        if(pmic_type == PMIC_TYPE_TPS65910)
+        if(pmic_is_tps65910())
                 return 0;
                 
         ret = check_rtc_param();
@@ -1119,7 +1119,7 @@ static void rk2928_pm_power_off(void)
 {
        printk(KERN_ERR "rk2928_pm_power_off start...\n");
         #if defined(CONFIG_REGULATOR_ACT8931)
-        if(pmic_type == PMIC_TYPE_ACT8931)
+        if(pmic_is_act8931())
         {
               if(act8931_charge_det)
                    arm_pm_restart(0, NULL);
index 587d754a0a1f339505070b0423270b1aa81eaa55..4f3b1a58a7e5e4a7a8e36e8d2e25f522d83d478a 100644 (file)
@@ -2,11 +2,11 @@
 #define __MACH_CONFIG_H
 #include <mach/board.h>
 
-//#define RK2926_TB_DEFAULT_CONFIG
+#define RK2926_TB_DEFAULT_CONFIG
 //#define RK2928_TB_DEFAULT_CONFIG
 //#define RK2926_SDK_DEFAULT_CONFIG
 //#define RK2928_SDK_DEFAULT_CONFIG
-#define RK2928_PHONEPAD_DEFAULT_CONFIG
+//#define RK2928_PHONEPAD_DEFAULT_CONFIG
 
 
 /* camera id */
@@ -96,7 +96,7 @@ enum {
 };
 
 #define DEF_LCD_PARAM {SCREEN_LVDS, OUT_D888_P666, \
-                        65000000, 30000000, \
+                        65000000, 300000000, \
                         10, 100, 1024, 210, \
                         10, 10, 768, 18, \
                         202, 102, \
@@ -233,7 +233,7 @@ enum {
 };
 
 #define DEF_LCD_PARAM {SCREEN_LVDS, OUT_D888_P666, \
-                        65000000, 30000000, \
+                        65000000, 300000000, \
                         10, 100, 1024, 210, \
                         10, 10, 768, 18, \
                         202, 102, \
@@ -372,7 +372,7 @@ enum {
 };
 
 #define DEF_LCD_PARAM {SCREEN_RGB, OUT_P666, \
-                        33000000, 15000000, \
+                        33000000, 150000000, \
                         30, 10, 800, 210, \
                         13, 10, 480, 22, \
                         154, 85, \
@@ -510,7 +510,7 @@ enum {
 };
 
 #define DEF_LCD_PARAM {SCREEN_RGB, OUT_P666, \
-                        33000000, 15000000, \
+                        33000000, 150000000, \
                         30, 10, 800, 210, \
                         13, 10, 480, 22, \
                         154, 85, \
@@ -648,7 +648,7 @@ enum {
 };
 
 #define DEF_LCD_PARAM {SCREEN_RGB, OUT_P666, \
-                        30000000, 15000000, \
+                        30000000, 150000000, \
                         48, 88, 800, 40, \
                         3, 32, 480, 13, \
                         154, 85, \