Skip to content

Commit

Permalink
OMAPDSS: Port the H4 display driver to DSS2
Browse files Browse the repository at this point in the history
Port the old omapfb panel driver for H4 to DSS2.

Cc: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Tomi Valkeinen committed Sep 30, 2011
1 parent 3fddbf5 commit 8a41ba9
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 118 deletions.
1 change: 0 additions & 1 deletion drivers/video/omap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ objs-y$(CONFIG_FB_OMAP_LCDC_HWA742) += hwa742.o
objs-y$(CONFIG_FB_OMAP_LCDC_BLIZZARD) += blizzard.o

objs-y$(CONFIG_MACH_AMS_DELTA) += lcd_ams_delta.o
objs-y$(CONFIG_MACH_OMAP_H4) += lcd_h4.o
objs-y$(CONFIG_MACH_OMAP_H3) += lcd_h3.o
objs-y$(CONFIG_MACH_OMAP_PALMTE) += lcd_palmte.o
objs-y$(CONFIG_MACH_OMAP_PALMTT) += lcd_palmtt.o
Expand Down
117 changes: 0 additions & 117 deletions drivers/video/omap/lcd_h4.c

This file was deleted.

21 changes: 21 additions & 0 deletions drivers/video/omap2/displays/panel-generic-dpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,27 @@ static struct panel_config generic_dpi_panels[] = {
OMAP_DSS_LCD_IHS,
.name = "nec_nl2432dr22-11b",
},

/* Unknown panel used in OMAP H4 */
{
{
.x_res = 240,
.y_res = 320,

.pixel_clock = 6250,

.hsw = 15,
.hfp = 15,
.hbp = 60,

.vsw = 1,
.vfp = 1,
.vbp = 1,
},
.config = OMAP_DSS_LCD_TFT,

.name = "h4",
},
};

struct panel_drv_data {
Expand Down

0 comments on commit 8a41ba9

Please sign in to comment.