Skip to content

Commit

Permalink
OMAPDSS: HDMI: Add delay to wait for 5V power
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Sep 7, 2012
1 parent cca3501 commit a84b206
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a84b206

Please sign in to comment.