summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-02-10 11:45:52 +0530
committerTomi Valkeinen <tomi.valkeinen@ti.com>2012-02-23 10:29:08 +0200
commita247ce78ca3fa041f3e6b1187c4ae96c7016e83a (patch)
tree56febb09d0817a380c3a9c725f01afe3928048fb /drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c
parentd65b4e98d7ea3038b767b70fe8be959b2913f16d (diff)
downloadblackbird-op-linux-a247ce78ca3fa041f3e6b1187c4ae96c7016e83a.tar.gz
blackbird-op-linux-a247ce78ca3fa041f3e6b1187c4ae96c7016e83a.zip
OMAPDSS: HACK: Ensure DSS clock domain gets out of idle when HDMI is enabled
For DSS clock domain to transition from idle to active state. It's necessary to enable the optional clock DSS_FCLK before we enable the module using the MODULEMODE bits in the clock domain's CM_DSS_DSS_CLKCTRL register. This sequence was not followed correctly for the 'dss_hdmi' hwmod and it led to DSS clock domain not getting out of idle when pm_runtime_get_sync() was called for hdmi's platform device. Since the clock domain failed to change it's state to active, the hwmod code disables any clocks it had enabled before for this hwmod. This led to the clock 'dss_48mhz_clk' gettind disabled. When hdmi's runtime_resume() op is called, the call to dss_runtime_get() correctly enables the DSS clock domain this time. However, the clock 'dss_48mhz_clk' is needed for HDMI's PHY to function correctly. Since it was disabled previously, the driver fails when it tries to enable HDMI's PHY. Fix this for now by ensuring that dss_runtime_get() is called before we call pm_runtime_get_sync() for hdmi's platform device. A correct fix for later would be to modify the DSS related hwmod's mainclks, and also some changes in how opt clocks are handled in the DSS driver. This fixes the issue of HDMI not working when it's the default display. The issue is not seen if any other display is already enabled as the first display would have correctly enabled the DSS clockdomain. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/ti_hdmi_4xxx_ip.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud