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;
}
}
//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
#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 {
/* global */
enum {
- DEF_PWR_ON = 0x000003c5,
+ DEF_PWR_ON = 0x000001b4,
};
/**************************** rk2926 sdk(m713) ******************************/