diff options
author | Bryan Wu <bryan.wu@canonical.com> | 2010-11-17 08:34:34 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@nokia.com> | 2011-01-10 04:09:53 -0500 |
commit | 89747c9141cd750a610974d93f71492922b8cbd7 (patch) | |
tree | a11d30f7ff631081fdadf903c4fbf400f24a6ef1 /arch/arm/mach-omap2/board-omap3evm.c | |
parent | a9a62b6a886545960488cae3b97acb482361b802 (diff) |
OMAP: use generic DPI panel driver in board files
Still keep sharp_ls_panel, since the sharp_ls_panel driver contains blacklight
control driver code which will be moved out later. Then we can use generic DPI
driver for sharp_ls_panel.
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Acked-by: Archit Taneja <archit@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
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[] = { |