Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344632
b: refs/heads/master
c: 76eed4b
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Nov 7, 2012
1 parent 777e5e2 commit f41aa33
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3758476501ce6381435f60c03ae31268097e2e91
refs/heads/master: 76eed4bcb6f90e77764ec024411d6b409ce7c8a1
8 changes: 8 additions & 0 deletions trunk/drivers/video/omap2/dss/dsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1752,6 +1752,10 @@ int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk,

vdds_dsi = regulator_get(&dsi->pdev->dev, "vdds_dsi");

/* DT HACK: try VCXIO to make omapdss work for o4 sdp/panda */
if (IS_ERR(vdds_dsi))
vdds_dsi = regulator_get(&dsi->pdev->dev, "VCXIO");

if (IS_ERR(vdds_dsi)) {
DSSERR("can't get VDDS_DSI regulator\n");
return PTR_ERR(vdds_dsi);
Expand Down Expand Up @@ -4968,6 +4972,10 @@ static int __init dsi_init_display(struct omap_dss_device *dssdev)

vdds_dsi = regulator_get(&dsi->pdev->dev, "vdds_dsi");

/* DT HACK: try VCXIO to make omapdss work for o4 sdp/panda */
if (IS_ERR(vdds_dsi))
vdds_dsi = regulator_get(&dsi->pdev->dev, "VCXIO");

if (IS_ERR(vdds_dsi)) {
DSSERR("can't get VDDS_DSI regulator\n");
return PTR_ERR(vdds_dsi);
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ static int __init hdmi_init_display(struct omap_dss_device *dssdev)

reg = devm_regulator_get(&hdmi.pdev->dev, "vdda_hdmi_dac");

/* DT HACK: try VDAC to make omapdss work for o4 sdp/panda */
if (IS_ERR(reg))
reg = devm_regulator_get(&hdmi.pdev->dev, "VDAC");

if (IS_ERR(reg)) {
DSSERR("can't get VDDA_HDMI_DAC regulator\n");
return PTR_ERR(reg);
Expand Down

0 comments on commit f41aa33

Please sign in to comment.