rk2928 tb: fixed power_on gpio
authorkfx <kfx@rock-chips.com>
Tue, 23 Oct 2012 10:45:47 +0000 (18:45 +0800)
committerkfx <kfx@rock-chips.com>
Tue, 23 Oct 2012 10:45:47 +0000 (18:45 +0800)
arch/arm/mach-rk2928/board-rk2928-sdk-tps65910.c
arch/arm/mach-rk2928/board-rk2928-tb.c
arch/arm/mach-rk2928/include/mach/config.h

index 7980ac0fa979612913a283ff45a1aaf00339cc9a..514a08475c8815ad347ae08ca8c72192e3f5a99a 100755 (executable)
@@ -72,7 +72,7 @@ int tps65910_pre_init(struct tps65910 *tps65910){
                 printk(KERN_ERR "sram_gpio_init failed\n");
                 return -EINVAL;
         }
-        if(port_output_init(pmic_slp, 1, "pmic_slp") < 0){
+        if(port_output_init(pmic_slp, 0, "pmic_slp") < 0){
                 printk(KERN_ERR "port_output_init failed\n");
                 return -EINVAL;
         }
index 4a006bcce05c988bfeeb9ea2403f2d061f93dbae..4ae4a99785fbc3db7b5d27b36ffb4fd090594047 100755 (executable)
@@ -916,7 +916,7 @@ static void __init rk30_i2c_register_board_info(void)
 }
 //end of i2c
 #if defined (CONFIG_MACH_RK2928_TB)
-#define POWER_ON_PIN RK2928_PIN3_PC5   //power_hold
+#define POWER_ON_PIN RK2928_PIN1_PB4   //power_hold
 #elif defined (CONFIG_MACH_RK2926_TB)
 #define POWER_ON_PIN RK2928_PIN1_PA2   //power_hold
 #endif
index 4bc3eb244905b5347771af42c8bbc6ce32f51e09..9b7aa3b29dd3e9267750695f02986107e17322bf 100644 (file)
@@ -3,8 +3,8 @@
 #include <mach/board.h>
 
 //#define RK2926_TB_DEFAULT_CONFIG
-//#define RK2928_TB_DEFAULT_CONFIG
-#define RK2926_SDK_DEFAULT_CONFIG
+#define RK2928_TB_DEFAULT_CONFIG
+//#define RK2926_SDK_DEFAULT_CONFIG
 //#define RK2928_SDK_DEFAULT_CONFIG
 
 enum { 
@@ -216,7 +216,7 @@ enum {
 
 /* global */
 enum {
-        DEF_PWR_ON = 0x000003c5,
+        DEF_PWR_ON = 0x000001b4,
 };
 
 /****************************  rk2926 sdk(m713) ******************************/