diff options
| -rw-r--r-- | drivers/video/omap2/dss/dpi.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index 6cbcc81991a1..4af136a04e53 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c | |||
| @@ -51,6 +51,22 @@ static struct { | |||
| 51 | 51 | ||
| 52 | static struct platform_device *dpi_get_dsidev(enum omap_channel channel) | 52 | static struct platform_device *dpi_get_dsidev(enum omap_channel channel) |
| 53 | { | 53 | { |
| 54 | /* | ||
| 55 | * XXX we can't currently use DSI PLL for DPI with OMAP3, as the DSI PLL | ||
| 56 | * would also be used for DISPC fclk. Meaning, when the DPI output is | ||
| 57 | * disabled, DISPC clock will be disabled, and TV out will stop. | ||
| 58 | */ | ||
| 59 | switch (omapdss_get_version()) { | ||
| 60 | case OMAPDSS_VER_OMAP24xx: | ||
| 61 | case OMAPDSS_VER_OMAP34xx_ES1: | ||
| 62 | case OMAPDSS_VER_OMAP34xx_ES3: | ||
| 63 | case OMAPDSS_VER_OMAP3630: | ||
| 64 | case OMAPDSS_VER_AM35xx: | ||
| 65 | return NULL; | ||
| 66 | default: | ||
| 67 | break; | ||
| 68 | } | ||
| 69 | |||
| 54 | switch (channel) { | 70 | switch (channel) { |
| 55 | case OMAP_DSS_CHANNEL_LCD: | 71 | case OMAP_DSS_CHANNEL_LCD: |
| 56 | return dsi_get_dsidev_from_id(0); | 72 | return dsi_get_dsidev_from_id(0); |
