Skip to content

Commit

Permalink
OMAPDSS: DSI: workaround for HSDiv problem
Browse files Browse the repository at this point in the history
It looks like on many OMAP versions powers for both HSClk and HSDiv to
be enabled to have a functional HSDiv.

This patch fixes the issue by forcing both powers on.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed Nov 5, 2012
1 parent b7f1fe5 commit 7a98786
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1741,6 +1741,12 @@ int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk,

DSSDBG("PLL init\n");

/*
* It seems that on many OMAPs we need to enable both to have a
* functional HSDivider.
*/
enable_hsclk = enable_hsdiv = true;

if (dsi->vdds_dsi_reg == NULL) {
struct regulator *vdds_dsi;

Expand Down

0 comments on commit 7a98786

Please sign in to comment.