Skip to contentSkip to conversation

arm: s3c24xx: Add new LCD (W35i) support for Mini2440 board

PATCH Superseded Denis Kuzmenko 2 participants 5 messages Nov 17, 2011 – Dec 6, 2011

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

PATCH 1/1 arm: s3c24xx: Add new LCD (W35i) support for Mini2440 board

Add new LCD (W35i) support for Mini2440 board

---

arch/arm/mach-s3c2440/mach-mini2440.c +18 -0
index fc2dc0b..951eadd 100644
@@ -167,6 +167,24 @@ static struct s3c2410fb_display mini2440_lcd_cfg[] __initdata = {
 		.lcdcon5	= (S3C2410_LCDCON5_FRM565 |
 				   S3C2410_LCDCON5_HWSWP),
 	},
+	/* mini2440 + 3.5" TFT (LCD-W35i, LQ035Q1DG06 type) + touchscreen*/
+	[3] = {
+		_LCD_DECLARE(
+			/* clock */
+			7,
+			/* xres, margin_right, margin_left, hsync */
+			320, 68, 66, 4,
+			/* yres, margin_top, margin_bottom, vsync */
+			240, 4, 4, 9,
+			/* refresh rate */
+			60),
+		.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

PATCH RESEND 1/1 arm: s3c24xx: Add new LCD (W35i) support for Mini2440 board

Add new LCD (W35i) support for Mini2440 board

---

I need to refer this patch but can't find it on lkml.org Maybe I haven't send it...
Sorry for bothering if I did so.

arch/arm/mach-s3c2440/mach-mini2440.c +18 -0
index fc2dc0b..951eadd 100644
@@ -167,6 +167,24 @@ static struct s3c2410fb_display mini2440_lcd_cfg[] __initdata = {
 		.lcdcon5	= (S3C2410_LCDCON5_FRM565 |
 				   S3C2410_LCDCON5_HWSWP),
 	},
+	/* mini2440 + 3.5" TFT (LCD-W35i, LQ035Q1DG06 type) + touchscreen*/
+	[3] = {
+		_LCD_DECLARE(
+			/* clock */
+			7,
+			/* xres, margin_right, margin_left, hsync */
+			320, 68, 66, 4,
+			/* yres, margin_top, margin_bottom, vsync */
+			240, 4, 4, 9,
+			/* refresh rate */
+			60),
+		.lcdcon5	= (S3C2410_LCDCON5_FRM565 |
+				   S3C2410_LCDCON5_INVVDEN |
+				   S3C2410_LCDCON5_INVVFRAME |
+				   S3C2410_LCDCON5_INVVLINE |
+				   S3C2410_LCDCON5_INVVCLK |
+				   S3C2410_LCDCON5_HWSWP),
+	},
 };
 
 /* todo - put into gpio header */
#2 lore raw

PATCH 1/1 arm: s3c24xx: Add new LCD (W35i) support for Mini2440 board

In reply to Denis Kuzmenko

Add new LCD (W35i) support for Mini2440 board

---

I need to refer this patch but can't find it on lkml.org Maybe I haven't send it...
Sorry for bothering if I did so.

(quoted diff) +0 -0

b/arch/arm/mach-s3c2440/mach-mini2440.c
index fc2dc0b..951eadd 100644

arch/arm/mach-s3c2440/mach-mini2440.c +0 -0
@@ -167,6 +167,24 @@ static struct s3c2410fb_display mini2440_lcd_cfg[]

__initdata = {
.lcdcon5 = (S3C2410_LCDCON5_FRM565 |
S3C2410_LCDCON5_HWSWP),
},
+ /* mini2440 + 3.5" TFT (LCD-W35i, LQ035Q1DG06 type) + touchscreen*/
+ [3] = {
+ _LCD_DECLARE(
+ /* clock */
+ 7,
+ /* xres, margin_right, margin_left, hsync */
+ 320, 68, 66, 4,
+ /* yres, margin_top, margin_bottom, vsync */
+ 240, 4, 4, 9,
+ /* refresh rate */
+ 60),
+ .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

PATCH 1/1 arm: s3c24xx: Add new LCD (W35i) support for Mini2440 board

In reply to Denis Kuzmenko

Add new LCD (W35i) support for Mini2440 board

---

(quoted diff) +0 -0

b/arch/arm/mach-s3c2440/mach-mini2440.c
index fc2dc0b..951eadd 100644

arch/arm/mach-s3c2440/mach-mini2440.c +0 -0
@@ -167,6 +167,24 @@ static struct s3c2410fb_display mini2440_lcd_cfg[]

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

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

+ },
};
/* todo - put into gpio header */

#4 lore raw
Quoted 26 lines · Denis Kuzmenko

Add new LCD (W35i) support for Mini2440 board

---

arch/arm/mach-s3c2440/mach-mini2440.c +10 -0
index fc2dc0b..951eadd 100644
@@ -167,6 +167,24 @@ static struct s3c2410fb_display mini2440_lcd_cfg[]
 __initdata = {
 		.lcdcon5	= (S3C2410_LCDCON5_FRM565 |
 				   S3C2410_LCDCON5_HWSWP),
 	},
+	/* mini2440 + 3.5" TFT (LCD-W35i, LQ035Q1DG06 type) + touchscreen*/
+	[3] = {
+		_LCD_DECLARE(
+			/* clock */
+			7,
+			/* xres, margin_right, margin_left, hsync */
+			320, 68, 66, 4,
+			/* yres, margin_top, margin_bottom, vsync */
+			240, 4, 4, 9,
+			/* refresh rate */

arch/arm/mach-s3c2440/mach-mini2440.c static struct s3c2410fb_display mini2440_lcd_cfg[] · line 190

Quoted 10 lines
arch/arm/mach-s3c2440/mach-mini2440.c +8 -0
+			60),
+		.lcdcon5	= (S3C2410_LCDCON5_FRM565 |
+				   S3C2410_LCDCON5_INVVDEN |
+				   S3C2410_LCDCON5_INVVFRAME |
+				   S3C2410_LCDCON5_INVVLINE |
+				   S3C2410_LCDCON5_INVVCLK |
+				   S3C2410_LCDCON5_HWSWP),
+	},
 };
  /* todo - put into gpio header */

Looks ok, will apply.
Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.