summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/odm_kit/adaptations
diff options
context:
space:
mode:
authorHoang Pham <hopham@nvidia.com>2010-08-03 17:28:23 -0700
committerGary King <gking@nvidia.com>2010-08-04 09:03:46 -0700
commit6153e3f3c3aa0e2893cb3e576cd8442b0eafacc3 (patch)
tree7e244a9b775711d33c4d229212f85605faaab479 /arch/arm/mach-tegra/odm_kit/adaptations
parent25a04a4278106ad5925795a7dc855e7335a18ceb (diff)
tegra odm pmu: Add missing setting settle time for HDMI DDC
There is missing setting settle time for HDMI DDC after enable. This is causing EDID read fail for some TVs on Harmony platform due to this power rail not stable after enable. After measured from scope, there is required at least 500us to make HDMI DDC stable after enable. Bug 710476 Change-Id: Ia3641896a36bce3fe9d7dda44a48721f324afb6a Reviewed-on: http://git-master/r/4737 Tested-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/odm_kit/adaptations')
-rw-r--r--arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c b/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c
index 515a4471c6ac..0a4769ae8866 100644
--- a/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c
+++ b/arch/arm/mach-tegra/odm_kit/adaptations/pmu/tps6586x/nvodm_pmu_tps6586x.c
@@ -1176,6 +1176,17 @@ Tps6586xWriteVoltageReg(
pSupplyInfo->supply, NV_TRUE);
status = Tps6586xSetExternalSupply(hDevice, vddRail, NV_TRUE);
+ /* EDID read will fail if power rail HDMI 5V DDC is not stable
+ * after enable. After measured from scope, there is required
+ * at least 500us to make this power rail stable.
+ */
+ if (vddRail == Ext_TPS2051BPmuSupply_VDDIO_VID)
+ {
+ if (pSettleMicroSeconds)
+ *pSettleMicroSeconds = 500;
+ else
+ NvOdmOsWaitUS(500);
+ }
}
}
else