diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-01 03:13:04 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-30 09:16:48 -0400 |
commit | 1d7a8654e88885137ade1769c574467775fde27b (patch) | |
tree | 3812a0bf030b8e7ed6214671b1794620b859f8de /arch/arm/mach-omap2/board-omap3beagle.c | |
parent | ba2eac9ed32e4485b2a76e1a0922837d3ffd6149 (diff) |
OMAP: use dvi panel driver instead of generic-dpi
Multiple OMAP3/4 boards have a DVI framer output. This patch makes the
boards use the new panel-dvi driver, instead of the panel-generic-dpi
driver.
Separate drivers for fixed size panels and DVI framer gives us cleaner
driver code.
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-omap3beagle.c')
-rw-r--r-- | arch/arm/mach-omap2/board-omap3beagle.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 3ae16b4e3f52..26bc86082737 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include <plat/board.h> | 42 | #include <plat/board.h> |
43 | #include <plat/common.h> | 43 | #include <plat/common.h> |
44 | #include <video/omapdss.h> | 44 | #include <video/omapdss.h> |
45 | #include <video/omap-panel-generic-dpi.h> | 45 | #include <video/omap-panel-dvi.h> |
46 | #include <plat/gpmc.h> | 46 | #include <plat/gpmc.h> |
47 | #include <plat/nand.h> | 47 | #include <plat/nand.h> |
48 | #include <plat/usb.h> | 48 | #include <plat/usb.h> |
@@ -203,8 +203,7 @@ static void beagle_disable_dvi(struct omap_dss_device *dssdev) | |||
203 | gpio_set_value(dssdev->reset_gpio, 0); | 203 | gpio_set_value(dssdev->reset_gpio, 0); |
204 | } | 204 | } |
205 | 205 | ||
206 | static struct panel_generic_dpi_data dvi_panel = { | 206 | static struct panel_dvi_platform_data dvi_panel = { |
207 | .name = "generic", | ||
208 | .platform_enable = beagle_enable_dvi, | 207 | .platform_enable = beagle_enable_dvi, |
209 | .platform_disable = beagle_disable_dvi, | 208 | .platform_disable = beagle_disable_dvi, |
210 | }; | 209 | }; |
@@ -212,7 +211,7 @@ static struct panel_generic_dpi_data dvi_panel = { | |||
212 | static struct omap_dss_device beagle_dvi_device = { | 211 | static struct omap_dss_device beagle_dvi_device = { |
213 | .type = OMAP_DISPLAY_TYPE_DPI, | 212 | .type = OMAP_DISPLAY_TYPE_DPI, |
214 | .name = "dvi", | 213 | .name = "dvi", |
215 | .driver_name = "generic_dpi_panel", | 214 | .driver_name = "dvi", |
216 | .data = &dvi_panel, | 215 | .data = &dvi_panel, |
217 | .phy.dpi.data_lines = 24, | 216 | .phy.dpi.data_lines = 24, |
218 | .reset_gpio = -EINVAL, | 217 | .reset_gpio = -EINVAL, |