acpi: Add IORT helper functions
[coreboot2.git] / src / drivers / mipi / panel-BOE_TV080WUM_NG0.c
blobc100f421541af4fdc8a6682281eb64ca764a1ed7
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mipi/panel.h>
5 struct panel_serializable_data BOE_TV080WUM_NG0 = {
6 .edid = {
7 .ascii_string = "TV080WUM-NG0",
8 .manufacturer_name = "BOE",
9 .panel_bits_per_color = 8,
10 .panel_bits_per_pixel = 24,
11 .mode = {
12 .pixel_clock = 159420,
13 .lvds_dual_channel = 0,
14 .refresh = 60,
15 .ha = 1200, .hbl = 164, .hso = 80, .hspw = 24,
16 .va = 1920, .vbl = 28, .vso = 10, .vspw = 4,
17 .phsync = '-', .pvsync = '-',
18 .x_mm = 107, .y_mm = 132,
21 .init = {
22 PANEL_DCS(0x10),
23 PANEL_DELAY(0x22),
24 PANEL_DCS(0xB0, 0x05),
25 PANEL_DCS(0xB1, 0xE5),
26 PANEL_DCS(0xB3, 0x52),
27 PANEL_DCS(0xB0, 0x00),
28 PANEL_DCS(0xB3, 0x88),
29 PANEL_DCS(0xB0, 0x04),
30 PANEL_DCS(0xB8, 0x00),
31 PANEL_DCS(0xB0, 0x00),
32 PANEL_DCS(0xB2, 0x50),
33 PANEL_DCS(0xB6, 0x03),
34 PANEL_DCS(0xBA, 0x8B),
35 PANEL_DCS(0xBF, 0x15),
36 PANEL_DCS(0xC0, 0x0F),
37 PANEL_DCS(0xC2, 0x0C),
38 PANEL_DCS(0xC3, 0x02),
39 PANEL_DCS(0xC4, 0x0C),
40 PANEL_DCS(0xC5, 0x02),
41 PANEL_DCS(0xB0, 0x01),
42 PANEL_DCS(0xE0, 0x26),
43 PANEL_DCS(0xE1, 0x26),
44 PANEL_DCS(0xDC, 0x00),
45 PANEL_DCS(0xDD, 0x00),
46 PANEL_DCS(0xCC, 0x26),
47 PANEL_DCS(0xCD, 0x26),
48 PANEL_DCS(0xC8, 0x00),
49 PANEL_DCS(0xC9, 0x00),
50 PANEL_DCS(0xD2, 0x04),
51 PANEL_DCS(0xD3, 0x04),
52 PANEL_DCS(0xE6, 0x03),
53 PANEL_DCS(0xE7, 0x03),
54 PANEL_DCS(0xC4, 0x08),
55 PANEL_DCS(0xC5, 0x08),
56 PANEL_DCS(0xD8, 0x07),
57 PANEL_DCS(0xD9, 0x07),
58 PANEL_DCS(0xC2, 0x06),
59 PANEL_DCS(0xC3, 0x06),
60 PANEL_DCS(0xD6, 0x05),
61 PANEL_DCS(0xD7, 0x05),
62 PANEL_DCS(0xC0, 0x0C),
63 PANEL_DCS(0xC1, 0x0C),
64 PANEL_DCS(0xD4, 0x0B),
65 PANEL_DCS(0xD5, 0x0B),
66 PANEL_DCS(0xCA, 0x0A),
67 PANEL_DCS(0xCB, 0x0A),
68 PANEL_DCS(0xDE, 0x09),
69 PANEL_DCS(0xDF, 0x09),
70 PANEL_DCS(0xC6, 0x26),
71 PANEL_DCS(0xC7, 0x26),
72 PANEL_DCS(0xCE, 0x00),
73 PANEL_DCS(0xCF, 0x00),
74 PANEL_DCS(0xDA, 0x26),
75 PANEL_DCS(0xDB, 0x26),
76 PANEL_DCS(0xE2, 0x00),
77 PANEL_DCS(0xE3, 0x00),
78 PANEL_DCS(0xB0, 0x02),
79 PANEL_DCS(0xC0, 0x00),
80 PANEL_DCS(0xC1, 0x07),
81 PANEL_DCS(0xC2, 0x0D),
82 PANEL_DCS(0xC3, 0x18),
83 PANEL_DCS(0xC4, 0x27),
84 PANEL_DCS(0xC5, 0x28),
85 PANEL_DCS(0xC6, 0x30),
86 PANEL_DCS(0xC7, 0x2E),
87 PANEL_DCS(0xC8, 0x2F),
88 PANEL_DCS(0xC9, 0x1A),
89 PANEL_DCS(0xCA, 0x20),
90 PANEL_DCS(0xCB, 0x29),
91 PANEL_DCS(0xCC, 0x26),
92 PANEL_DCS(0xCD, 0x32),
93 PANEL_DCS(0xCE, 0x33),
94 PANEL_DCS(0xCF, 0x31),
95 PANEL_DCS(0xD0, 0x06),
96 PANEL_DCS(0xD2, 0x00),
97 PANEL_DCS(0xD3, 0x07),
98 PANEL_DCS(0xD4, 0x12),
99 PANEL_DCS(0xD5, 0x26),
100 PANEL_DCS(0xD6, 0x3D),
101 PANEL_DCS(0xD7, 0x3F),
102 PANEL_DCS(0xD8, 0x3F),
103 PANEL_DCS(0xD9, 0x3F),
104 PANEL_DCS(0xDA, 0x3F),
105 PANEL_DCS(0xDB, 0x3F),
106 PANEL_DCS(0xDC, 0x3F),
107 PANEL_DCS(0xDD, 0x3F),
108 PANEL_DCS(0xDE, 0x3F),
109 PANEL_DCS(0xDF, 0x3A),
110 PANEL_DCS(0xE0, 0x37),
111 PANEL_DCS(0xE1, 0x35),
112 PANEL_DCS(0xE2, 0x07),
113 PANEL_DCS(0xB0, 0x03),
114 PANEL_DCS(0xC8, 0x0B),
115 PANEL_DCS(0xC9, 0x07),
116 PANEL_DCS(0xC3, 0x00),
117 PANEL_DCS(0xE7, 0x00),
118 PANEL_DCS(0xC5, 0x2A),
119 PANEL_DCS(0xDE, 0x2A),
120 PANEL_DCS(0xCA, 0x43),
121 PANEL_DCS(0xC9, 0x07),
122 PANEL_DCS(0xE4, 0xC0),
123 PANEL_DCS(0xE5, 0x0D),
124 PANEL_DCS(0xCB, 0x00),
125 PANEL_DCS(0xB0, 0x06),
126 PANEL_DCS(0xB8, 0xA5),
127 PANEL_DCS(0xC0, 0xA5),
128 PANEL_DCS(0xC7, 0x0F),
129 PANEL_DCS(0xD5, 0x32),
130 PANEL_DCS(0xB8, 0x00),
131 PANEL_DCS(0xC0, 0x00),
132 PANEL_DCS(0xBC, 0x00),
133 PANEL_DCS(0xB0, 0x07),
134 PANEL_DCS(0xB1, 0x00),
135 PANEL_DCS(0xB2, 0x09),
136 PANEL_DCS(0xB3, 0x19),
137 PANEL_DCS(0xB4, 0x2F),
138 PANEL_DCS(0xB5, 0x44),
139 PANEL_DCS(0xB6, 0x52),
140 PANEL_DCS(0xB7, 0x6A),
141 PANEL_DCS(0xB8, 0x8A),
142 PANEL_DCS(0xB9, 0xCA),
143 PANEL_DCS(0xBA, 0x0C),
144 PANEL_DCS(0xBB, 0x87),
145 PANEL_DELAY(0x05),
146 PANEL_DCS(0xBC, 0x06),
147 PANEL_DCS(0xBD, 0x0A),
148 PANEL_DCS(0xBE, 0x9B),
149 PANEL_DCS(0xBF, 0x0C),
150 PANEL_DCS(0xC0, 0x3D),
151 PANEL_DCS(0xC1, 0x71),
152 PANEL_DCS(0xC2, 0x90),
153 PANEL_DCS(0xC3, 0xA0),
154 PANEL_DCS(0xC4, 0xA8),
155 PANEL_DCS(0xC5, 0xB1),
156 PANEL_DCS(0xC6, 0xBB),
157 PANEL_DCS(0xC7, 0xC0),
158 PANEL_DCS(0xC8, 0xC4),
159 PANEL_DCS(0xC9, 0x00),
160 PANEL_DCS(0xCA, 0x00),
161 PANEL_DCS(0xCB, 0x16),
162 PANEL_DCS(0xCC, 0xAF),
163 PANEL_DCS(0xCD, 0xFF),
164 PANEL_DCS(0xCE, 0xFF),
165 PANEL_DCS(0xB0, 0x08),
166 PANEL_DCS(0xB1, 0x04),
167 PANEL_DCS(0xB2, 0x08),
168 PANEL_DCS(0xB3, 0x19),
169 PANEL_DCS(0xB4, 0x31),
170 PANEL_DCS(0xB5, 0x46),
171 PANEL_DCS(0xB6, 0x55),
172 PANEL_DCS(0xB7, 0x6E),
173 PANEL_DCS(0xB8, 0x92),
174 PANEL_DCS(0xB9, 0xD4),
175 PANEL_DCS(0xBA, 0x1B),
176 PANEL_DCS(0xBB, 0x9B),
177 PANEL_DELAY(0x05),
178 PANEL_DCS(0xBC, 0x28),
179 PANEL_DCS(0xBD, 0x2D),
180 PANEL_DCS(0xBE, 0xC3),
181 PANEL_DCS(0xBF, 0x2F),
182 PANEL_DCS(0xC0, 0x62),
183 PANEL_DCS(0xC1, 0x99),
184 PANEL_DCS(0xC2, 0xAB),
185 PANEL_DCS(0xC3, 0xBF),
186 PANEL_DCS(0xC4, 0xCF),
187 PANEL_DCS(0xC5, 0xDF),
188 PANEL_DCS(0xC6, 0xF0),
189 PANEL_DCS(0xC7, 0xF9),
190 PANEL_DCS(0xC8, 0xFC),
191 PANEL_DCS(0xC9, 0x00),
192 PANEL_DCS(0xCA, 0x00),
193 PANEL_DCS(0xCB, 0x16),
194 PANEL_DCS(0xCC, 0xAF),
195 PANEL_DCS(0xCD, 0xFF),
196 PANEL_DCS(0xCE, 0xFF),
197 PANEL_DCS(0xB0, 0x09),
198 PANEL_DCS(0xB1, 0x04),
199 PANEL_DCS(0xB2, 0x05),
200 PANEL_DCS(0xB3, 0x17),
201 PANEL_DCS(0xB4, 0x2E),
202 PANEL_DCS(0xB5, 0x42),
203 PANEL_DCS(0xB6, 0x51),
204 PANEL_DCS(0xB7, 0x69),
205 PANEL_DCS(0xB8, 0x88),
206 PANEL_DCS(0xB9, 0xC9),
207 PANEL_DCS(0xBA, 0x0C),
208 PANEL_DCS(0xBB, 0x86),
209 PANEL_DELAY(0x05),
210 PANEL_DCS(0xBC, 0x03),
211 PANEL_DCS(0xBD, 0x08),
212 PANEL_DCS(0xBE, 0x95),
213 PANEL_DCS(0xBF, 0x05),
214 PANEL_DCS(0xC0, 0x35),
215 PANEL_DCS(0xC1, 0x62),
216 PANEL_DCS(0xC2, 0x81),
217 PANEL_DCS(0xC3, 0x96),
218 PANEL_DCS(0xC4, 0x9E),
219 PANEL_DCS(0xC5, 0xA5),
220 PANEL_DCS(0xC6, 0xAD),
221 PANEL_DCS(0xC7, 0xB1),
222 PANEL_DCS(0xC8, 0xB4),
223 PANEL_DCS(0xC9, 0x00),
224 PANEL_DCS(0xCA, 0x00),
225 PANEL_DCS(0xCB, 0x16),
226 PANEL_DCS(0xCC, 0xAF),
227 PANEL_DCS(0xCD, 0xFF),
228 PANEL_DCS(0xCE, 0xFF),
229 PANEL_DCS(0xB0, 0x0A),
230 PANEL_DCS(0xB1, 0x00),
231 PANEL_DCS(0xB2, 0x09),
232 PANEL_DCS(0xB3, 0x19),
233 PANEL_DCS(0xB4, 0x2F),
234 PANEL_DCS(0xB5, 0x44),
235 PANEL_DCS(0xB6, 0x52),
236 PANEL_DCS(0xB7, 0x6A),
237 PANEL_DCS(0xB8, 0x8A),
238 PANEL_DCS(0xB9, 0xCA),
239 PANEL_DCS(0xBA, 0x0C),
240 PANEL_DCS(0xBB, 0x87),
241 PANEL_DELAY(0x05),
242 PANEL_DCS(0xBC, 0x06),
243 PANEL_DCS(0xBD, 0x0A),
244 PANEL_DCS(0xBE, 0x9B),
245 PANEL_DCS(0xBF, 0x0C),
246 PANEL_DCS(0xC0, 0x3D),
247 PANEL_DCS(0xC1, 0x71),
248 PANEL_DCS(0xC2, 0x90),
249 PANEL_DCS(0xC3, 0xA0),
250 PANEL_DCS(0xC4, 0xA8),
251 PANEL_DCS(0xC5, 0xB1),
252 PANEL_DCS(0xC6, 0xBB),
253 PANEL_DCS(0xC7, 0xC0),
254 PANEL_DCS(0xC8, 0xC4),
255 PANEL_DCS(0xC9, 0x00),
256 PANEL_DCS(0xCA, 0x00),
257 PANEL_DCS(0xCB, 0x16),
258 PANEL_DCS(0xCC, 0xAF),
259 PANEL_DCS(0xCD, 0xFF),
260 PANEL_DCS(0xCE, 0xFF),
261 PANEL_DCS(0xB0, 0x0B),
262 PANEL_DCS(0xB1, 0x04),
263 PANEL_DCS(0xB2, 0x08),
264 PANEL_DCS(0xB3, 0x19),
265 PANEL_DCS(0xB4, 0x31),
266 PANEL_DCS(0xB5, 0x46),
267 PANEL_DCS(0xB6, 0x55),
268 PANEL_DCS(0xB7, 0x6E),
269 PANEL_DCS(0xB8, 0x92),
270 PANEL_DCS(0xB9, 0xD4),
271 PANEL_DCS(0xBA, 0x1B),
272 PANEL_DCS(0xBB, 0x9B),
273 PANEL_DELAY(0x05),
274 PANEL_DCS(0xBC, 0x28),
275 PANEL_DCS(0xBD, 0x2D),
276 PANEL_DCS(0xBE, 0xC3),
277 PANEL_DCS(0xBF, 0x2F),
278 PANEL_DCS(0xC0, 0x62),
279 PANEL_DCS(0xC1, 0x99),
280 PANEL_DCS(0xC2, 0xAB),
281 PANEL_DCS(0xC3, 0xBF),
282 PANEL_DCS(0xC4, 0xCF),
283 PANEL_DCS(0xC5, 0xDF),
284 PANEL_DCS(0xC6, 0xF0),
285 PANEL_DCS(0xC7, 0xF9),
286 PANEL_DCS(0xC8, 0xFC),
287 PANEL_DCS(0xC9, 0x00),
288 PANEL_DCS(0xCA, 0x00),
289 PANEL_DCS(0xCB, 0x16),
290 PANEL_DCS(0xCC, 0xAF),
291 PANEL_DCS(0xCD, 0xFF),
292 PANEL_DCS(0xCE, 0xFF),
293 PANEL_DCS(0xB0, 0x0C),
294 PANEL_DCS(0xB1, 0x04),
295 PANEL_DCS(0xB2, 0x05),
296 PANEL_DCS(0xB3, 0x17),
297 PANEL_DCS(0xB4, 0x2E),
298 PANEL_DCS(0xB5, 0x42),
299 PANEL_DCS(0xB6, 0x51),
300 PANEL_DCS(0xB7, 0x69),
301 PANEL_DCS(0xB8, 0x88),
302 PANEL_DCS(0xB9, 0xC9),
303 PANEL_DCS(0xBA, 0x0C),
304 PANEL_DCS(0xBB, 0x86),
305 PANEL_DELAY(0x05),
306 PANEL_DCS(0xBC, 0x03),
307 PANEL_DCS(0xBD, 0x08),
308 PANEL_DCS(0xBE, 0x95),
309 PANEL_DCS(0xBF, 0x05),
310 PANEL_DCS(0xC0, 0x35),
311 PANEL_DCS(0xC1, 0x62),
312 PANEL_DCS(0xC2, 0x81),
313 PANEL_DCS(0xC3, 0x96),
314 PANEL_DCS(0xC4, 0x9E),
315 PANEL_DCS(0xC5, 0xA5),
316 PANEL_DCS(0xC6, 0xAD),
317 PANEL_DCS(0xC7, 0xB1),
318 PANEL_DCS(0xC8, 0xB4),
319 PANEL_DCS(0xC9, 0x00),
320 PANEL_DCS(0xCA, 0x00),
321 PANEL_DCS(0xCB, 0x16),
322 PANEL_DCS(0xCC, 0xAF),
323 PANEL_DCS(0xCD, 0xFF),
324 PANEL_DCS(0xCE, 0xFF),
325 PANEL_DELAY(0x64),
326 PANEL_DCS(0xB0, 0x00),
327 PANEL_DCS(0xB3, 0x08),
328 PANEL_DCS(0xB0, 0x04),
329 PANEL_DCS(0xB8, 0x68),
330 PANEL_DELAY(0x0A),
331 PANEL_DCS(0x11),
332 PANEL_DELAY(0x78),
333 PANEL_DCS(0x29),
334 PANEL_DELAY(0x14),
335 PANEL_END,