video: fbdev: pmag-aa-fb: Report video timings
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 22 Feb 2016 01:55:12 +0000 (01:55 +0000)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 26 Feb 2016 11:06:11 +0000 (13:06 +0200)
The board uses hardwired timings compatible with 72Hz DEC VR319-DA and
VRM17-AA monitors, according to the board owner's manual[1].  These
timings are accordingly taken from the VR319 manual[2].

References:

[1] "The Monochrome Frame Buffer TURBOchannel Module", Digital Equipment
    Corporation, Order Number: EK-MFBOM-TC-001, December 1991

[2] "Installing and Using the VR319 Monochrome Monitor", Digital
    Equipment Corporation, Order Number: EK-VR319-IN-001, First Edition,
    January 1990, Table 6-1 "Video Timing--1280 x 1024 Resolution"

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/pmag-aa-fb.c

index 3920b4e..def86f7 100644 (file)
@@ -79,6 +79,13 @@ static struct fb_var_screeninfo aafb_defined = {
        .blue.length    = 0,
        .activate       = FB_ACTIVATE_NOW,
        .accel_flags    = FB_ACCEL_NONE,
+       .pixclock       = 7645,
+       .left_margin    = 224,
+       .right_margin   = 32,
+       .upper_margin   = 33,
+       .lower_margin   = 3,
+       .hsync_len      = 160,
+       .vsync_len      = 3,
        .sync           = FB_SYNC_ON_GREEN,
        .vmode          = FB_VMODE_NONINTERLACED,
 };