summaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2012-04-26 14:58:41 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-09-07 20:02:03 +0300
commita84b20654bb5711b45cf28bf5342143ce8652e72 (patch)
treee08d068efa2fde1d0e9af2cffee32e89cf50f5c6 /drivers/video
parentcca35017ca0dadae632ced71a11a7e0b7083af6c (diff)
downloadop-kernel-dev-a84b20654bb5711b45cf28bf5342143ce8652e72.zip
op-kernel-dev-a84b20654bb5711b45cf28bf5342143ce8652e72.tar.gz
OMAPDSS: HDMI: Add delay to wait for 5V power
TPD12S015A spec says to wait 300us after setting CT_CP_HPD gpio for the 5V power output to reach 90% of the voltage. This patch adds the delay to the driver. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/omap2/dss/hdmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index 4fbe271..96a6e29 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -492,6 +492,9 @@ static int hdmi_power_on(struct omap_dss_device *dssdev)
gpio_set_value(hdmi.ct_cp_hpd_gpio, 1);
gpio_set_value(hdmi.ls_oe_gpio, 1);
+ /* wait 300us after CT_CP_HPD for the 5V power output to reach 90% */
+ udelay(300);
+
r = hdmi_runtime_get();
if (r)
goto err_runtime_get;
OpenPOWER on IntegriCloud