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;
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++){
struct port_config port;
int ret;
- if(pmic_type == PMIC_TYPE_TPS65910)
+ if(pmic_is_tps65910())
return 0;
ret = check_rtc_param();
{
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);
#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 */
};
#define DEF_LCD_PARAM {SCREEN_LVDS, OUT_D888_P666, \
- 65000000, 30000000, \
+ 65000000, 300000000, \
10, 100, 1024, 210, \
10, 10, 768, 18, \
202, 102, \
};
#define DEF_LCD_PARAM {SCREEN_LVDS, OUT_D888_P666, \
- 65000000, 30000000, \
+ 65000000, 300000000, \
10, 100, 1024, 210, \
10, 10, 768, 18, \
202, 102, \
};
#define DEF_LCD_PARAM {SCREEN_RGB, OUT_P666, \
- 33000000, 15000000, \
+ 33000000, 150000000, \
30, 10, 800, 210, \
13, 10, 480, 22, \
154, 85, \
};
#define DEF_LCD_PARAM {SCREEN_RGB, OUT_P666, \
- 33000000, 15000000, \
+ 33000000, 150000000, \
30, 10, 800, 210, \
13, 10, 480, 22, \
154, 85, \
};
#define DEF_LCD_PARAM {SCREEN_RGB, OUT_P666, \
- 30000000, 15000000, \
+ 30000000, 150000000, \
48, 88, 800, 40, \
3, 32, 480, 13, \
154, 85, \