diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3evm.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-omap3evm.c b/arch/arm/mach-omap2/board-omap3evm.c index 3de8d9b8ec76..323c3809ce39 100644 --- a/arch/arm/mach-omap2/board-omap3evm.c +++ b/arch/arm/mach-omap2/board-omap3evm.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <plat/common.h> | 43 | #include <plat/common.h> |
44 | #include <plat/mcspi.h> | 44 | #include <plat/mcspi.h> |
45 | #include <plat/display.h> | 45 | #include <plat/display.h> |
46 | #include <plat/panel-generic-dpi.h> | ||
46 | 47 | ||
47 | #include "mux.h" | 48 | #include "mux.h" |
48 | #include "sdram-micron-mt46h32m32lf-6.h" | 49 | #include "sdram-micron-mt46h32m32lf-6.h" |
@@ -301,13 +302,18 @@ static void omap3_evm_disable_dvi(struct omap_dss_device *dssdev) | |||
301 | dvi_enabled = 0; | 302 | dvi_enabled = 0; |
302 | } | 303 | } |
303 | 304 | ||
305 | static struct panel_generic_dpi_data dvi_panel = { | ||
306 | .name = "generic", | ||
307 | .platform_enable = omap3_evm_enable_dvi, | ||
308 | .platform_disable = omap3_evm_disable_dvi, | ||
309 | }; | ||
310 | |||
304 | static struct omap_dss_device omap3_evm_dvi_device = { | 311 | static struct omap_dss_device omap3_evm_dvi_device = { |
305 | .name = "dvi", | 312 | .name = "dvi", |
306 | .driver_name = "generic_panel", | ||
307 | .type = OMAP_DISPLAY_TYPE_DPI, | 313 | .type = OMAP_DISPLAY_TYPE_DPI, |
314 | .driver_name = "generic_dpi_panel", | ||
315 | .data = &dvi_panel, | ||
308 | .phy.dpi.data_lines = 24, | 316 | .phy.dpi.data_lines = 24, |
309 | .platform_enable = omap3_evm_enable_dvi, | ||
310 | .platform_disable = omap3_evm_disable_dvi, | ||
311 | }; | 317 | }; |
312 | 318 | ||
313 | static struct omap_dss_device *omap3_evm_dss_devices[] = { | 319 | static struct omap_dss_device *omap3_evm_dss_devices[] = { |