Hy,
I used an iMX53 QSB with LVDS panel and linux kernel 2.6.35.3 from source bundle
I made it work by adding this lvds configuration into
"struct fb_videomode video_modes[]" in mx53_loco.c and ldb.c
{
/*name =*/ "NEC-VGA",
/*refresh =*/ 50,
/*xres =*/ 640,
/*yres =*/ 480,
/*pixclock =*/ 22000, /* in picoseconds! */
/*left_margin =*/ 16, /* HTOT - (HSYNSLEN + HSYNSTART) */
/*right_margin =*/ 30, /* HSYNSTART - XRES */
/*upper_margin =*/ 2, /* VTOT - (VSYNLEN + VSYNSTART) */
/*lower_margin =*/ 2, /* VSYNSTART - YRES */
/*hsync_len =*/ 100,
/*vsync_len =*/ 20,
/*sync =*/ FB_SYNC_CLK_LAT_FALL | FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
/*vmode =*/ FB_VMODE_NONINTERLACED,
/*flag =*/ 0,
},
with tu uBoot argument "video=mxcdi0fb:RGB666,NEC-VGA ldb"
Now I just bought a new QSB-R (with the mc34708 instead of da9053).
So I compiled the kernel (same version) with the latest patches (from 11.09.01 source bundle) to get mc34708 support.
And there, the LVDS doesn't work anymore! (with the same configuration)
I tried my old kernel and the lvds is working so that's not an hardware problem.
Any clue?
Founded!
The problem was on the kernel argument
my previous arguments (for lvds) was :
"video=mxcdi0fb:RGB666,NEC-VGA ldb"
And now it is:
"video=mxcdi0fb:RGB666,NEC-VGA di0_primary ldb=di0"