diff options
author | Andy Doan <andy.doan@linaro.org> | 2011-02-20 21:05:18 -0800 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-02-21 23:10:48 -0500 |
commit | 89e446a5f7cd4cb92a67630ea880203b3ec0b7da (patch) | |
tree | 63c51623cc27cdc5e55b97cb33d6016b90a9d941 | |
parent | c2ce11d1e764a5d2e76a3afdfa00dd4babcc34d7 (diff) |
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 <andy.doan@linaro.org>
-rw-r--r-- | arch/arm/mach-omap2/board-overo.c | 20 |
1 files 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 <plat/board.h> #include <plat/common.h> #include <plat/display.h> +#include <plat/panel-generic-dpi.h> #include <mach/gpio.h> #include <plat/gpmc.h> #include <mach/hardware.h> @@ -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[] = { |