blob: 89a999417128d833be9196bea8af452bed292c72 [file] [log] [blame]
Sandeep Pandae2bdab82014-11-24 18:42:57 +05301/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
Dhaval Patel215fcf22013-07-23 19:48:53 -07002 *
3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that the following conditions
5 * are met:
6 * * Redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer.
8 * * Redistributions in binary form must reproduce the above copyright
9 * notice, this list of conditions and the following disclaimer in
10 * the documentation and/or other materials provided with the
11 * distribution.
12 * * Neither the name of The Linux Foundation nor the names of its
13 * contributors may be used to endorse or promote products derived
14 * from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
19 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
20 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
23 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
25 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
26 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30/*---------------------------------------------------------------------------
31 * This file is autogenerated file using gcdb parser. Please do not edit it.
32 * Update input XML file to add a new entry or update variable in this file
33 * VERSION = "1.0"
34 *---------------------------------------------------------------------------*/
35
36#ifndef _PANEL_TRULY_WVGA_CMD_H_
Dhaval Patel215fcf22013-07-23 19:48:53 -070037#define _PANEL_TRULY_WVGA_CMD_H_
38/*---------------------------------------------------------------------------*/
39/* HEADER files */
40/*---------------------------------------------------------------------------*/
41#include "panel.h"
42
43/*---------------------------------------------------------------------------*/
44/* Panel configuration */
45/*---------------------------------------------------------------------------*/
Dhaval Patel215fcf22013-07-23 19:48:53 -070046static struct panel_config truly_wvga_cmd_panel_data = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053047 "qcom,mdss_dsi_truly_wvga_cmd", "dsi:0:", "qcom,mdss-dsi-panel",
48 11, 1, "DISPLAY_1", 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2
Dhaval Patel215fcf22013-07-23 19:48:53 -070049};
50
51/*---------------------------------------------------------------------------*/
52/* Panel resolution */
53/*---------------------------------------------------------------------------*/
54static struct panel_resolution truly_wvga_cmd_panel_res = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053055 480, 800, 160, 40, 8, 0, 12, 10, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0
Dhaval Patel215fcf22013-07-23 19:48:53 -070056};
57
58/*---------------------------------------------------------------------------*/
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053059/* Panel color information */
Dhaval Patel215fcf22013-07-23 19:48:53 -070060/*---------------------------------------------------------------------------*/
61static struct color_info truly_wvga_cmd_color = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053062 24, 0, 0xff, 0, 0, 0
Dhaval Patel215fcf22013-07-23 19:48:53 -070063};
64
65/*---------------------------------------------------------------------------*/
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053066/* Panel on/off command information */
Dhaval Patel215fcf22013-07-23 19:48:53 -070067/*---------------------------------------------------------------------------*/
68static char truly_wvga_cmd_on_cmd0[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053069 0x01, 0x00, 0x05, 0x80
70};
Dhaval Patel215fcf22013-07-23 19:48:53 -070071
72static char truly_wvga_cmd_on_cmd1[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053073 0xb0, 0x04, 0x23, 0x80
74};
Dhaval Patel215fcf22013-07-23 19:48:53 -070075
76static char truly_wvga_cmd_on_cmd2[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053077 0x03, 0x00, 0x29, 0xC0,
78 0xb3, 0x02, 0x00, 0xFF,
79};
Dhaval Patel215fcf22013-07-23 19:48:53 -070080
81static char truly_wvga_cmd_on_cmd3[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053082 0x03, 0x00, 0x29, 0xC0,
83 0xb6, 0x51, 0x83, 0xFF,
84};
Dhaval Patel215fcf22013-07-23 19:48:53 -070085
86static char truly_wvga_cmd_on_cmd4[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053087 0x05, 0x00, 0x29, 0xC0,
88 0xb7, 0x00, 0x80, 0x15,
89 0x25, 0xFF, 0xFF, 0xFF,
90};
Dhaval Patel215fcf22013-07-23 19:48:53 -070091
92static char truly_wvga_cmd_on_cmd5[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +053093 0x14, 0x00, 0x29, 0xC0,
94 0xb8, 0x00, 0x07, 0x07,
95 0xff, 0xc8, 0xc8, 0x01,
96 0x18, 0x10, 0x10, 0x37,
97 0x5a, 0x87, 0xde, 0xff,
98 0x00, 0x00, 0x00, 0x00,
99};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700100
101static char truly_wvga_cmd_on_cmd6[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530102 0x05, 0x00, 0x29, 0xC0,
103 0xb9, 0x00, 0x00, 0x00,
104 0x00, 0xFF, 0xFF, 0xFF,
105};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700106
107static char truly_wvga_cmd_on_cmd7[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530108 0xbd, 0x00, 0x23, 0x80
109};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700110
111static char truly_wvga_cmd_on_cmd8[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530112 0x03, 0x00, 0x29, 0xC0,
113 0xc0, 0x02, 0x43, 0xFF,
114};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700115
116static char truly_wvga_cmd_on_cmd9[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530117 0x10, 0x00, 0x29, 0xC0,
118 0xc1, 0x43, 0x31, 0x99,
119 0x21, 0x20, 0x00, 0x10,
120 0x28, 0x0c, 0x0c, 0x00,
121 0x00, 0x00, 0x21, 0x01,
122};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700123
124static char truly_wvga_cmd_on_cmd10[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530125 0x07, 0x00, 0x29, 0xC0,
126 0xc2, 0x28, 0x06, 0x06,
127 0x01, 0x03, 0x00, 0xFF,
128};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700129
130static char truly_wvga_cmd_on_cmd11[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530131 0x04, 0x00, 0x29, 0xC0,
132 0xc3, 0x40, 0x00, 0x03,
133};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700134
135static char truly_wvga_cmd_on_cmd12[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530136 0x03, 0x00, 0x29, 0xC0,
137 0x6f, 0x03, 0x00, 0xFF,
138};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700139
140static char truly_wvga_cmd_on_cmd13[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530141 0x03, 0x00, 0x29, 0xC0,
142 0xc4, 0x00, 0x01, 0xFF,
143};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700144
145static char truly_wvga_cmd_on_cmd14[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530146 0x03, 0x00, 0x29, 0xC0,
147 0xc6, 0x00, 0x00, 0xFF,
148};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700149
150static char truly_wvga_cmd_on_cmd15[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530151 0x06, 0x00, 0x29, 0xC0,
152 0xc7, 0x11, 0x8d, 0xa0,
153 0xf5, 0x27, 0xFF, 0xFF,
154};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700155
156static char truly_wvga_cmd_on_cmd16[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530157 0x19, 0x00, 0x29, 0xC0,
158 0xc8, 0x01, 0x0a, 0x12,
159 0x1c, 0x2b, 0x45, 0x3f,
160 0x29, 0x17, 0x13, 0x0f,
161 0x04, 0x01, 0x0a, 0x12,
162 0x1c, 0x2b, 0x45, 0x3f,
163 0x29, 0x17, 0x13, 0x0f,
164 0x04, 0xFF, 0xFF, 0xFF,
165};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700166
167static char truly_wvga_cmd_on_cmd17[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530168 0x19, 0x00, 0x29, 0xC0,
169 0xc9, 0x01, 0x0a, 0x12,
170 0x1c, 0x2b, 0x45, 0x3f,
171 0x29, 0x17, 0x13, 0x0f,
172 0x04, 0x01, 0x0a, 0x12,
173 0x1c, 0x2b, 0x45, 0x3f,
174 0x29, 0x17, 0x13, 0x0f,
175 0x04, 0xFF, 0xFF, 0xFF,
176};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700177
178static char truly_wvga_cmd_on_cmd18[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530179 0x19, 0x00, 0x29, 0xC0,
180 0xca, 0x01, 0x0a, 0x12,
181 0x1c, 0x2b, 0x45, 0x3f,
182 0x29, 0x17, 0x13, 0x0f,
183 0x04, 0x01, 0x0a, 0x12,
184 0x1c, 0x2b, 0x45, 0x3f,
185 0x29, 0x17, 0x13, 0x0f,
186 0x04, 0xFF, 0xFF, 0xFF,
187};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700188
189static char truly_wvga_cmd_on_cmd19[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530190 0x11, 0x00, 0x29, 0xC0,
191 0xd0, 0x99, 0x03, 0xce,
192 0xa6, 0x00, 0x43, 0x20,
193 0x10, 0x01, 0x00, 0x01,
194 0x01, 0x00, 0x03, 0x01,
195 0x00, 0xFF, 0xFF, 0xFF,
196};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700197
198static char truly_wvga_cmd_on_cmd20[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530199 0x08, 0x00, 0x29, 0xC0,
200 0xd1, 0x18, 0x0C, 0x23,
201 0x03, 0x75, 0x02, 0x50,
202};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700203
204static char truly_wvga_cmd_on_cmd21[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530205 0xd3, 0x33, 0x23, 0x80
206};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700207
208static char truly_wvga_cmd_on_cmd22[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530209 0x03, 0x00, 0x29, 0xC0,
210 0xd5, 0x2a, 0x2a, 0xFF,
211};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700212
213static char truly_wvga_cmd_on_cmd23[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530214 0x02, 0x00, 0x29, 0xC0,
215 0xd6, 0x28, 0xFF, 0xFF,
216};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700217
218static char truly_wvga_cmd_on_cmd24[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530219 0x10, 0x00, 0x29, 0xC0,
220 0xd7, 0x01, 0x00, 0xaa,
221 0xc0, 0x2a, 0x2c, 0x22,
222 0x12, 0x71, 0x0a, 0x12,
223 0x00, 0xa0, 0x00, 0x03,
224};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700225
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530226static char truly_wvga_cmd_on_cmd25[] = {
227 0x09, 0x00, 0x29, 0xC0,
228 0xd8, 0x44, 0x44, 0x22,
229 0x44, 0x21, 0x46, 0x42,
230 0x40, 0xFF, 0xFF, 0xFF,
231};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700232
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530233static char truly_wvga_cmd_on_cmd26[] = {
234 0x04, 0x00, 0x29, 0xC0,
235 0xd9, 0xcf, 0x2d, 0x51,
236};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700237
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530238static char truly_wvga_cmd_on_cmd27[] = {
239 0x02, 0x00, 0x29, 0xC0,
240 0xda, 0x01, 0xFF, 0xFF,
241};
242
243static char truly_wvga_cmd_on_cmd28[] = {
244 0x03, 0x00, 0x29, 0xC0,
245 0xde, 0x01, 0x4f, 0xFF,
246};
247
248static char truly_wvga_cmd_on_cmd29[] = {
249 0x07, 0x00, 0x29, 0xC0,
250 0xe1, 0x00, 0x00, 0x00,
251 0x00, 0x00, 0x00, 0xFF,
252};
253
254static char truly_wvga_cmd_on_cmd30[] = {
255 0xe6, 0x4f, 0x23, 0x80
256};
257
258static char truly_wvga_cmd_on_cmd31[] = {
259 0x06, 0x00, 0x29, 0xC0,
260 0xf3, 0x06, 0x00, 0x00,
261 0x24, 0x00, 0xFF, 0xFF,
262};
263
264static char truly_wvga_cmd_on_cmd32[] = {
265 0x02, 0x00, 0x29, 0xC0,
266 0xf8, 0x00, 0xFF, 0xFF,
267};
268
269static char truly_wvga_cmd_on_cmd33[] = {
270 0xfa, 0x03, 0x23, 0x80
271};
272
273static char truly_wvga_cmd_on_cmd34[] = {
274 0x04, 0x00, 0x29, 0xC0,
275 0xfb, 0x00, 0x00, 0x00,
276};
277
278static char truly_wvga_cmd_on_cmd35[] = {
279 0x06, 0x00, 0x29, 0xC0,
280 0xfc, 0x00, 0x00, 0x00,
281 0x00, 0x00, 0xFF, 0xFF,
282};
283
284static char truly_wvga_cmd_on_cmd36[] = {
285 0x05, 0x00, 0x29, 0xC0,
286 0xfd, 0x00, 0x00, 0x70,
287 0x00, 0xFF, 0xFF, 0xFF,
288};
289
290static char truly_wvga_cmd_on_cmd37[] = {
291 0x05, 0x00, 0x39, 0xC0,
292 0x2a, 0x00, 0x00, 0x01,
293 0xdf, 0xFF, 0xFF, 0xFF,
294};
295
296static char truly_wvga_cmd_on_cmd38[] = {
297 0x05, 0x00, 0x39, 0xC0,
298 0x2b, 0x00, 0x00, 0x03,
299 0x1f, 0xFF, 0xFF, 0xFF,
300};
301
302static char truly_wvga_cmd_on_cmd39[] = {
303 0x35, 0x00, 0x15, 0x80
304};
305
306static char truly_wvga_cmd_on_cmd40[] = {
307 0x03, 0x00, 0x39, 0xC0,
308 0x44, 0x00, 0x50, 0xFF,
309};
310
311static char truly_wvga_cmd_on_cmd41[] = {
312 0x36, 0x41, 0x15, 0x80
313};
314
315static char truly_wvga_cmd_on_cmd42[] = {
316 0x3a, 0x77, 0x15, 0x80
317};
318
319static char truly_wvga_cmd_on_cmd43[] = {
320 0x11, 0x00, 0x05, 0x80
321};
322
323static char truly_wvga_cmd_on_cmd44[] = {
324 0x29, 0x00, 0x05, 0x80
325};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700326
327static struct mipi_dsi_cmd truly_wvga_cmd_on_command[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530328 {0x4, truly_wvga_cmd_on_cmd0, 0x00},
329 {0x4, truly_wvga_cmd_on_cmd1, 0x00},
330 {0x8, truly_wvga_cmd_on_cmd2, 0x00},
331 {0x8, truly_wvga_cmd_on_cmd3, 0x00},
332 {0xc, truly_wvga_cmd_on_cmd4, 0x00},
333 {0x18, truly_wvga_cmd_on_cmd5, 0x00},
334 {0xc, truly_wvga_cmd_on_cmd6, 0x00},
335 {0x4, truly_wvga_cmd_on_cmd7, 0x00},
336 {0x8, truly_wvga_cmd_on_cmd8, 0x00},
337 {0x14, truly_wvga_cmd_on_cmd9, 0x00},
338 {0xc, truly_wvga_cmd_on_cmd10, 0x00},
339 {0x8, truly_wvga_cmd_on_cmd11, 0x00},
340 {0x8, truly_wvga_cmd_on_cmd12, 0x00},
341 {0x8, truly_wvga_cmd_on_cmd13, 0x00},
342 {0x8, truly_wvga_cmd_on_cmd14, 0x00},
343 {0xc, truly_wvga_cmd_on_cmd15, 0x00},
344 {0x20, truly_wvga_cmd_on_cmd16, 0x00},
345 {0x20, truly_wvga_cmd_on_cmd17, 0x00},
346 {0x20, truly_wvga_cmd_on_cmd18, 0x00},
347 {0x18, truly_wvga_cmd_on_cmd19, 0x00},
348 {0xc, truly_wvga_cmd_on_cmd20, 0x00},
349 {0x4, truly_wvga_cmd_on_cmd21, 0x00},
350 {0x8, truly_wvga_cmd_on_cmd22, 0x00},
351 {0x8, truly_wvga_cmd_on_cmd23, 0x00},
352 {0x14, truly_wvga_cmd_on_cmd24, 0x00},
353 {0x10, truly_wvga_cmd_on_cmd25, 0x00},
354 {0x8, truly_wvga_cmd_on_cmd26, 0x00},
355 {0x8, truly_wvga_cmd_on_cmd27, 0x00},
356 {0x8, truly_wvga_cmd_on_cmd28, 0x00},
357 {0xc, truly_wvga_cmd_on_cmd29, 0x00},
358 {0x4, truly_wvga_cmd_on_cmd30, 0x00},
359 {0xc, truly_wvga_cmd_on_cmd31, 0x00},
360 {0x8, truly_wvga_cmd_on_cmd32, 0x00},
361 {0x4, truly_wvga_cmd_on_cmd33, 0x00},
362 {0x8, truly_wvga_cmd_on_cmd34, 0x00},
363 {0xc, truly_wvga_cmd_on_cmd35, 0x00},
364 {0xc, truly_wvga_cmd_on_cmd36, 0x00},
365 {0xc, truly_wvga_cmd_on_cmd37, 0x00},
366 {0xc, truly_wvga_cmd_on_cmd38, 0x00},
367 {0x4, truly_wvga_cmd_on_cmd39, 0x00},
368 {0x8, truly_wvga_cmd_on_cmd40, 0x00},
369 {0x4, truly_wvga_cmd_on_cmd41, 0x00},
370 {0x4, truly_wvga_cmd_on_cmd42, 0x00},
371 {0x4, truly_wvga_cmd_on_cmd43, 0x7D},
372 {0x4, truly_wvga_cmd_on_cmd44, 0x3c}
Dhaval Patel215fcf22013-07-23 19:48:53 -0700373};
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530374
375#define TRULY_WVGA_CMD_ON_COMMAND 45
Dhaval Patel215fcf22013-07-23 19:48:53 -0700376
377
378static char truly_wvga_cmdoff_cmd0[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530379 0x28, 0x00, 0x05, 0x80
380};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700381
382static char truly_wvga_cmdoff_cmd1[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530383 0x10, 0x00, 0x05, 0x80
384};
Dhaval Patel215fcf22013-07-23 19:48:53 -0700385
386static struct mipi_dsi_cmd truly_wvga_cmd_off_command[] = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530387 {0x4, truly_wvga_cmdoff_cmd0, 0x32},
388 {0x4, truly_wvga_cmdoff_cmd1, 0x78}
Dhaval Patel215fcf22013-07-23 19:48:53 -0700389};
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530390
Dhaval Patel215fcf22013-07-23 19:48:53 -0700391#define TRULY_WVGA_CMD_OFF_COMMAND 2
392
393
394static struct command_state truly_wvga_cmd_state = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530395 0, 0
Dhaval Patel215fcf22013-07-23 19:48:53 -0700396};
397
398/*---------------------------------------------------------------------------*/
399/* Command mode panel information */
400/*---------------------------------------------------------------------------*/
Dhaval Patel215fcf22013-07-23 19:48:53 -0700401static struct commandpanel_info truly_wvga_cmd_command_panel = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530402 1, 1, 1, 0, 0, 0x2c, 0, 0, 0, 1, 0, 0
Dhaval Patel215fcf22013-07-23 19:48:53 -0700403};
404
405/*---------------------------------------------------------------------------*/
406/* Video mode panel information */
407/*---------------------------------------------------------------------------*/
Dhaval Patel215fcf22013-07-23 19:48:53 -0700408static struct videopanel_info truly_wvga_cmd_video_panel = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530409 0, 0, 0, 0, 1, 1, 1, 0, 0x9
Dhaval Patel215fcf22013-07-23 19:48:53 -0700410};
411
412/*---------------------------------------------------------------------------*/
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530413/* Lane configuration */
Dhaval Patel215fcf22013-07-23 19:48:53 -0700414/*---------------------------------------------------------------------------*/
Dhaval Patel215fcf22013-07-23 19:48:53 -0700415static struct lane_configuration truly_wvga_cmd_lane_config = {
Ray Zhang0d303af2015-01-21 10:17:02 +0800416 2, 0, 1, 1, 0, 0, 0
Dhaval Patel215fcf22013-07-23 19:48:53 -0700417};
418
Dhaval Patel215fcf22013-07-23 19:48:53 -0700419/*---------------------------------------------------------------------------*/
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530420/* Panel timing */
Dhaval Patel215fcf22013-07-23 19:48:53 -0700421/*---------------------------------------------------------------------------*/
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530422static const uint32_t truly_wvga_cmd_timings[] = {
Sandeep Pandae2bdab82014-11-24 18:42:57 +0530423 0x7B, 0x1A, 0x10, 0x00, 0x3C, 0x42, 0x14, 0x1C, 0x15, 0x3, 0x4, 0x00
Dhaval Patel215fcf22013-07-23 19:48:53 -0700424};
425
426static struct panel_timing truly_wvga_cmd_timing_info = {
Sandeep Pandae2bdab82014-11-24 18:42:57 +0530427 2, 4, 0x04, 0x1a
Dhaval Patel215fcf22013-07-23 19:48:53 -0700428};
429
430/*---------------------------------------------------------------------------*/
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530431/* Panel reset sequence */
Dhaval Patel215fcf22013-07-23 19:48:53 -0700432/*---------------------------------------------------------------------------*/
433static struct panel_reset_sequence truly_wvga_cmd_reset_seq = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530434 {2, 0, 2, }, {20, 2, 20, }, 2
Dhaval Patel215fcf22013-07-23 19:48:53 -0700435};
436
437/*---------------------------------------------------------------------------*/
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530438/* Backlight setting */
Dhaval Patel215fcf22013-07-23 19:48:53 -0700439/*---------------------------------------------------------------------------*/
Dhaval Patel215fcf22013-07-23 19:48:53 -0700440static struct backlight truly_wvga_cmd_backlight = {
Padmanabhan Komanduru03efecb2014-03-14 18:32:03 +0530441 0, 1, 255, 0, 1, 0
Dhaval Patel215fcf22013-07-23 19:48:53 -0700442};
443
Dhaval Patel215fcf22013-07-23 19:48:53 -0700444#endif /*_PANEL_TRULY_WVGA_CMD_H_*/