/
0098-cape-dvi-Switch-all-DVI-capes-to-using-the-TFTP410-p.patch
213 lines (203 loc) · 6.07 KB
/
0098-cape-dvi-Switch-all-DVI-capes-to-using-the-TFTP410-p.patch
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
From 0bfd779271624b296b85e5c29550e981a8a9ac24 Mon Sep 17 00:00:00 2001
From: Pantelis Antoniou <panto@antoniou-consulting.com>
Date: Wed, 30 Jan 2013 20:11:05 +0200
Subject: [PATCH 098/184] cape-dvi: Switch all DVI capes to using the TFTP410
panel
Now that TFP410 works reasonably well switch to using it.
Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com>
---
firmware/capes/cape-bone-dvi-00A0.dts | 50 +++--------------------------------
firmware/capes/cape-bone-dvi-00A1.dts | 50 +++--------------------------------
firmware/capes/cape-bone-dvi-00A2.dts | 50 +++--------------------------------
3 files changed, 9 insertions(+), 141 deletions(-)
diff --git a/firmware/capes/cape-bone-dvi-00A0.dts b/firmware/capes/cape-bone-dvi-00A0.dts
index 293b655..92fc6be 100644
--- a/firmware/capes/cape-bone-dvi-00A0.dts
+++ b/firmware/capes/cape-bone-dvi-00A0.dts
@@ -83,57 +83,13 @@
};
};
- /* Settings for DVI 1024x768@60 */
+ /* use the DVI panel now */
panel {
- compatible = "tilcdc,panel";
+ compatible = "tilcdc,tfp410";
pinctrl-names = "default";
pinctrl-0 = <&bone_dvi_cape_dvi_00A0_pins>;
ti,power-gpio = <&gpio1 7 0x0>;
- panel-info {
- ac-bias = <255>;
- ac-bias-intrpt = <0>;
- dma-burst-sz = <16>;
- bpp = <16>;
- fdd = <0x80>;
- tft-alt-mode = <0>;
- stn-565-mode = <0>;
- mono-8bit-mode = <0>;
- sync-edge = <0>;
- sync-ctrl = <1>;
- raster-order = <0>;
- fifo-th = <0>;
- };
- display-timings {
- native-mode = <&timing1>;
- timing0: 1024x768 {
- hactive = <1024>;
- vactive = <768>;
- hback-porch = <80>;
- hfront-porch = <48>;
- vback-porch = <15>;
- vfront-porch = <3>;
- hsync-len = <32>;
- vsync-len = <4>;
- clock-frequency = <56000000>;
- hsync-active = <0>;
- vsync-active = <0>;
- };
- /* 1280 x 720 @ 60 Hz Reduced blanking VESA CVT 0.92M9-R */
- timing1: 1280x720-60 {
- hactive = <1280>;
- hfront-porch = <48>;
- hsync-len = <32>;
- hback-porch = <80>;
- vactive = <720>;
- vfront-porch = <3>;
- vsync-len = <5>;
- vback-porch = <13>;
- clock-frequency = <64000000>;
- hsync-active = <0>;
- vsync-active = <0>;
- };
-
- };
+ i2c = <&i2c2>;
};
fb {
diff --git a/firmware/capes/cape-bone-dvi-00A1.dts b/firmware/capes/cape-bone-dvi-00A1.dts
index e706b93..ed9099c 100644
--- a/firmware/capes/cape-bone-dvi-00A1.dts
+++ b/firmware/capes/cape-bone-dvi-00A1.dts
@@ -93,57 +93,13 @@
};
};
- /* Settings for DVI 1024x768@60 */
+ /* use the DVI panel now */
panel {
- compatible = "tilcdc,panel";
+ compatible = "tilcdc,tfp410";
pinctrl-names = "default";
pinctrl-0 = <&bone_dvi_cape_dvi_00A1_pins>;
ti,power-gpio = <&gpio1 7 0x0>;
- panel-info {
- ac-bias = <255>;
- ac-bias-intrpt = <0>;
- dma-burst-sz = <16>;
- bpp = <16>;
- fdd = <0x80>;
- tft-alt-mode = <0>;
- stn-565-mode = <0>;
- mono-8bit-mode = <0>;
- sync-edge = <0>;
- sync-ctrl = <1>;
- raster-order = <0>;
- fifo-th = <0>;
- };
- display-timings {
- native-mode = <&timing1>;
- timing0: 1024x768 {
- hactive = <1024>;
- vactive = <768>;
- hback-porch = <80>;
- hfront-porch = <48>;
- vback-porch = <15>;
- vfront-porch = <3>;
- hsync-len = <32>;
- vsync-len = <4>;
- clock-frequency = <56000000>;
- hsync-active = <0>;
- vsync-active = <0>;
- };
- /* 1280 x 720 @ 60 Hz Reduced blanking VESA CVT 0.92M9-R */
- timing1: 1280x720-60 {
- hactive = <1280>;
- hfront-porch = <48>;
- hsync-len = <32>;
- hback-porch = <80>;
- vactive = <720>;
- vfront-porch = <3>;
- vsync-len = <5>;
- vback-porch = <13>;
- clock-frequency = <64000000>;
- hsync-active = <0>;
- vsync-active = <0>;
- };
-
- };
+ i2c = <&i2c2>;
};
fb {
diff --git a/firmware/capes/cape-bone-dvi-00A2.dts b/firmware/capes/cape-bone-dvi-00A2.dts
index 1dbaef8..fb2dcf0 100644
--- a/firmware/capes/cape-bone-dvi-00A2.dts
+++ b/firmware/capes/cape-bone-dvi-00A2.dts
@@ -93,57 +93,13 @@
};
};
- /* Settings for DVI 1024x768@60 */
+ /* use the DVI panel now */
panel {
- compatible = "tilcdc,panel";
+ compatible = "tilcdc,tfp410";
pinctrl-names = "default";
pinctrl-0 = <&bone_dvi_cape_dvi_00A2_pins>;
ti,power-gpio = <&gpio1 31 0x0>;
- panel-info {
- ac-bias = <255>;
- ac-bias-intrpt = <0>;
- dma-burst-sz = <16>;
- bpp = <16>;
- fdd = <0x80>;
- tft-alt-mode = <0>;
- stn-565-mode = <0>;
- mono-8bit-mode = <0>;
- sync-edge = <0>;
- sync-ctrl = <1>;
- raster-order = <0>;
- fifo-th = <0>;
- };
- display-timings {
- native-mode = <&timing1>;
- timing0: 1024x768 {
- hactive = <1024>;
- vactive = <768>;
- hback-porch = <80>;
- hfront-porch = <48>;
- vback-porch = <15>;
- vfront-porch = <3>;
- hsync-len = <32>;
- vsync-len = <4>;
- clock-frequency = <56000000>;
- hsync-active = <0>;
- vsync-active = <0>;
- };
- /* 1280 x 720 @ 60 Hz Reduced blanking VESA CVT 0.92M9-R */
- timing1: 1280x720-60 {
- hactive = <1280>;
- hfront-porch = <48>;
- hsync-len = <32>;
- hback-porch = <80>;
- vactive = <720>;
- vfront-porch = <3>;
- vsync-len = <5>;
- vback-porch = <13>;
- clock-frequency = <64000000>;
- hsync-active = <0>;
- vsync-active = <0>;
- };
-
- };
+ i2c = <&i2c2>;
};
fb {
--
1.8.2.1