diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-11-10 07:03:26 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:02:06 -0500 |
commit | 64cd04d0cffa3b3af0e81aa3112b71f135739e1a (patch) | |
tree | 7c66ce3a94ae3cc638a88fd2e55a86bcaf760880 /drivers/video/au1200fb.c | |
parent | 809f36c6f4a0568178c909ff1096ca83eae33f7d (diff) |
MIPS: Alchemy: Basic support for the DB1300 board.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2867/
Patchwork: https://patchwork.linux-mips.org/patch/2919/
Patchwork: https://patchwork.linux-mips.org/patch/2928/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'drivers/video/au1200fb.c')
-rw-r--r-- | drivers/video/au1200fb.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/video/au1200fb.c b/drivers/video/au1200fb.c index 72005598040f..6c4342f1d9b4 100644 --- a/drivers/video/au1200fb.c +++ b/drivers/video/au1200fb.c | |||
@@ -639,6 +639,42 @@ static struct panel_settings known_lcd_panels[] = | |||
639 | 856, 856, | 639 | 856, 856, |
640 | 480, 480, | 640 | 480, 480, |
641 | }, | 641 | }, |
642 | [9] = { | ||
643 | .name = "DB1300_800x480", | ||
644 | .monspecs = { | ||
645 | .modedb = NULL, | ||
646 | .modedb_len = 0, | ||
647 | .hfmin = 30000, | ||
648 | .hfmax = 70000, | ||
649 | .vfmin = 60, | ||
650 | .vfmax = 60, | ||
651 | .dclkmin = 6000000, | ||
652 | .dclkmax = 28000000, | ||
653 | .input = FB_DISP_RGB, | ||
654 | }, | ||
655 | .mode_screen = LCD_SCREEN_SX_N(800) | | ||
656 | LCD_SCREEN_SY_N(480), | ||
657 | .mode_horztiming = LCD_HORZTIMING_HPW_N(5) | | ||
658 | LCD_HORZTIMING_HND1_N(16) | | ||
659 | LCD_HORZTIMING_HND2_N(8), | ||
660 | .mode_verttiming = LCD_VERTTIMING_VPW_N(4) | | ||
661 | LCD_VERTTIMING_VND1_N(8) | | ||
662 | LCD_VERTTIMING_VND2_N(5), | ||
663 | .mode_clkcontrol = LCD_CLKCONTROL_PCD_N(1) | | ||
664 | LCD_CLKCONTROL_IV | | ||
665 | LCD_CLKCONTROL_IH, | ||
666 | .mode_pwmdiv = 0x00000000, | ||
667 | .mode_pwmhi = 0x00000000, | ||
668 | .mode_outmask = 0x00FFFFFF, | ||
669 | .mode_fifoctrl = 0x2f2f2f2f, | ||
670 | .mode_toyclksrc = 0x00000004, /* AUXPLL directly */ | ||
671 | .mode_backlight = 0x00000000, | ||
672 | .mode_auxpll = (48/12) * 2, | ||
673 | .device_init = board_au1200fb_panel_init, | ||
674 | .device_shutdown = board_au1200fb_panel_shutdown, | ||
675 | 800, 800, | ||
676 | 480, 480, | ||
677 | }, | ||
642 | }; | 678 | }; |
643 | 679 | ||
644 | #define NUM_PANELS (ARRAY_SIZE(known_lcd_panels)) | 680 | #define NUM_PANELS (ARRAY_SIZE(known_lcd_panels)) |