aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-10-15 03:53:56 -0400
committerPaul Mundt <lethal@linux-sh.org>2010-10-15 06:00:56 -0400
commit402f33154ee12de80fafa7f780d338d90cecbb5f (patch)
treed86a4018e9aa468a07e44df72b7227a1c7736d03 /arch
parentc44f9f76d26c3b5158c65201d30e96393efe2fbd (diff)
ARM: mach-shmobile: remove videomodes from ap4evb platform data
Now that HDMI videomodes have become optional, they can be safely removed from ap4evb platform data, since anyway 720p seems to be the best supported mode. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/board-ap4evb.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c
index 1e7beee7908..d21637d0f6d 100644
--- a/arch/arm/mach-shmobile/board-ap4evb.c
+++ b/arch/arm/mach-shmobile/board-ap4evb.c
@@ -577,60 +577,6 @@ static struct platform_device fsi_device = {
577 }, 577 },
578}; 578};
579 579
580/*
581 * If left and right margins are not multiples of 8,
582 * LDHAJR will be adjusted accordingly by the LCDC
583 * driver. Until we start using EDID, these values
584 * might have to be adjusted for different monitors.
585 */
586const static struct fb_videomode ap4evb_hdmi_modes[] = {
587 {
588 .name = "HDMI 720p",
589 .xres = 1280,
590 .yres = 720,
591
592 .left_margin = 200,
593 .right_margin = 88,
594 .hsync_len = 48,
595
596 .upper_margin = 20,
597 .lower_margin = 5,
598 .vsync_len = 5,
599
600 .pixclock = 13468,
601 .sync = FB_SYNC_VERT_HIGH_ACT | FB_SYNC_HOR_HIGH_ACT,
602 }, {
603 .name = "1280x1024",
604 .xres = 1280,
605 .yres = 1024,
606
607 .left_margin = 144,
608 .right_margin = 48,
609 .hsync_len = 64,
610
611 .upper_margin = 35,
612 .lower_margin = 5,
613 .vsync_len = 3,
614
615 .pixclock = 9800,
616 .sync = FB_SYNC_VERT_HIGH_ACT | FB_SYNC_HOR_HIGH_ACT,
617 }, {
618 .name = "HDMI 480p",
619 .xres = 720,
620 .yres = 480,
621
622 .left_margin = 36,
623 .right_margin = 18,
624 .hsync_len = 68,
625
626 .upper_margin = 36,
627 .lower_margin = 3,
628 .vsync_len = 6,
629 .pixclock = 37037,
630 .sync = FB_SYNC_VERT_HIGH_ACT | FB_SYNC_HOR_HIGH_ACT,
631 },
632};
633
634static struct sh_mobile_lcdc_info sh_mobile_lcdc1_info = { 580static struct sh_mobile_lcdc_info sh_mobile_lcdc1_info = {
635 .clock_source = LCDC_CLK_EXTERNAL, 581 .clock_source = LCDC_CLK_EXTERNAL,
636 .ch[0] = { 582 .ch[0] = {
@@ -639,8 +585,6 @@ static struct sh_mobile_lcdc_info sh_mobile_lcdc1_info = {
639 .interface_type = RGB24, 585 .interface_type = RGB24,
640 .clock_divider = 1, 586 .clock_divider = 1,
641 .flags = LCDC_FLAGS_DWPOL, 587 .flags = LCDC_FLAGS_DWPOL,
642 .lcd_cfg = ap4evb_hdmi_modes,
643 .num_cfg = ARRAY_SIZE(ap4evb_hdmi_modes),
644 } 588 }
645}; 589};
646 590