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