Skip to contentSkip to conversation

arm mach-s3c2440 mach-mini2440: New LCD-W35i support

PATCH Denis Kuzmenko 2 participants 4 messages Jun 14, 2011 – Jun 17, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

2011/6/14 Sergei Shtylyov <[email protected]>

Quoted 2 lines

Need an empty line here...
Your patch is line wrapped. Seems easy to fix though...

Thank you. Is the patch below okay?

From: Denis Kuzmenko <[email protected]>

LCD-W35i support for Mini2440 development board

arch/arm/mach-s3c2440/mach-mini2440.c 2011-06-13 23:37:38.785984118 +0300 renamed from arch/arm/mach-s3c2440/mach-mini2440.c 2011-06-03 03:34:20.000000000 +0300 +14 -0
@@ -167,6 +167,20 @@ static struct s3c2410fb_display mini2440
                .lcdcon5        = (S3C2410_LCDCON5_FRM565 |
                                   S3C2410_LCDCON5_HWSWP),
        },
+       /* LCD-W35i 3.5" display (LQ035Q1DG06)*/
+       [3] = {
+               _LCD_DECLARE(
+                       7,              /* clock */
+                       320, 68, 66, 4, /* xres, margin_right, margin_left, hsync */
+                       240, 4, 4, 9,   /* yres, margin_top, margin_bottom, vsync */
+                       60),            /* refresh rate */
+               .lcdcon5        = (S3C2410_LCDCON5_FRM565 |
+                                  S3C2410_LCDCON5_INVVDEN |
+                                  S3C2410_LCDCON5_INVVFRAME |
+                                  S3C2410_LCDCON5_INVVLINE |
+                                  S3C2410_LCDCON5_INVVCLK |
+                                  S3C2410_LCDCON5_HWSWP),
+       },
 };
 
 /* todo - put into gpio header */
#1 lore raw

Hello.

Quoted 4 lines · Denis Kuzmenko
Quoted 2 lines

Need an empty line here...
Your patch is line wrapped. Seems easy to fix though...

Thank you. Is the patch below okay?

    Not yet. :-)
Quoted 3 lines

From: Denis Kuzmenko <[email protected]>

LCD-W35i support for Mini2440 development board

Your signoff needs to be here. Sorry -- didn't notice the first time.

Quoted 15 lines

--- linux-2.6.39.1/arch/arm/mach-s3c2440/mach-mini2440.c 2011-06-03 03:34:20.000000000 +0300
+++ linux-2.6.39.1-dart/arch/arm/mach-s3c2440/mach-mini2440.c 2011-06-13 23:37:38.785984118 +0300

(quoted diff) +0 -0
@@ -167,6 +167,20 @@ static struct s3c2410fb_display mini2440

.lcdcon5 = (S3C2410_LCDCON5_FRM565 | S3C2410_LCDCON5_HWSWP),
},
+ /* LCD-W35i 3.5" display (LQ035Q1DG06)*/
+ [3] = {
+ _LCD_DECLARE(
+ 7, /* clock */
+ 320, 68, 66, 4, /* xres, margin_right, margin_left, hsync */
+ 240, 4, 4, 9, /* yres, margin_top, margin_bottom, vsync */
+ 60), /* refresh rate */

Quoted 8 lines

+ .lcdcon5 = (S3C2410_LCDCON5_FRM565 |
+ S3C2410_LCDCON5_INVVDEN |
+ S3C2410_LCDCON5_INVVFRAME |
+ S3C2410_LCDCON5_INVVLINE |
+ S3C2410_LCDCON5_INVVCLK |
+ S3C2410_LCDCON5_HWSWP),
+ },
};

The patch has all tabs converted to spaces. Didn't notice it the first
time as well... :-/

WBR, Sergei

#2 lore raw
Quoted 4 lines · Sergei Shtylyov

Hello.
Your signoff needs to be here. Sorry -- didn't notice the first time. The patch has all tabs converted to spaces. Didn't notice it the first time as well... :-/

Thanks for comments. How about this one?

From: Denis Kuzmenko <[email protected]>
Date: 2011-06-16 21:30:00 +0300

LCD-W35i support for Mini2440 development board

--- linux-2.6.39.1/arch/arm/mach-s3c2440/mach-mini2440.c 2011-06-03
03:34:20.000000000 +0300
+++ linux-2.6.39.1-dart/arch/arm/mach-s3c2440/mach-mini2440.c 2011-06-13
23:37:38.785984118 +0300
@@ -167,6 +167,20 @@ static struct s3c2410fb_display mini2440
.lcdcon5 = (S3C2410_LCDCON5_FRM565 |
S3C2410_LCDCON5_HWSWP),
},
+ /* LCD-W35i 3.5" display (LQ035Q1DG06)*/
+ [3] = {
+ _LCD_DECLARE(
+ 7, /* clock */
+ 320, 68, 66, 4, /* xres, margin_right, margin_left, hsync */
+ 240, 4, 4, 9, /* yres, margin_top, margin_bottom, vsync */
+ 60), /* refresh rate */
+ .lcdcon5 = (S3C2410_LCDCON5_FRM565 |

+				   S3C2410_LCDCON5_INVVDEN |
+				   S3C2410_LCDCON5_INVVFRAME |
+				   S3C2410_LCDCON5_INVVLINE |
+				   S3C2410_LCDCON5_INVVCLK |
+				   S3C2410_LCDCON5_HWSWP),

+ },
};

/* todo - put into gpio header */

#3 lore raw

Hello.

Quoted 7 lines · Denis Kuzmenko
Quoted 5 lines

Hello.

Your signoff needs to be here. Sorry -- didn't notice the first time. The patch has all tabs converted to spaces. Didn't notice it the first time as well... :-/

Thanks for comments. How about this one?

Seems fine now. :-)

Quoted 6 lines

From: Denis Kuzmenko <[email protected]>
Date: 2011-06-16 21:30:00 +0300

LCD-W35i support for Mini2440 development board

WBR, Sergei