Changeset 3603


Ignore:
Timestamp:
12/06/07 14:08:01 (6 years ago)
Author:
laforge
Message:

GTA01:

  • don't mark s3c2410_displays as initdata since the driver needs it at fbset time
  • use correct millimeter values for physical height and width of display
  • fix switched front/backporch understanding of myself ;)
  • add 32bpp mode at full-vga
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/src/target/kernel/2.6.24.x/patches/gta01-core.patch

    r3592 r3603  
    3232--- /dev/null 
    3333+++ linux-2.6/arch/arm/mach-s3c2410/mach-gta01.c 
    34 @@ -0,0 +1,760 @@ 
     34@@ -0,0 +1,783 @@ 
    3535+/* 
    3636+ * linux/arch/arm/mach-s3c2410/mach-gta01.c 
     
    309309+/* LCD driver info */ 
    310310+ 
    311 +/* Configuration for 480x640 toppoly TD028TTEC1 */ 
    312 +static struct s3c2410fb_display gta01_displays[] __initdata =  { 
     311+/* Configuration for 480x640 toppoly TD028TTEC1. 
     312+ * Do not mark this as __initdata or it will break! */ 
     313+static struct s3c2410fb_display gta01_displays[] =  { 
    313314+       { 
    314315+               .type           = S3C2410_LCDCON1_TFT, 
    315 +               .width          = 480, 
    316 +               .height         = 640, 
     316+               .width          = 43, 
     317+               .height         = 58, 
    317318+               .xres           = 480, 
    318319+               .yres           = 640, 
     
    323324+               .right_margin   = 8, 
    324325+               .hsync_len      = 8, 
    325 +               .upper_margin   = 16, 
    326 +               .lower_margin   = 2, 
     326+               .upper_margin   = 2, 
     327+               .lower_margin   = 16, 
    327328+               .vsync_len      = 2, 
    328329+               .lcdcon5        = S3C2410_LCDCON5_FRM565 | 
     
    335336+       { 
    336337+               .type           = S3C2410_LCDCON1_TFT, 
    337 +               .width          = 240, 
    338 +               .height         = 320, 
     338+               .width          = 43, 
     339+               .height         = 58, 
     340+               .xres           = 480, 
     341+               .yres           = 640, 
     342+               .bpp            = 32, 
     343+ 
     344+               .pixclock       = 40000,        /* HCLK/4 */ 
     345+               .left_margin    = 104, 
     346+               .right_margin   = 8, 
     347+               .hsync_len      = 8, 
     348+               .upper_margin   = 2, 
     349+               .lower_margin   = 16, 
     350+               .vsync_len      = 2, 
     351+               .lcdcon5        = S3C2410_LCDCON5_FRM565 | 
     352+                                 S3C2410_LCDCON5_INVVCLK | 
     353+                                 S3C2410_LCDCON5_INVVLINE | 
     354+                                 S3C2410_LCDCON5_INVVFRAME | 
     355+                                 S3C2410_LCDCON5_PWREN | 
     356+                                 S3C2410_LCDCON5_HWSWP, 
     357+       }, 
     358+       { 
     359+               .type           = S3C2410_LCDCON1_TFT, 
     360+               .width          = 43, 
     361+               .height         = 58, 
    339362+               .xres           = 240, 
    340363+               .yres           = 320, 
Note: See TracChangeset for help on using the changeset viewer.