tegra: video: lgd-wxga-7 avdd power sequence fix
Min-wuk Lee [Wed, 21 Aug 2013 05:32:49 +0000 (14:32 +0900)]
This change is fixing LGD WXGA 7 AVDD 3.3V power sequence. This
power rail on needs to be >1000ms after it is off.
Add 1000ms delay after this rail is turned off.

Bug 1349957

Change-Id: I2a1d7a2be2df38e2e5eb5a1976d59ca380c730b7
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/264194
(cherry picked from commit a052672cbc6a941b724664d20fb49c767989e5e6)
Reviewed-on: http://git-master/r/289753
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

drivers/video/tegra/of_lcd_device_data/tegratab_lcd_dev_data.c

index b847f78..6e85eb0 100644 (file)
@@ -158,6 +158,7 @@ static int lgd_wxga_7_0_disable(void)
                regulator_disable(dvdd_lcd_1v8);
        if (avdd_lcd_3v3)
                regulator_disable(avdd_lcd_3v3);
+       msleep(1000); /*LCD panel VDD on needs to be 1000>ms after it's off*/
        return 0;
 }