From 89e446a5f7cd4cb92a67630ea880203b3ec0b7da Mon Sep 17 00:00:00 2001 From: Andy Doan Date: Sun, 20 Feb 2011 21:05:18 -0800 Subject: OMAP: use generic DPI panel driver for overo Changed to keep consistent with other board files. Based on commit(1e1acca2d11) Signed-off-by: Andy Doan --- arch/arm/mach-omap2/board-overo.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-omap2/board-overo.c b/arch/arm/mach-omap2/board-overo.c index 47f470f4f9f..90c256879ed 100644 --- a/arch/arm/mach-omap2/board-overo.c +++ b/arch/arm/mach-omap2/board-overo.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include #include @@ -260,13 +261,19 @@ static void overo_panel_disable_dvi(struct omap_dss_device *dssdev) dvi_enabled = 0; } +static struct panel_generic_dpi_data dvi_panel = { + .name = "generic", + .platform_enable = overo_panel_enable_dvi, + .platform_disable = overo_panel_disable_dvi, +}; + static struct omap_dss_device overo_dvi_device = { - .type = OMAP_DISPLAY_TYPE_DPI, - .name = "dvi", - .driver_name = "generic_panel", - .phy.dpi.data_lines = 24, - .platform_enable = overo_panel_enable_dvi, - .platform_disable = overo_panel_disable_dvi, + .type = OMAP_DISPLAY_TYPE_DPI, + .name = "dvi", + .driver_name = "generic_dpi_panel", + .data = &dvi_panel, + .phy.dpi.data_lines = 24, + .reset_gpio = -EINVAL, }; static struct omap_dss_device overo_tv_device = { @@ -345,6 +352,7 @@ static struct regulator_consumer_supply overo_vdda_dac_supply = static struct regulator_consumer_supply overo_vdds_supplies[] = { REGULATOR_SUPPLY("vdds_sdi", "omap_display"), REGULATOR_SUPPLY("vdds_dsi", "omap_display"), + REGULATOR_SUPPLY("vdds_dsi", "omap_dsi1"), }; static struct mtd_partition overo_nand_partitions[] = { -- cgit v1.2.3