summaryrefslogtreecommitdiffstats
path: root/patches/linux-3.7/0173-da8xx-fb-Add-timings-for-720x480-60.patch
blob: af6c5e37d035e5d611263fe1d3464fd6eefe0999 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
From: Joel A Fernandes <joelagnel@ti.com>
Date: Tue, 20 Nov 2012 11:17:33 -0600
Subject: [PATCH] da8xx-fb: Add timings for 720x480@60

Also add timings for 1080p, 720p and 480p

Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
---
 drivers/video/da8xx-fb.c |   56 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c
index 6d98184..d6b228f 100644
--- a/drivers/video/da8xx-fb.c
+++ b/drivers/video/da8xx-fb.c
@@ -312,6 +312,62 @@ static struct da8xx_panel known_lcd_panels[] = {
 		.pxl_clk = 30000000,
 		.invert_pxl_clk = 0,
 	},
+        [6] = {
+                 /* 1024 x 768 @ 60 Hz  Reduced blanking VESA CVT 0.79M3-R */ 
+                .name = "nxp-720x480@60",
+                .width = 720,
+                .height = 480,
+                .hfp = 15,
+                .hbp = 59,
+                .hsw = 61,
+                .vfp = 9,
+                .vbp = 30,
+                .vsw = 5,
+                .pxl_clk = 27027000,
+                .invert_pxl_clk = 0,
+        },
+	[7] = {
+		 /* 1024 x 768 @ 60 Hz  Reduced blanking VESA CVT 0.79M3-R */ 
+		.name = "nxp-1280x720@60",
+		.width = 1280,
+		.height = 720,
+		.hfp = 109, // 20
+		.hbp = 219, // 54
+		.hsw = 39,
+		.vfp = 5,
+		.vbp = 19,
+		.vsw = 5,
+		.pxl_clk = 74250000,
+		.invert_pxl_clk = 0,
+	},
+	[8] = {
+		 /* 1024 x 768 @ 60 Hz  Reduced blanking VESA CVT 0.79M3-R */ 
+		.name = "nxp-640x480@60",
+		.width = 640,
+		.height = 480,
+		.hfp = 19, // 20 /* Need more changes later */
+		.hbp = 79, // 54
+		.hsw = 59,
+		.vfp = 9,
+		.vbp = 30,
+		.vsw = 6,
+		.pxl_clk = 25200000,
+		.invert_pxl_clk = 0,
+	},
+	[9] = {
+		 /* 1024 x 768 @ 60 Hz  Reduced blanking VESA CVT 0.79M3-R */ 
+		.name = "nxp-1920x1080@24",
+		.width = 1920,
+		.height = 1080,
+		.hfp = 103, // 20
+		.hbp = 311, // 54
+		.hsw = 31,
+		.vfp = 37,
+		.vbp = 60,
+		.vsw = 8,
+		.pxl_clk = 96000000,
+		.invert_pxl_clk = 0,
+	},
 };
 
 /* Enable the Raster Engine of the LCD Controller */