edp anx6345:delay 5ms between DVDD33 and DVDD18 power on
authoryxj <yxj@rock-chips.com>
Thu, 25 Apr 2013 13:01:27 +0000 (21:01 +0800)
committeryxj <yxj@rock-chips.com>
Thu, 25 Apr 2013 13:02:04 +0000 (21:02 +0800)
arch/arm/mach-rk30/board-rk3168-LR097.c
drivers/video/display/transmitter/dp_anx6345.c

index c1cfc9f2437dafcff409b389bca0419c6cdb9c6a..0768afc107ed98236eee2dbfd63ed37e8cb24c8c 100755 (executable)
@@ -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)
index 45192733db20c51f87c0c0d14620f16b85f3cfbc..13ae7d9adeed32a4665a699693a37ca303be1110 100755 (executable)
@@ -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);