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-3430sdp.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-3430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index bd600cfb7f80..18c4d19a439f 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -37,7 +37,7 @@ | |||
37 | #include <plat/dma.h> | 37 | #include <plat/dma.h> |
38 | #include <plat/gpmc.h> | 38 | #include <plat/gpmc.h> |
39 | #include <video/omapdss.h> | 39 | #include <video/omapdss.h> |
40 | #include <video/omap-panel-generic-dpi.h> | 40 | #include <video/omap-panel-dvi.h> |
41 | 41 | ||
42 | #include <plat/gpmc-smc91x.h> | 42 | #include <plat/gpmc-smc91x.h> |
43 | 43 | ||
@@ -186,8 +186,7 @@ static struct omap_dss_device sdp3430_lcd_device = { | |||
186 | .platform_disable = sdp3430_panel_disable_lcd, | 186 | .platform_disable = sdp3430_panel_disable_lcd, |
187 | }; | 187 | }; |
188 | 188 | ||
189 | static struct panel_generic_dpi_data dvi_panel = { | 189 | static struct panel_dvi_platform_data dvi_panel = { |
190 | .name = "generic", | ||
191 | .platform_enable = sdp3430_panel_enable_dvi, | 190 | .platform_enable = sdp3430_panel_enable_dvi, |
192 | .platform_disable = sdp3430_panel_disable_dvi, | 191 | .platform_disable = sdp3430_panel_disable_dvi, |
193 | }; | 192 | }; |
@@ -195,7 +194,7 @@ static struct panel_generic_dpi_data dvi_panel = { | |||
195 | static struct omap_dss_device sdp3430_dvi_device = { | 194 | static struct omap_dss_device sdp3430_dvi_device = { |
196 | .name = "dvi", | 195 | .name = "dvi", |
197 | .type = OMAP_DISPLAY_TYPE_DPI, | 196 | .type = OMAP_DISPLAY_TYPE_DPI, |
198 | .driver_name = "generic_dpi_panel", | 197 | .driver_name = "dvi", |
199 | .data = &dvi_panel, | 198 | .data = &dvi_panel, |
200 | .phy.dpi.data_lines = 24, | 199 | .phy.dpi.data_lines = 24, |
201 | }; | 200 | }; |