Lines Matching +full:0 +full:x31
29 #define ST7703_CMD_ALL_PIXEL_OFF 0x22
30 #define ST7703_CMD_ALL_PIXEL_ON 0x23
31 #define ST7703_CMD_SETAPID 0xB1
32 #define ST7703_CMD_SETDISP 0xB2
33 #define ST7703_CMD_SETRGBIF 0xB3
34 #define ST7703_CMD_SETCYC 0xB4
35 #define ST7703_CMD_SETBGP 0xB5
36 #define ST7703_CMD_SETVCOM 0xB6
37 #define ST7703_CMD_SETOTP 0xB7
38 #define ST7703_CMD_SETPOWER_EXT 0xB8
39 #define ST7703_CMD_SETEXTC 0xB9
40 #define ST7703_CMD_SETMIPI 0xBA
41 #define ST7703_CMD_SETVDC 0xBC
42 #define ST7703_CMD_UNKNOWN_BF 0xBF
43 #define ST7703_CMD_SETSCR 0xC0
44 #define ST7703_CMD_SETPOWER 0xC1
45 #define ST7703_CMD_SETECO 0xC6
46 #define ST7703_CMD_SETIO 0xC7
47 #define ST7703_CMD_SETCABC 0xC8
48 #define ST7703_CMD_SETPANEL 0xCC
49 #define ST7703_CMD_SETGAMMA 0xE0
50 #define ST7703_CMD_SETEQ 0xE3
51 #define ST7703_CMD_SETGIP1 0xE9
52 #define ST7703_CMD_SETGIP2 0xEA
53 #define ST7703_CMD_UNKNOWN_EF 0xEF
88 0xF1, 0x12, 0x83); in jh057n_init_sequence()
90 0x10, 0x10, 0x05, 0x05, 0x03, 0xFF, 0x00, 0x00, in jh057n_init_sequence()
91 0x00, 0x00); in jh057n_init_sequence()
93 0x73, 0x73, 0x50, 0x50, 0x00, 0x00, 0x08, 0x70, in jh057n_init_sequence()
94 0x00); in jh057n_init_sequence()
95 mipi_dsi_generic_write_seq_multi(dsi_ctx, ST7703_CMD_SETVDC, 0x4E); in jh057n_init_sequence()
96 mipi_dsi_generic_write_seq_multi(dsi_ctx, ST7703_CMD_SETPANEL, 0x0B); in jh057n_init_sequence()
97 mipi_dsi_generic_write_seq_multi(dsi_ctx, ST7703_CMD_SETCYC, 0x80); in jh057n_init_sequence()
98 mipi_dsi_generic_write_seq_multi(dsi_ctx, ST7703_CMD_SETDISP, 0xF0, 0x12, 0x30); in jh057n_init_sequence()
100 0x07, 0x07, 0x0B, 0x0B, 0x03, 0x0B, 0x00, 0x00, in jh057n_init_sequence()
101 0x00, 0x00, 0xFF, 0x00, 0xC0, 0x10); in jh057n_init_sequence()
102 mipi_dsi_generic_write_seq_multi(dsi_ctx, ST7703_CMD_SETBGP, 0x08, 0x08); in jh057n_init_sequence()
105 mipi_dsi_generic_write_seq_multi(dsi_ctx, ST7703_CMD_SETVCOM, 0x3F, 0x3F); in jh057n_init_sequence()
106 mipi_dsi_generic_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in jh057n_init_sequence()
108 0x82, 0x10, 0x06, 0x05, 0x9E, 0x0A, 0xA5, 0x12, in jh057n_init_sequence()
109 0x31, 0x23, 0x37, 0x83, 0x04, 0xBC, 0x27, 0x38, in jh057n_init_sequence()
110 0x0C, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0C, 0x00, in jh057n_init_sequence()
111 0x03, 0x00, 0x00, 0x00, 0x75, 0x75, 0x31, 0x88, in jh057n_init_sequence()
112 0x88, 0x88, 0x88, 0x88, 0x88, 0x13, 0x88, 0x64, in jh057n_init_sequence()
113 0x64, 0x20, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in jh057n_init_sequence()
114 0x02, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in jh057n_init_sequence()
115 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in jh057n_init_sequence()
117 0x02, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in jh057n_init_sequence()
118 0x00, 0x00, 0x00, 0x00, 0x02, 0x46, 0x02, 0x88, in jh057n_init_sequence()
119 0x88, 0x88, 0x88, 0x88, 0x88, 0x64, 0x88, 0x13, in jh057n_init_sequence()
120 0x57, 0x13, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in jh057n_init_sequence()
121 0x75, 0x88, 0x23, 0x14, 0x00, 0x00, 0x02, 0x00, in jh057n_init_sequence()
122 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in jh057n_init_sequence()
123 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0A, in jh057n_init_sequence()
124 0xA5, 0x00, 0x00, 0x00, 0x00); in jh057n_init_sequence()
126 0x00, 0x09, 0x0E, 0x29, 0x2D, 0x3C, 0x41, 0x37, in jh057n_init_sequence()
127 0x07, 0x0B, 0x0D, 0x10, 0x11, 0x0F, 0x10, 0x11, in jh057n_init_sequence()
128 0x18, 0x00, 0x09, 0x0E, 0x29, 0x2D, 0x3C, 0x41, in jh057n_init_sequence()
129 0x37, 0x07, 0x0B, 0x0D, 0x10, 0x11, 0x0F, 0x10, in jh057n_init_sequence()
130 0x11, 0x18); in jh057n_init_sequence()
165 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEXTC, 0xF1, 0x12, 0x83); in xbd599_init_sequence()
168 0x33, /* VC_main = 0, Lane_Number = 3 (4 lanes) */ in xbd599_init_sequence()
169 0x81, /* DSI_LDO_SEL = 1.7V, RTERM = 90 Ohm */ in xbd599_init_sequence()
170 0x05, /* IHSRX = x6 (Low High Speed driving ability) */ in xbd599_init_sequence()
171 0xF9, /* TX_CLK_SEL = fDSICLK/16 */ in xbd599_init_sequence()
172 0x0E, /* HFP_OSC (min. HFP number in DSI mode) */ in xbd599_init_sequence()
173 0x0E, /* HBP_OSC (min. HBP number in DSI mode) */ in xbd599_init_sequence()
175 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
176 0x44, 0x25, 0x00, 0x91, 0x0a, 0x00, 0x00, 0x02, in xbd599_init_sequence()
177 0x4F, 0x11, 0x00, 0x00, 0x37); in xbd599_init_sequence()
180 0x25, /* PCCS = 2, ECP_DC_DIV = 1/4 HSYNC */ in xbd599_init_sequence()
181 0x22, /* DT = 15ms XDK_ECP = x2 */ in xbd599_init_sequence()
182 0x20, /* PFM_DC_DIV = /1 */ in xbd599_init_sequence()
183 0x03 /* ECP_SYNC_EN = 1, VGX_SYNC_EN = 1 */); in xbd599_init_sequence()
187 0x10, /* VBP_RGB_GEN */ in xbd599_init_sequence()
188 0x10, /* VFP_RGB_GEN */ in xbd599_init_sequence()
189 0x05, /* DE_BP_RGB_GEN */ in xbd599_init_sequence()
190 0x05, /* DE_FP_RGB_GEN */ in xbd599_init_sequence()
192 0x03, 0xFF, in xbd599_init_sequence()
193 0x00, 0x00, in xbd599_init_sequence()
194 0x00, 0x00); in xbd599_init_sequence()
198 0x73, /* N_POPON */ in xbd599_init_sequence()
199 0x73, /* N_NOPON */ in xbd599_init_sequence()
200 0x50, /* I_POPON */ in xbd599_init_sequence()
201 0x50, /* I_NOPON */ in xbd599_init_sequence()
202 0x00, /* SCR[31,24] */ in xbd599_init_sequence()
203 0xC0, /* SCR[23,16] */ in xbd599_init_sequence()
204 0x08, /* SCR[15,8] */ in xbd599_init_sequence()
205 0x70, /* SCR[7,0] */ in xbd599_init_sequence()
206 0x00 /* Undocumented */); in xbd599_init_sequence()
209 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVDC, 0x4E); in xbd599_init_sequence()
212 * SS_PANEL = 1 (reverse scan), GS_PANEL = 0 (normal scan) in xbd599_init_sequence()
215 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPANEL, 0x0B); in xbd599_init_sequence()
218 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETCYC, 0x80); in xbd599_init_sequence()
222 0xF0, /* NL = 240 */ in xbd599_init_sequence()
223 0x12, /* RES_V_LSB = 0, BLK_CON = VSSD, in xbd599_init_sequence()
226 0xF0 /* WHITE_GND_EN = 1 (GND), in xbd599_init_sequence()
228 * ISC = 0 frames in xbd599_init_sequence()
232 0x00, /* PNOEQ */ in xbd599_init_sequence()
233 0x00, /* NNOEQ */ in xbd599_init_sequence()
234 0x0B, /* PEQGND */ in xbd599_init_sequence()
235 0x0B, /* NEQGND */ in xbd599_init_sequence()
236 0x10, /* PEQVCI */ in xbd599_init_sequence()
237 0x10, /* NEQVCI */ in xbd599_init_sequence()
238 0x00, /* PEQVCI1 */ in xbd599_init_sequence()
239 0x00, /* NEQVCI1 */ in xbd599_init_sequence()
240 0x00, /* reserved */ in xbd599_init_sequence()
241 0x00, /* reserved */ in xbd599_init_sequence()
242 0xFF, /* reserved */ in xbd599_init_sequence()
243 0x00, /* reserved */ in xbd599_init_sequence()
244 0xC0, /* ESD_DET_DATA_WHITE = 1, ESD_WHITE_EN = 1 */ in xbd599_init_sequence()
245 0x10 /* SLPIN_OPTION = 1 (no need vsync after sleep-in) in xbd599_init_sequence()
246 * VEDIO_NO_CHECK_EN = 0 in xbd599_init_sequence()
247 * ESD_WHITE_GND_EN = 0 in xbd599_init_sequence()
248 * ESD_DET_TIME_SEL = 0 frames in xbd599_init_sequence()
251 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETECO, 0x01, 0x00, 0xFF, 0xFF, 0x00); in xbd599_init_sequence()
254 0x74, /* VBTHS, VBTLS: VGH = 17V, VBL = -11V */ in xbd599_init_sequence()
255 0x00, /* FBOFF_VGH = 0, FBOFF_VGL = 0 */ in xbd599_init_sequence()
256 0x32, /* VRP */ in xbd599_init_sequence()
257 0x32, /* VRN */ in xbd599_init_sequence()
258 0x77, /* reserved */ in xbd599_init_sequence()
259 0xF1, /* APS = 1 (small), in xbd599_init_sequence()
263 0xFF, /* VGH1_L_DIV, VGL1_L_DIV (1.5MHz) */ in xbd599_init_sequence()
264 0xFF, /* VGH1_R_DIV, VGL1_R_DIV (1.5MHz) */ in xbd599_init_sequence()
265 0xCC, /* VGH2_L_DIV, VGL2_L_DIV (2.6MHz) */ in xbd599_init_sequence()
266 0xCC, /* VGH2_R_DIV, VGL2_R_DIV (2.6MHz) */ in xbd599_init_sequence()
267 0x77, /* VGH3_L_DIV, VGL3_L_DIV (4.5MHz) */ in xbd599_init_sequence()
268 0x77 /* VGH3_R_DIV, VGL3_R_DIV (4.5MHz) */); in xbd599_init_sequence()
272 0x07, /* VREF_SEL = 4.2V */ in xbd599_init_sequence()
273 0x07 /* NVREF_SEL = 4.2V */); in xbd599_init_sequence()
276 0x2C, /* VCOMDC_F = -0.67V */ in xbd599_init_sequence()
277 0x2C /* VCOMDC_B = -0.67V */); in xbd599_init_sequence()
280 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in xbd599_init_sequence()
284 0x82, 0x10, 0x06, 0x05, 0xA2, 0x0A, 0xA5, 0x12, in xbd599_init_sequence()
285 0x31, 0x23, 0x37, 0x83, 0x04, 0xBC, 0x27, 0x38, in xbd599_init_sequence()
286 0x0C, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0C, 0x00, in xbd599_init_sequence()
287 0x03, 0x00, 0x00, 0x00, 0x75, 0x75, 0x31, 0x88, in xbd599_init_sequence()
288 0x88, 0x88, 0x88, 0x88, 0x88, 0x13, 0x88, 0x64, in xbd599_init_sequence()
289 0x64, 0x20, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in xbd599_init_sequence()
290 0x02, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
291 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in xbd599_init_sequence()
295 0x02, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
296 0x00, 0x00, 0x00, 0x00, 0x02, 0x46, 0x02, 0x88, in xbd599_init_sequence()
297 0x88, 0x88, 0x88, 0x88, 0x88, 0x64, 0x88, 0x13, in xbd599_init_sequence()
298 0x57, 0x13, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in xbd599_init_sequence()
299 0x75, 0x88, 0x23, 0x14, 0x00, 0x00, 0x02, 0x00, in xbd599_init_sequence()
300 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
301 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0A, in xbd599_init_sequence()
302 0xA5, 0x00, 0x00, 0x00, 0x00); in xbd599_init_sequence()
306 0x00, 0x09, 0x0D, 0x23, 0x27, 0x3C, 0x41, 0x35, in xbd599_init_sequence()
307 0x07, 0x0D, 0x0E, 0x12, 0x13, 0x10, 0x12, 0x12, in xbd599_init_sequence()
308 0x18, 0x00, 0x09, 0x0D, 0x23, 0x27, 0x3C, 0x41, in xbd599_init_sequence()
309 0x35, 0x07, 0x0D, 0x0E, 0x12, 0x13, 0x10, 0x12, in xbd599_init_sequence()
310 0x12, 0x18); in xbd599_init_sequence()
342 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEXTC, 0xf1, 0x12, 0x83); in rg353v2_init_sequence()
343 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETAPID, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
344 0xda, 0x80); in rg353v2_init_sequence()
345 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETDISP, 0x00, 0x13, 0x70); in rg353v2_init_sequence()
346 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETRGBIF, 0x10, 0x10, 0x28, in rg353v2_init_sequence()
347 0x28, 0x03, 0xff, 0x00, 0x00, 0x00, 0x00); in rg353v2_init_sequence()
348 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETCYC, 0x80); in rg353v2_init_sequence()
349 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETBGP, 0x0a, 0x0a); in rg353v2_init_sequence()
350 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVCOM, 0x92, 0x92); in rg353v2_init_sequence()
351 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER_EXT, 0x25, 0x22, in rg353v2_init_sequence()
352 0xf0, 0x63); in rg353v2_init_sequence()
353 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETMIPI, 0x33, 0x81, 0x05, in rg353v2_init_sequence()
354 0xf9, 0x0e, 0x0e, 0x20, 0x00, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
355 0x00, 0x00, 0x00, 0x44, 0x25, 0x00, 0x90, 0x0a, in rg353v2_init_sequence()
356 0x00, 0x00, 0x01, 0x4f, 0x01, 0x00, 0x00, 0x37); in rg353v2_init_sequence()
357 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVDC, 0x47); in rg353v2_init_sequence()
358 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in rg353v2_init_sequence()
359 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETSCR, 0x73, 0x73, 0x50, 0x50, in rg353v2_init_sequence()
360 0x00, 0x00, 0x12, 0x50, 0x00); in rg353v2_init_sequence()
361 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER, 0x53, 0xc0, 0x32, in rg353v2_init_sequence()
362 0x32, 0x77, 0xe1, 0xdd, 0xdd, 0x77, 0x77, 0x33, in rg353v2_init_sequence()
363 0x33); in rg353v2_init_sequence()
364 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETECO, 0x82, 0x00, 0xbf, 0xff, in rg353v2_init_sequence()
365 0x00, 0xff); in rg353v2_init_sequence()
366 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETIO, 0xb8, 0x00, 0x0a, 0x00, in rg353v2_init_sequence()
367 0x00, 0x00); in rg353v2_init_sequence()
368 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETCABC, 0x10, 0x40, 0x1e, in rg353v2_init_sequence()
369 0x02); in rg353v2_init_sequence()
370 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPANEL, 0x0b); in rg353v2_init_sequence()
371 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGAMMA, 0x00, 0x07, 0x0d, in rg353v2_init_sequence()
372 0x37, 0x35, 0x3f, 0x41, 0x44, 0x06, 0x0c, 0x0d, in rg353v2_init_sequence()
373 0x0f, 0x11, 0x10, 0x12, 0x14, 0x1a, 0x00, 0x07, in rg353v2_init_sequence()
374 0x0d, 0x37, 0x35, 0x3f, 0x41, 0x44, 0x06, 0x0c, in rg353v2_init_sequence()
375 0x0d, 0x0f, 0x11, 0x10, 0x12, 0x14, 0x1a); in rg353v2_init_sequence()
376 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEQ, 0x07, 0x07, 0x0b, 0x0b, in rg353v2_init_sequence()
377 0x0b, 0x0b, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, in rg353v2_init_sequence()
378 0xc0, 0x10); in rg353v2_init_sequence()
379 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP1, 0xc8, 0x10, 0x02, 0x00, in rg353v2_init_sequence()
380 0x00, 0xb0, 0xb1, 0x11, 0x31, 0x23, 0x28, 0x80, in rg353v2_init_sequence()
381 0xb0, 0xb1, 0x27, 0x08, 0x00, 0x04, 0x02, 0x00, in rg353v2_init_sequence()
382 0x00, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
383 0x88, 0x88, 0xba, 0x60, 0x24, 0x08, 0x88, 0x88, in rg353v2_init_sequence()
384 0x88, 0x88, 0x88, 0x88, 0x88, 0xba, 0x71, 0x35, in rg353v2_init_sequence()
385 0x18, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, in rg353v2_init_sequence()
386 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
387 0x00, 0x00, 0x00); in rg353v2_init_sequence()
388 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP2, 0x97, 0x0a, 0x82, 0x02, in rg353v2_init_sequence()
389 0x03, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
390 0x81, 0x88, 0xba, 0x17, 0x53, 0x88, 0x88, 0x88, in rg353v2_init_sequence()
391 0x88, 0x88, 0x88, 0x80, 0x88, 0xba, 0x06, 0x42, in rg353v2_init_sequence()
392 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x23, 0x00, in rg353v2_init_sequence()
393 0x00, 0x02, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
394 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
395 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rg353v2_init_sequence()
396 0x00); in rg353v2_init_sequence()
397 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_EF, 0xff, 0xff, 0x01); in rg353v2_init_sequence()
435 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEXTC, 0xf1, 0x12, 0x83); in rgb30panel_init_sequence()
436 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETMIPI, 0x33, 0x81, 0x05, 0xf9, in rgb30panel_init_sequence()
437 0x0e, 0x0e, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb30panel_init_sequence()
438 0x00, 0x00, 0x44, 0x25, 0x00, 0x90, 0x0a, 0x00, in rgb30panel_init_sequence()
439 0x00, 0x01, 0x4f, 0x01, 0x00, 0x00, 0x37); in rgb30panel_init_sequence()
440 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER_EXT, 0x25, 0x22, 0xf0, in rgb30panel_init_sequence()
441 0x63); in rgb30panel_init_sequence()
442 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in rgb30panel_init_sequence()
443 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETRGBIF, 0x10, 0x10, 0x28, in rgb30panel_init_sequence()
444 0x28, 0x03, 0xff, 0x00, 0x00, 0x00, 0x00); in rgb30panel_init_sequence()
445 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETSCR, 0x73, 0x73, 0x50, 0x50, in rgb30panel_init_sequence()
446 0x00, 0x00, 0x12, 0x70, 0x00); in rgb30panel_init_sequence()
447 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVDC, 0x46); in rgb30panel_init_sequence()
448 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPANEL, 0x0b); in rgb30panel_init_sequence()
449 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETCYC, 0x80); in rgb30panel_init_sequence()
450 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETDISP, 0x3c, 0x12, 0x30); in rgb30panel_init_sequence()
451 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEQ, 0x07, 0x07, 0x0b, 0x0b, in rgb30panel_init_sequence()
452 0x03, 0x0b, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, in rgb30panel_init_sequence()
453 0xc0, 0x10); in rgb30panel_init_sequence()
454 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER, 0x36, 0x00, 0x32, in rgb30panel_init_sequence()
455 0x32, 0x77, 0xf1, 0xcc, 0xcc, 0x77, 0x77, 0x33, in rgb30panel_init_sequence()
456 0x33); in rgb30panel_init_sequence()
457 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETBGP, 0x0a, 0x0a); in rgb30panel_init_sequence()
458 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVCOM, 0x88, 0x88); in rgb30panel_init_sequence()
459 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP1, 0xc8, 0x10, 0x0a, 0x10, in rgb30panel_init_sequence()
460 0x0f, 0xa1, 0x80, 0x12, 0x31, 0x23, 0x47, 0x86, in rgb30panel_init_sequence()
461 0xa1, 0x80, 0x47, 0x08, 0x00, 0x00, 0x0d, 0x00, in rgb30panel_init_sequence()
462 0x00, 0x00, 0x00, 0x00, 0x0d, 0x00, 0x00, 0x00, in rgb30panel_init_sequence()
463 0x48, 0x02, 0x8b, 0xaf, 0x46, 0x02, 0x88, 0x88, in rgb30panel_init_sequence()
464 0x88, 0x88, 0x88, 0x48, 0x13, 0x8b, 0xaf, 0x57, in rgb30panel_init_sequence()
465 0x13, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, in rgb30panel_init_sequence()
466 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb30panel_init_sequence()
467 0x00, 0x00, 0x00); in rgb30panel_init_sequence()
468 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP2, 0x96, 0x12, 0x01, 0x01, in rgb30panel_init_sequence()
469 0x01, 0x78, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb30panel_init_sequence()
470 0x4f, 0x31, 0x8b, 0xa8, 0x31, 0x75, 0x88, 0x88, in rgb30panel_init_sequence()
471 0x88, 0x88, 0x88, 0x4f, 0x20, 0x8b, 0xa8, 0x20, in rgb30panel_init_sequence()
472 0x64, 0x88, 0x88, 0x88, 0x88, 0x88, 0x23, 0x00, in rgb30panel_init_sequence()
473 0x00, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb30panel_init_sequence()
474 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb30panel_init_sequence()
475 0x00, 0x00, 0x40, 0xa1, 0x80, 0x00, 0x00, 0x00, in rgb30panel_init_sequence()
476 0x00); in rgb30panel_init_sequence()
477 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGAMMA, 0x00, 0x0a, 0x0f, in rgb30panel_init_sequence()
478 0x29, 0x3b, 0x3f, 0x42, 0x39, 0x06, 0x0d, 0x10, in rgb30panel_init_sequence()
479 0x13, 0x15, 0x14, 0x15, 0x10, 0x17, 0x00, 0x0a, in rgb30panel_init_sequence()
480 0x0f, 0x29, 0x3b, 0x3f, 0x42, 0x39, 0x06, 0x0d, in rgb30panel_init_sequence()
481 0x10, 0x13, 0x15, 0x14, 0x15, 0x10, 0x17); in rgb30panel_init_sequence()
512 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEXTC, 0xf1, 0x12, 0x83); in rgb10max3_panel_init_sequence()
513 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETAPID, 0x00, 0x00, 0x00, 0xda, in rgb10max3_panel_init_sequence()
514 0x80); in rgb10max3_panel_init_sequence()
515 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETDISP, 0xc8, 0x02, 0x30); in rgb10max3_panel_init_sequence()
516 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETRGBIF, 0x10, 0x10, 0x28, in rgb10max3_panel_init_sequence()
517 0x28, 0x03, 0xff, 0x00, 0x00, 0x00, 0x00); in rgb10max3_panel_init_sequence()
518 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETCYC, 0x80); in rgb10max3_panel_init_sequence()
519 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETBGP, 0x04, 0x04); in rgb10max3_panel_init_sequence()
520 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVCOM, 0x78, 0x78); in rgb10max3_panel_init_sequence()
521 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER_EXT, 0x25, 0x22, 0xf0, in rgb10max3_panel_init_sequence()
522 0x63); in rgb10max3_panel_init_sequence()
523 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETMIPI, 0x33, 0x81, 0x05, 0xf9, in rgb10max3_panel_init_sequence()
524 0x0e, 0x0e, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb10max3_panel_init_sequence()
525 0x00, 0x00, 0x44, 0x25, 0x00, 0x90, 0x0a, 0x00, in rgb10max3_panel_init_sequence()
526 0x00, 0x01, 0x4f, 0x01, 0x00, 0x00, 0x37); in rgb10max3_panel_init_sequence()
527 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVDC, 0x47); in rgb10max3_panel_init_sequence()
528 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in rgb10max3_panel_init_sequence()
529 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETSCR, 0x73, 0x73, 0x50, 0x50, in rgb10max3_panel_init_sequence()
530 0x00, 0x00, 0x12, 0x70, 0x00); in rgb10max3_panel_init_sequence()
531 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER, 0x25, 0x00, 0x32, in rgb10max3_panel_init_sequence()
532 0x32, 0x77, 0xe1, 0xff, 0xff, 0xcc, 0xcc, 0x77, in rgb10max3_panel_init_sequence()
533 0x77); in rgb10max3_panel_init_sequence()
534 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETECO, 0x82, 0x00, 0xbf, 0xff, in rgb10max3_panel_init_sequence()
535 0x00, 0xff); in rgb10max3_panel_init_sequence()
536 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETIO, 0xb8, 0x00, 0x0a, 0x00, in rgb10max3_panel_init_sequence()
537 0x00, 0x00); in rgb10max3_panel_init_sequence()
538 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETCABC, 0x10, 0x40, 0x1e, in rgb10max3_panel_init_sequence()
539 0x02); in rgb10max3_panel_init_sequence()
540 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPANEL, 0x0b); in rgb10max3_panel_init_sequence()
541 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGAMMA, 0x00, 0x04, 0x07, in rgb10max3_panel_init_sequence()
542 0x2a, 0x39, 0x3f, 0x36, 0x31, 0x06, 0x0b, 0x0e, in rgb10max3_panel_init_sequence()
543 0x12, 0x14, 0x12, 0x13, 0x0f, 0x17, 0x00, 0x04, in rgb10max3_panel_init_sequence()
544 0x07, 0x2a, 0x39, 0x3f, 0x36, 0x31, 0x06, 0x0b, in rgb10max3_panel_init_sequence()
545 0x0e, 0x12, 0x14, 0x12, 0x13, 0x0f, 0x17); in rgb10max3_panel_init_sequence()
546 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEQ, 0x03, 0x03, 0x03, 0x03, in rgb10max3_panel_init_sequence()
547 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0xff, 0x80, in rgb10max3_panel_init_sequence()
548 0xc0, 0x10); in rgb10max3_panel_init_sequence()
549 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP1, 0xc8, 0x10, 0x08, 0x00, in rgb10max3_panel_init_sequence()
550 0x00, 0x41, 0xf8, 0x12, 0x31, 0x23, 0x37, 0x86, in rgb10max3_panel_init_sequence()
551 0x11, 0xc8, 0x37, 0x2a, 0x00, 0x00, 0x0c, 0x00, in rgb10max3_panel_init_sequence()
552 0x00, 0x00, 0x00, 0x00, 0x0c, 0x00, 0x00, 0x00, in rgb10max3_panel_init_sequence()
553 0x88, 0x20, 0x46, 0x02, 0x88, 0x88, 0x88, 0x88, in rgb10max3_panel_init_sequence()
554 0x88, 0x88, 0xff, 0x88, 0x31, 0x57, 0x13, 0x88, in rgb10max3_panel_init_sequence()
555 0x88, 0x88, 0x88, 0x88, 0x88, 0xff, 0x00, 0x00, in rgb10max3_panel_init_sequence()
556 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb10max3_panel_init_sequence()
557 0x00, 0x00, 0x00); in rgb10max3_panel_init_sequence()
558 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP2, 0x00, 0x1a, 0x00, 0x00, in rgb10max3_panel_init_sequence()
559 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb10max3_panel_init_sequence()
560 0x8f, 0x13, 0x31, 0x75, 0x88, 0x88, 0x88, 0x88, in rgb10max3_panel_init_sequence()
561 0x88, 0x88, 0xf8, 0x8f, 0x02, 0x20, 0x64, 0x88, in rgb10max3_panel_init_sequence()
562 0x88, 0x88, 0x88, 0x88, 0x88, 0xf8, 0x00, 0x00, in rgb10max3_panel_init_sequence()
563 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb10max3_panel_init_sequence()
564 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb10max3_panel_init_sequence()
565 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in rgb10max3_panel_init_sequence()
566 0x00); in rgb10max3_panel_init_sequence()
567 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_EF, 0xff, 0xff, 0x01); in rgb10max3_panel_init_sequence()
604 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEXTC, 0xf1, 0x12, 0x83); in gameforcechi_init_sequence()
605 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETMIPI, 0x31, 0x81, 0x05, 0xf9, in gameforcechi_init_sequence()
606 0x0e, 0x0e, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, in gameforcechi_init_sequence()
607 0x00, 0x00, 0x44, 0x25, 0x00, 0x91, 0x0a, 0x00, in gameforcechi_init_sequence()
608 0x00, 0x02, 0x4f, 0xd1, 0x00, 0x00, 0x37); in gameforcechi_init_sequence()
609 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER_EXT, 0x25); in gameforcechi_init_sequence()
610 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in gameforcechi_init_sequence()
611 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETRGBIF, 0x0c, 0x10, 0x0a, in gameforcechi_init_sequence()
612 0x50, 0x03, 0xff, 0x00, 0x00, 0x00, 0x00); in gameforcechi_init_sequence()
613 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETSCR, 0x73, 0x73, 0x50, 0x50, in gameforcechi_init_sequence()
614 0x00, 0x00, 0x08, 0x70, 0x00); in gameforcechi_init_sequence()
615 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVDC, 0x46); in gameforcechi_init_sequence()
616 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPANEL, 0x0b); in gameforcechi_init_sequence()
617 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETCYC, 0x80); in gameforcechi_init_sequence()
618 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETDISP, 0x00, 0x13, 0xf0); in gameforcechi_init_sequence()
619 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETEQ, 0x07, 0x07, 0x0b, 0x0b, in gameforcechi_init_sequence()
620 0x03, 0x0b, 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, in gameforcechi_init_sequence()
621 0xc0, 0x10); in gameforcechi_init_sequence()
622 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETPOWER, 0x53, 0x00, 0x1e, in gameforcechi_init_sequence()
623 0x1e, 0x77, 0xe1, 0xcc, 0xdd, 0x67, 0x77, 0x33, in gameforcechi_init_sequence()
624 0x33); in gameforcechi_init_sequence()
625 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETBGP, 0x10, 0x10); in gameforcechi_init_sequence()
626 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETVCOM, 0x6c, 0x7c); in gameforcechi_init_sequence()
627 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP1, 0x08, 0x00, 0x0e, 0x00, in gameforcechi_init_sequence()
628 0x00, 0xb0, 0xb1, 0x11, 0x31, 0x23, 0x28, 0x10, in gameforcechi_init_sequence()
629 0xb0, 0xb1, 0x27, 0x08, 0x00, 0x04, 0x02, 0x00, in gameforcechi_init_sequence()
630 0x00, 0x00, 0x00, 0x04, 0x02, 0x00, 0x00, 0x00, in gameforcechi_init_sequence()
631 0x88, 0x88, 0xba, 0x60, 0x24, 0x08, 0x88, 0x88, in gameforcechi_init_sequence()
632 0x88, 0x88, 0x88, 0x88, 0x88, 0xba, 0x71, 0x35, in gameforcechi_init_sequence()
633 0x18, 0x88, 0x88, 0x88, 0x88, 0x88, 0x00, 0x00, in gameforcechi_init_sequence()
634 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in gameforcechi_init_sequence()
635 0x00, 0x00, 0x00); in gameforcechi_init_sequence()
636 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGIP2, 0x97, 0x0a, 0x82, 0x02, in gameforcechi_init_sequence()
637 0x13, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in gameforcechi_init_sequence()
638 0x80, 0x88, 0xba, 0x17, 0x53, 0x88, 0x88, 0x88, in gameforcechi_init_sequence()
639 0x88, 0x88, 0x88, 0x81, 0x88, 0xba, 0x06, 0x42, in gameforcechi_init_sequence()
640 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, 0x23, 0x10, in gameforcechi_init_sequence()
641 0x00, 0x02, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, in gameforcechi_init_sequence()
642 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in gameforcechi_init_sequence()
643 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in gameforcechi_init_sequence()
644 0x00); in gameforcechi_init_sequence()
645 mipi_dsi_dcs_write_seq_multi(dsi_ctx, ST7703_CMD_SETGAMMA, 0x00, 0x07, 0x0b, in gameforcechi_init_sequence()
646 0x27, 0x2d, 0x3f, 0x3b, 0x37, 0x05, 0x0a, 0x0b, in gameforcechi_init_sequence()
647 0x0f, 0x11, 0x0f, 0x12, 0x12, 0x18, 0x00, 0x07, in gameforcechi_init_sequence()
648 0x0b, 0x27, 0x2d, 0x3f, 0x3b, 0x37, 0x05, 0xa0, in gameforcechi_init_sequence()
649 0x0b, 0x0f, 0x11, 0x0f, 0x12, 0x12, 0x18); in gameforcechi_init_sequence()
721 return 0; in st7703_unprepare()
733 if (ret < 0) { in st7703_prepare()
739 if (ret < 0) { in st7703_prepare()
748 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in st7703_prepare()
751 return 0; in st7703_prepare()
876 if (ret < 0) in st7703_probe()
889 if (ret < 0) { in st7703_probe()
901 return 0; in st7703_probe()
910 if (ret < 0) in st7703_remove()