AnsweredAssumed Answered

ADV7123: How to calculate FB videomodeTiming parameters.

Question asked by rajucm on Mar 8, 2015
Latest reply on Dec 4, 2017 by GuenterL

Dear all,

We are using RGB24 LCD interface ====(connected to)===>ADV7123.

I configured 800x480 @ 60Hz display parameters as bellow...

 

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;

};

 

 

static struct fb_videomode lcdif_modedb[] = {

    {

    /* 800x480 @ 60 Hz , pixel clk @ 32MHz */

    "SEIKO-WVGA", 60, 800, 480, 28800, 89, 164, 23, 10, 10, 10,

    FB_SYNC_CLK_LAT_FALL,

    FB_VMODE_NONINTERLACED,

    0,},

};

 

With the clock value I am able to see distorted image(android home screen) on the RGB monitor.

I feel its related to timing issue, Can any one tell us how to calculate value for bellow prams (W.R.T ADV7123)

    u32 left_margin;

    u32 right_margin;

    u32 upper_margin;

    u32 lower_margin;

    u32 hsync_len;

    u32 vsync_len;

    u32 sync;

 

I have attached display shown by of my RGB monitor...

Thanks,

Raju

Attachments

Outcomes