fbmode for 320x240


I use Powertip 3.5" TFT with resolution 320x240 with a board with OMAP3530 (BB clone). For the kernel 2.6.32 I added a driver for this display with a filled structure omap_video_timings.

The problem is that I can’t make the kernel use timings from my driver. I can see an image on screen but it is not aligned.

If I set dvimode to 320x240-16@60 then the timings are used from the file “drivers/video/modedb.c”
If I set dvimode to 320x240MR-16@60 then some calculated value is used and an image does not fit my display.

How can I use exact timings specified in my driver?

Thanks in advance!