summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPedro Perez de Heredia <pedro.perez@digi.com>2011-12-27 11:21:56 +0100
committerPedro Perez de Heredia <pedro.perez@digi.com>2011-12-27 11:27:24 +0100
commit28d105e116892376e0409e2ba637fbe61c64303a (patch)
tree47a5161199c422c8a2e0494e418c06e29683944c /arch
parentb9d17462f079698d0e07e283ba6f1b047256f3d3 (diff)
ccxmx5x: add support for HSD101PFW2 display
This commit adds support for a new LCD display (HSD101PFW2). This display has been tested with the ConnectCore Wi-i.MX53, connected to its LVDS interface. Keep in mind that the backlight control needs to be controlled through the PWM input of the display. In the CCWi-iMX53 JSK board this is done through the PWM led output (PMIC GPIO15). Signed-off-by: Pedro Perez de Heredia <pedro.perez@digi.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx5/displays/lcd.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/displays/lcd.h b/arch/arm/mach-mx5/displays/lcd.h
index b65bef5cbd47..0ffc3112fc00 100644
--- a/arch/arm/mach-mx5/displays/lcd.h
+++ b/arch/arm/mach-mx5/displays/lcd.h
@@ -66,6 +66,23 @@ static struct fb_videomode lq70y3dg3b = {
.flag = 0,
};
+static struct fb_videomode hsd101pfw2 = {
+ .name = "HSD101PFW2",
+ .refresh = 60,
+ .xres = 1024,
+ .yres = 600,
+ .pixclock = 22222, /* 45 MHz in ps */
+ .left_margin = 0,
+ .right_margin = 0,
+ .upper_margin = 0,
+ .lower_margin = 0,
+ .hsync_len = 176,
+ .vsync_len = 25,
+ .vmode = FB_VMODE_NONINTERLACED,
+ .sync = FB_SYNC_CLK_LAT_FALL | FB_SYNC_EXT,
+ .flag = 0,
+};
+
static struct fb_videomode lq121k1lg11 = {
.name = "LQ121K1LG11",
.refresh = 60,
@@ -124,6 +141,14 @@ struct ccwmx5x_lcd_pdata lcd_panel_list[] = {
},
.bl_enable = lcd_bl_enable,
.init = &lcd_init,
+
+ }, {
+ .fb_pdata = {
+ .mode_str = "HSD101PFW2",
+ .mode = &hsd101pfw2,
+ .num_modes = 1,
+ },
+ .init = &lcd_init,
}, {
.fb_pdata = {
.mode_str = "LQ121K1LG11",