edp anx6345:delay 5ms between DVDD33 and DVDD18 power on

This commit is contained in:
yxj
2013-04-25 21:01:27 +08:00
parent 896920af5b
commit ae25404a8f
2 changed files with 2 additions and 0 deletions

View File

@@ -808,6 +808,7 @@ static struct platform_device rk29_device_vibrator = {
{
gpio_direction_output(DVDD33_EN_PIN, DVDD33_EN_VALUE);
}
msleep(5);
ret = gpio_request(DVDD18_EN_PIN, "dvdd18_en_pin");
if (ret != 0)

View File

@@ -749,6 +749,7 @@ static void anx6345_late_resume(struct early_suspend *h)
{
struct edp_anx6345 *anx6345 = container_of(h, struct edp_anx6345, early_suspend);
gpio_set_value(anx6345->pdata->dvdd33_en_pin,anx6345->pdata->dvdd33_en_val);
msleep(5);
gpio_set_value(anx6345->pdata->dvdd18_en_pin,anx6345->pdata->dvdd18_en_val);
gpio_set_value(anx6345->pdata->edp_rst_pin,0);
msleep(50);