0

I would like to write a driver to http://www.trulydisplays.com/tft/specs/3.5in%20480x800%20TFT480800-25-E%20Spec.pdf How do I calculate all the following params:

struct fb_videomode {
    const char *name;   /* optional */
    u32 refresh;        /* optional */
    u32 xres;
    u32 yres;
    u32 pixclock;
    u32 left_margin;
    u32 right_margin;
    u32 upper_margin;
    u32 lower_margin;
    u32 hsync_len;
    u32 vsync_len;
    u32 sync;
    u32 vmode;
    u32 flag;
};
Charles
  • 50,943
  • 13
  • 104
  • 142
0x90
  • 39,472
  • 36
  • 165
  • 245

1 Answers1

0

I hope those fields mentioned are available in the EDID of the display device.

0x90
  • 39,472
  • 36
  • 165
  • 245
Jeyaram
  • 9,158
  • 7
  • 41
  • 63