diff options
Diffstat (limited to 'drivers/video/fbdev/omap2/dss')
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi5.c | 1 | ||||
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi_phy.c | 1 | ||||
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi_pll.c | 5 |
3 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi5.c b/drivers/video/fbdev/omap2/dss/hdmi5.c index 39aae3aa7136..3f0b34a7031a 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi5.c +++ b/drivers/video/fbdev/omap2/dss/hdmi5.c | |||
@@ -787,6 +787,7 @@ static const struct dev_pm_ops hdmi_pm_ops = { | |||
787 | 787 | ||
788 | static const struct of_device_id hdmi_of_match[] = { | 788 | static const struct of_device_id hdmi_of_match[] = { |
789 | { .compatible = "ti,omap5-hdmi", }, | 789 | { .compatible = "ti,omap5-hdmi", }, |
790 | { .compatible = "ti,dra7-hdmi", }, | ||
790 | {}, | 791 | {}, |
791 | }; | 792 | }; |
792 | 793 | ||
diff --git a/drivers/video/fbdev/omap2/dss/hdmi_phy.c b/drivers/video/fbdev/omap2/dss/hdmi_phy.c index bc9e07d2afbe..1f5d19c119ce 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi_phy.c +++ b/drivers/video/fbdev/omap2/dss/hdmi_phy.c | |||
@@ -208,6 +208,7 @@ static int hdmi_phy_init_features(struct platform_device *pdev) | |||
208 | break; | 208 | break; |
209 | 209 | ||
210 | case OMAPDSS_VER_OMAP5: | 210 | case OMAPDSS_VER_OMAP5: |
211 | case OMAPDSS_VER_DRA7xx: | ||
211 | src = &omap54xx_phy_feats; | 212 | src = &omap54xx_phy_feats; |
212 | break; | 213 | break; |
213 | 214 | ||
diff --git a/drivers/video/fbdev/omap2/dss/hdmi_pll.c b/drivers/video/fbdev/omap2/dss/hdmi_pll.c index b808f7c72d83..06e23a7c432c 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi_pll.c +++ b/drivers/video/fbdev/omap2/dss/hdmi_pll.c | |||
@@ -104,6 +104,8 @@ static int hdmi_pll_enable(struct dss_pll *dsspll) | |||
104 | struct hdmi_wp_data *wp = pll->wp; | 104 | struct hdmi_wp_data *wp = pll->wp; |
105 | u16 r = 0; | 105 | u16 r = 0; |
106 | 106 | ||
107 | dss_ctrl_pll_enable(DSS_PLL_HDMI, true); | ||
108 | |||
107 | r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS); | 109 | r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS); |
108 | if (r) | 110 | if (r) |
109 | return r; | 111 | return r; |
@@ -117,6 +119,8 @@ static void hdmi_pll_disable(struct dss_pll *dsspll) | |||
117 | struct hdmi_wp_data *wp = pll->wp; | 119 | struct hdmi_wp_data *wp = pll->wp; |
118 | 120 | ||
119 | hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF); | 121 | hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF); |
122 | |||
123 | dss_ctrl_pll_enable(DSS_PLL_HDMI, false); | ||
120 | } | 124 | } |
121 | 125 | ||
122 | static const struct dss_pll_ops dsi_pll_ops = { | 126 | static const struct dss_pll_ops dsi_pll_ops = { |
@@ -197,6 +201,7 @@ static int dsi_init_pll_data(struct platform_device *pdev, struct hdmi_pll_data | |||
197 | break; | 201 | break; |
198 | 202 | ||
199 | case OMAPDSS_VER_OMAP5: | 203 | case OMAPDSS_VER_OMAP5: |
204 | case OMAPDSS_VER_DRA7xx: | ||
200 | pll->hw = &dss_omap5_hdmi_pll_hw; | 205 | pll->hw = &dss_omap5_hdmi_pll_hw; |
201 | break; | 206 | break; |
202 | 207 | ||