Mini2440 Shifted screen problem

From Kenneth Noyens
Revision as of 22:19, 10 February 2010 by Kenneth (talk | contribs) (Nieuwe pagina aangemaakt met 'If your 3,5" screen is a bit shifted to the left (or to the right) you probably have a misconfigured screen.<br> You have 2 different 3,5" screens that are shipped wit...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If your 3,5" screen is a bit shifted to the left (or to the right) you probably have a misconfigured screen.
You have 2 different 3,5" screens that are shipped with the mini2440:

- T35 (new one as nov 2009)
- N35 (old one)

The T35 uses different timings.
Look for the file arch/arm/mach-s3c2440/mach-mini2440.c and search this:

[0] = { /* mini2440 + 3.5" TFT + touchscreen */

        Michel Pollet	2009-03-25 17:19:14 +0000	149	_LCD_DECLARE(
        7, /* The 3.5 is quite fast */
        240, 21, 38, 6, /* x timing */
        320, 4, 4, 2, /* y timing */
        60), /* refresh rate */
        .lcdcon5 = (S3C2410_LCDCON5_FRM565 |
                S3C2410_LCDCON5_INVVLINE |
                S3C2410_LCDCON5_INVVFRAME |
                S3C2410_LCDCON5_INVVDEN |
                S3C2410_LCDCON5_PWREN),
},

Change the timings to:

240, 21, 25, 6, /* x timing */
320, 2, 4, 2, /* y timing */