mb/google/brya: Create rull variant
[coreboot2.git] / src / drivers / mipi / panel-BOE_TV101WUM_N53.c
blobd5df6815d0f5b7771c33914efa6df646126ec12a
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mipi/panel.h>
5 struct panel_serializable_data BOE_TV101WUM_N53 = {
6 .edid = {
7 .ascii_string = "TV101WUM-N53",
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 = 135, .y_mm = 216,
21 .init = {
22 PANEL_DELAY(24),
23 PANEL_DCS(0xB0, 0x05),
24 PANEL_DCS(0xB1, 0xE5),
25 PANEL_DCS(0xB3, 0x52),
26 PANEL_DCS(0xB0, 0x00),
27 PANEL_DCS(0xB3, 0x88),
28 PANEL_DCS(0xB0, 0x04),
29 PANEL_DCS(0xB8, 0x00),
30 PANEL_DCS(0xB0, 0x00),
31 PANEL_DCS(0xB6, 0x03),
32 PANEL_DCS(0xBA, 0x8B),
33 PANEL_DCS(0xBF, 0x1A),
34 PANEL_DCS(0xC0, 0x0F),
35 PANEL_DCS(0xC2, 0x0C),
36 PANEL_DCS(0xC3, 0x02),
37 PANEL_DCS(0xC4, 0x0C),
38 PANEL_DCS(0xC5, 0x02),
39 PANEL_DCS(0xB0, 0x01),
40 PANEL_DCS(0xE0, 0x26),
41 PANEL_DCS(0xE1, 0x26),
42 PANEL_DCS(0xDC, 0x00),
43 PANEL_DCS(0xDD, 0x00),
44 PANEL_DCS(0xCC, 0x26),
45 PANEL_DCS(0xCD, 0x26),
46 PANEL_DCS(0xC8, 0x00),
47 PANEL_DCS(0xC9, 0x00),
48 PANEL_DCS(0xD2, 0x03),
49 PANEL_DCS(0xD3, 0x03),
50 PANEL_DCS(0xE6, 0x04),
51 PANEL_DCS(0xE7, 0x04),
52 PANEL_DCS(0xC4, 0x09),
53 PANEL_DCS(0xC5, 0x09),
54 PANEL_DCS(0xD8, 0x0A),
55 PANEL_DCS(0xD9, 0x0A),
56 PANEL_DCS(0xC2, 0x0B),
57 PANEL_DCS(0xC3, 0x0B),
58 PANEL_DCS(0xD6, 0x0C),
59 PANEL_DCS(0xD7, 0x0C),
60 PANEL_DCS(0xC0, 0x05),
61 PANEL_DCS(0xC1, 0x05),
62 PANEL_DCS(0xD4, 0x06),
63 PANEL_DCS(0xD5, 0x06),
64 PANEL_DCS(0xCA, 0x07),
65 PANEL_DCS(0xCB, 0x07),
66 PANEL_DCS(0xDE, 0x08),
67 PANEL_DCS(0xDF, 0x08),
68 PANEL_DCS(0xB0, 0x02),
69 PANEL_DCS(0xC0, 0x00),
70 PANEL_DCS(0xC1, 0x0D),
71 PANEL_DCS(0xC2, 0x17),
72 PANEL_DCS(0xC3, 0x26),
73 PANEL_DCS(0xC4, 0x31),
74 PANEL_DCS(0xC5, 0x1C),
75 PANEL_DCS(0xC6, 0x2C),
76 PANEL_DCS(0xC7, 0x33),
77 PANEL_DCS(0xC8, 0x31),
78 PANEL_DCS(0xC9, 0x37),
79 PANEL_DCS(0xCA, 0x37),
80 PANEL_DCS(0xCB, 0x37),
81 PANEL_DCS(0xCC, 0x39),
82 PANEL_DCS(0xCD, 0x2E),
83 PANEL_DCS(0xCE, 0x2F),
84 PANEL_DCS(0xCF, 0x2F),
85 PANEL_DCS(0xD0, 0x07),
86 PANEL_DCS(0xD2, 0x00),
87 PANEL_DCS(0xD3, 0x0D),
88 PANEL_DCS(0xD4, 0x17),
89 PANEL_DCS(0xD5, 0x26),
90 PANEL_DCS(0xD6, 0x31),
91 PANEL_DCS(0xD7, 0x3F),
92 PANEL_DCS(0xD8, 0x3F),
93 PANEL_DCS(0xD9, 0x3F),
94 PANEL_DCS(0xDA, 0x3F),
95 PANEL_DCS(0xDB, 0x37),
96 PANEL_DCS(0xDC, 0x37),
97 PANEL_DCS(0xDD, 0x37),
98 PANEL_DCS(0xDE, 0x39),
99 PANEL_DCS(0xDF, 0x2E),
100 PANEL_DCS(0xE0, 0x2F),
101 PANEL_DCS(0xE1, 0x2F),
102 PANEL_DCS(0xE2, 0x07),
103 PANEL_DCS(0xB0, 0x03),
104 PANEL_DCS(0xC8, 0x0B),
105 PANEL_DCS(0xC9, 0x07),
106 PANEL_DCS(0xC3, 0x00),
107 PANEL_DCS(0xE7, 0x00),
108 PANEL_DCS(0xC5, 0x2A),
109 PANEL_DCS(0xDE, 0x2A),
110 PANEL_DCS(0xCA, 0x43),
111 PANEL_DCS(0xC9, 0x07),
112 PANEL_DCS(0xE4, 0xC0),
113 PANEL_DCS(0xE5, 0x0D),
114 PANEL_DCS(0xCB, 0x00),
115 PANEL_DCS(0xB0, 0x06),
116 PANEL_DCS(0xB8, 0xA5),
117 PANEL_DCS(0xC0, 0xA5),
118 PANEL_DCS(0xC7, 0x0F),
119 PANEL_DCS(0xD5, 0x32),
120 PANEL_DCS(0xB8, 0x00),
121 PANEL_DCS(0xC0, 0x00),
122 PANEL_DCS(0xBC, 0x00),
123 PANEL_DCS(0xB0, 0x07),
124 PANEL_DCS(0xB1, 0x00),
125 PANEL_DCS(0xB2, 0x02),
126 PANEL_DCS(0xB3, 0x0F),
127 PANEL_DCS(0xB4, 0x25),
128 PANEL_DCS(0xB5, 0x39),
129 PANEL_DCS(0xB6, 0x4E),
130 PANEL_DCS(0xB7, 0x72),
131 PANEL_DCS(0xB8, 0x97),
132 PANEL_DCS(0xB9, 0xDC),
133 PANEL_DCS(0xBA, 0x22),
134 PANEL_DCS(0xBB, 0xA4),
135 PANEL_DCS(0xBC, 0x2B),
136 PANEL_DCS(0xBD, 0x2F),
137 PANEL_DCS(0xBE, 0xA9),
138 PANEL_DCS(0xBF, 0x25),
139 PANEL_DCS(0xC0, 0x61),
140 PANEL_DCS(0xC1, 0x97),
141 PANEL_DCS(0xC2, 0xB2),
142 PANEL_DCS(0xC3, 0xCD),
143 PANEL_DCS(0xC4, 0xD9),
144 PANEL_DCS(0xC5, 0xE7),
145 PANEL_DCS(0xC6, 0xF4),
146 PANEL_DCS(0xC7, 0xFA),
147 PANEL_DCS(0xC8, 0xFC),
148 PANEL_DCS(0xC9, 0x00),
149 PANEL_DCS(0xCA, 0x00),
150 PANEL_DCS(0xCB, 0x16),
151 PANEL_DCS(0xCC, 0xAF),
152 PANEL_DCS(0xCD, 0xFF),
153 PANEL_DCS(0xCE, 0xFF),
154 PANEL_DCS(0xB0, 0x08),
155 PANEL_DCS(0xB1, 0x04),
156 PANEL_DCS(0xB2, 0x05),
157 PANEL_DCS(0xB3, 0x11),
158 PANEL_DCS(0xB4, 0x24),
159 PANEL_DCS(0xB5, 0x39),
160 PANEL_DCS(0xB6, 0x4F),
161 PANEL_DCS(0xB7, 0x72),
162 PANEL_DCS(0xB8, 0x98),
163 PANEL_DCS(0xB9, 0xDC),
164 PANEL_DCS(0xBA, 0x23),
165 PANEL_DCS(0xBB, 0xA6),
166 PANEL_DCS(0xBC, 0x2C),
167 PANEL_DCS(0xBD, 0x30),
168 PANEL_DCS(0xBE, 0xAA),
169 PANEL_DCS(0xBF, 0x26),
170 PANEL_DCS(0xC0, 0x62),
171 PANEL_DCS(0xC1, 0x9B),
172 PANEL_DCS(0xC2, 0xB5),
173 PANEL_DCS(0xC3, 0xCF),
174 PANEL_DCS(0xC4, 0xDB),
175 PANEL_DCS(0xC5, 0xE8),
176 PANEL_DCS(0xC6, 0xF5),
177 PANEL_DCS(0xC7, 0xFA),
178 PANEL_DCS(0xC8, 0xFC),
179 PANEL_DCS(0xC9, 0x00),
180 PANEL_DCS(0xCA, 0x00),
181 PANEL_DCS(0xCB, 0x16),
182 PANEL_DCS(0xCC, 0xAF),
183 PANEL_DCS(0xCD, 0xFF),
184 PANEL_DCS(0xCE, 0xFF),
185 PANEL_DCS(0xB0, 0x09),
186 PANEL_DCS(0xB1, 0x04),
187 PANEL_DCS(0xB2, 0x02),
188 PANEL_DCS(0xB3, 0x16),
189 PANEL_DCS(0xB4, 0x24),
190 PANEL_DCS(0xB5, 0x3B),
191 PANEL_DCS(0xB6, 0x4F),
192 PANEL_DCS(0xB7, 0x73),
193 PANEL_DCS(0xB8, 0x99),
194 PANEL_DCS(0xB9, 0xE0),
195 PANEL_DCS(0xBA, 0x26),
196 PANEL_DCS(0xBB, 0xAD),
197 PANEL_DCS(0xBC, 0x36),
198 PANEL_DCS(0xBD, 0x3A),
199 PANEL_DCS(0xBE, 0xAE),
200 PANEL_DCS(0xBF, 0x2A),
201 PANEL_DCS(0xC0, 0x66),
202 PANEL_DCS(0xC1, 0x9E),
203 PANEL_DCS(0xC2, 0xB8),
204 PANEL_DCS(0xC3, 0xD1),
205 PANEL_DCS(0xC4, 0xDD),
206 PANEL_DCS(0xC5, 0xE9),
207 PANEL_DCS(0xC6, 0xF6),
208 PANEL_DCS(0xC7, 0xFA),
209 PANEL_DCS(0xC8, 0xFC),
210 PANEL_DCS(0xC9, 0x00),
211 PANEL_DCS(0xCA, 0x00),
212 PANEL_DCS(0xCB, 0x16),
213 PANEL_DCS(0xCC, 0xAF),
214 PANEL_DCS(0xCD, 0xFF),
215 PANEL_DCS(0xCE, 0xFF),
216 PANEL_DCS(0xB0, 0x0A),
217 PANEL_DCS(0xB1, 0x00),
218 PANEL_DCS(0xB2, 0x02),
219 PANEL_DCS(0xB3, 0x0F),
220 PANEL_DCS(0xB4, 0x25),
221 PANEL_DCS(0xB5, 0x39),
222 PANEL_DCS(0xB6, 0x4E),
223 PANEL_DCS(0xB7, 0x72),
224 PANEL_DCS(0xB8, 0x97),
225 PANEL_DCS(0xB9, 0xDC),
226 PANEL_DCS(0xBA, 0x22),
227 PANEL_DCS(0xBB, 0xA4),
228 PANEL_DCS(0xBC, 0x2B),
229 PANEL_DCS(0xBD, 0x2F),
230 PANEL_DCS(0xBE, 0xA9),
231 PANEL_DCS(0xBF, 0x25),
232 PANEL_DCS(0xC0, 0x61),
233 PANEL_DCS(0xC1, 0x97),
234 PANEL_DCS(0xC2, 0xB2),
235 PANEL_DCS(0xC3, 0xCD),
236 PANEL_DCS(0xC4, 0xD9),
237 PANEL_DCS(0xC5, 0xE7),
238 PANEL_DCS(0xC6, 0xF4),
239 PANEL_DCS(0xC7, 0xFA),
240 PANEL_DCS(0xC8, 0xFC),
241 PANEL_DCS(0xC9, 0x00),
242 PANEL_DCS(0xCA, 0x00),
243 PANEL_DCS(0xCB, 0x16),
244 PANEL_DCS(0xCC, 0xAF),
245 PANEL_DCS(0xCD, 0xFF),
246 PANEL_DCS(0xCE, 0xFF),
247 PANEL_DCS(0xB0, 0x0B),
248 PANEL_DCS(0xB1, 0x04),
249 PANEL_DCS(0xB2, 0x05),
250 PANEL_DCS(0xB3, 0x11),
251 PANEL_DCS(0xB4, 0x24),
252 PANEL_DCS(0xB5, 0x39),
253 PANEL_DCS(0xB6, 0x4F),
254 PANEL_DCS(0xB7, 0x72),
255 PANEL_DCS(0xB8, 0x98),
256 PANEL_DCS(0xB9, 0xDC),
257 PANEL_DCS(0xBA, 0x23),
258 PANEL_DCS(0xBB, 0xA6),
259 PANEL_DCS(0xBC, 0x2C),
260 PANEL_DCS(0xBD, 0x30),
261 PANEL_DCS(0xBE, 0xAA),
262 PANEL_DCS(0xBF, 0x26),
263 PANEL_DCS(0xC0, 0x62),
264 PANEL_DCS(0xC1, 0x9B),
265 PANEL_DCS(0xC2, 0xB5),
266 PANEL_DCS(0xC3, 0xCF),
267 PANEL_DCS(0xC4, 0xDB),
268 PANEL_DCS(0xC5, 0xE8),
269 PANEL_DCS(0xC6, 0xF5),
270 PANEL_DCS(0xC7, 0xFA),
271 PANEL_DCS(0xC8, 0xFC),
272 PANEL_DCS(0xC9, 0x00),
273 PANEL_DCS(0xCA, 0x00),
274 PANEL_DCS(0xCB, 0x16),
275 PANEL_DCS(0xCC, 0xAF),
276 PANEL_DCS(0xCD, 0xFF),
277 PANEL_DCS(0xCE, 0xFF),
278 PANEL_DCS(0xB0, 0x0C),
279 PANEL_DCS(0xB1, 0x04),
280 PANEL_DCS(0xB2, 0x02),
281 PANEL_DCS(0xB3, 0x16),
282 PANEL_DCS(0xB4, 0x24),
283 PANEL_DCS(0xB5, 0x3B),
284 PANEL_DCS(0xB6, 0x4F),
285 PANEL_DCS(0xB7, 0x73),
286 PANEL_DCS(0xB8, 0x99),
287 PANEL_DCS(0xB9, 0xE0),
288 PANEL_DCS(0xBA, 0x26),
289 PANEL_DCS(0xBB, 0xAD),
290 PANEL_DCS(0xBC, 0x36),
291 PANEL_DCS(0xBD, 0x3A),
292 PANEL_DCS(0xBE, 0xAE),
293 PANEL_DCS(0xBF, 0x2A),
294 PANEL_DCS(0xC0, 0x66),
295 PANEL_DCS(0xC1, 0x9E),
296 PANEL_DCS(0xC2, 0xB8),
297 PANEL_DCS(0xC3, 0xD1),
298 PANEL_DCS(0xC4, 0xDD),
299 PANEL_DCS(0xC5, 0xE9),
300 PANEL_DCS(0xC6, 0xF6),
301 PANEL_DCS(0xC7, 0xFA),
302 PANEL_DCS(0xC8, 0xFC),
303 PANEL_DCS(0xC9, 0x00),
304 PANEL_DCS(0xCA, 0x00),
305 PANEL_DCS(0xCB, 0x16),
306 PANEL_DCS(0xCC, 0xAF),
307 PANEL_DCS(0xCD, 0xFF),
308 PANEL_DCS(0xCE, 0xFF),
309 PANEL_DCS(0xB0, 0x00),
310 PANEL_DCS(0xB3, 0x08),
311 PANEL_DCS(0xB0, 0x04),
312 PANEL_DCS(0xB8, 0x68),
313 PANEL_DELAY(150),
314 PANEL_END,