aboutsummaryrefslogtreecommitdiff
path: root/linux/3.1.6/0007-n30-Clean-up-LCD-conf.-moved-to-LCD-conf.-from-hardc.patch
blob: 526d45e6812f6d33f119b9fe6bbfb6f5ce140c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
From 8086748ebb12eaec8c7c0ad89f6a52f99f777d87 Mon Sep 17 00:00:00 2001
From: Jiri Pinkava <jiri.pinkava@vscht.cz>
Date: Mon, 24 May 2010 11:00:25 +0200
Subject: [PATCH 07/14] n30: Clean up LCD conf. (moved to LCD conf. from hardcoded section)

Signed-off-by: Jiri Pinkava <jiri.pinkava@vscht.cz>
---
 arch/arm/mach-s3c2410/mach-n30.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s3c2410/mach-n30.c b/arch/arm/mach-s3c2410/mach-n30.c
index 4199143..3158165 100644
--- a/arch/arm/mach-s3c2410/mach-n30.c
+++ b/arch/arm/mach-s3c2410/mach-n30.c
@@ -368,6 +368,15 @@ static struct s3c2410fb_mach_info n30_fb_info __initdata = {
 	.num_displays	= 1,
 	.default_display = 0,
 	.lpcsel		= 0x06,
+
+	.gpccon		= 0xaaa80208,
+	.gpccon_mask	= 0xfffc030c,
+	.gpcup		= 0x0000fe12,
+	.gpcup_mask	= 0xfffffe12,
+	.gpdcon		= 0xaa80aaa4,
+	.gpdcon_mask	= 0xffc0fffc,
+	.gpdup		= 0x0000f8fe,
+	.gpdup_mask	= 0xfffff8fe,
 };
 
 static int n35_backlight_init(struct device *dev)
-- 
1.7.3.1