aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1e7beee79086..d21637d0f6dd 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