Lines Matching +full:0 +full:x88

29 #define ST7703_CMD_ALL_PIXEL_OFF 0x22
30 #define ST7703_CMD_ALL_PIXEL_ON 0x23
31 #define ST7703_CMD_SETDISP 0xB2
32 #define ST7703_CMD_SETRGBIF 0xB3
33 #define ST7703_CMD_SETCYC 0xB4
34 #define ST7703_CMD_SETBGP 0xB5
35 #define ST7703_CMD_SETVCOM 0xB6
36 #define ST7703_CMD_SETOTP 0xB7
37 #define ST7703_CMD_SETPOWER_EXT 0xB8
38 #define ST7703_CMD_SETEXTC 0xB9
39 #define ST7703_CMD_SETMIPI 0xBA
40 #define ST7703_CMD_SETVDC 0xBC
41 #define ST7703_CMD_UNKNOWN_BF 0xBF
42 #define ST7703_CMD_SETSCR 0xC0
43 #define ST7703_CMD_SETPOWER 0xC1
44 #define ST7703_CMD_SETPANEL 0xCC
45 #define ST7703_CMD_UNKNOWN_C6 0xC6
46 #define ST7703_CMD_SETGAMMA 0xE0
47 #define ST7703_CMD_SETEQ 0xE3
48 #define ST7703_CMD_SETGIP1 0xE9
49 #define ST7703_CMD_SETGIP2 0xEA
80 if (ret < 0) \
82 } while (0)
94 0xF1, 0x12, 0x83); in jh057n_init_sequence()
96 0x10, 0x10, 0x05, 0x05, 0x03, 0xFF, 0x00, 0x00, in jh057n_init_sequence()
97 0x00, 0x00); in jh057n_init_sequence()
99 0x73, 0x73, 0x50, 0x50, 0x00, 0x00, 0x08, 0x70, in jh057n_init_sequence()
100 0x00); in jh057n_init_sequence()
101 dsi_generic_write_seq(dsi, ST7703_CMD_SETVDC, 0x4E); in jh057n_init_sequence()
102 dsi_generic_write_seq(dsi, ST7703_CMD_SETPANEL, 0x0B); in jh057n_init_sequence()
103 dsi_generic_write_seq(dsi, ST7703_CMD_SETCYC, 0x80); in jh057n_init_sequence()
104 dsi_generic_write_seq(dsi, ST7703_CMD_SETDISP, 0xF0, 0x12, 0x30); in jh057n_init_sequence()
106 0x07, 0x07, 0x0B, 0x0B, 0x03, 0x0B, 0x00, 0x00, in jh057n_init_sequence()
107 0x00, 0x00, 0xFF, 0x00, 0xC0, 0x10); in jh057n_init_sequence()
108 dsi_generic_write_seq(dsi, ST7703_CMD_SETBGP, 0x08, 0x08); in jh057n_init_sequence()
111 dsi_generic_write_seq(dsi, ST7703_CMD_SETVCOM, 0x3F, 0x3F); in jh057n_init_sequence()
112 dsi_generic_write_seq(dsi, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in jh057n_init_sequence()
114 0x82, 0x10, 0x06, 0x05, 0x9E, 0x0A, 0xA5, 0x12, in jh057n_init_sequence()
115 0x31, 0x23, 0x37, 0x83, 0x04, 0xBC, 0x27, 0x38, in jh057n_init_sequence()
116 0x0C, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0C, 0x00, in jh057n_init_sequence()
117 0x03, 0x00, 0x00, 0x00, 0x75, 0x75, 0x31, 0x88, in jh057n_init_sequence()
118 0x88, 0x88, 0x88, 0x88, 0x88, 0x13, 0x88, 0x64, in jh057n_init_sequence()
119 0x64, 0x20, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in jh057n_init_sequence()
120 0x02, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in jh057n_init_sequence()
121 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in jh057n_init_sequence()
123 0x02, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in jh057n_init_sequence()
124 0x00, 0x00, 0x00, 0x00, 0x02, 0x46, 0x02, 0x88, in jh057n_init_sequence()
125 0x88, 0x88, 0x88, 0x88, 0x88, 0x64, 0x88, 0x13, in jh057n_init_sequence()
126 0x57, 0x13, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in jh057n_init_sequence()
127 0x75, 0x88, 0x23, 0x14, 0x00, 0x00, 0x02, 0x00, in jh057n_init_sequence()
128 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in jh057n_init_sequence()
129 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x0A, in jh057n_init_sequence()
130 0xA5, 0x00, 0x00, 0x00, 0x00); in jh057n_init_sequence()
132 0x00, 0x09, 0x0E, 0x29, 0x2D, 0x3C, 0x41, 0x37, in jh057n_init_sequence()
133 0x07, 0x0B, 0x0D, 0x10, 0x11, 0x0F, 0x10, 0x11, in jh057n_init_sequence()
134 0x18, 0x00, 0x09, 0x0E, 0x29, 0x2D, 0x3C, 0x41, in jh057n_init_sequence()
135 0x37, 0x07, 0x0B, 0x0D, 0x10, 0x11, 0x0F, 0x10, in jh057n_init_sequence()
136 0x11, 0x18); in jh057n_init_sequence()
138 return 0; in jh057n_init_sequence()
169 if (ret < 0) \
171 } while (0)
183 dsi_dcs_write_seq(dsi, ST7703_CMD_SETEXTC, 0xF1, 0x12, 0x83); in xbd599_init_sequence()
186 0x33, /* VC_main = 0, Lane_Number = 3 (4 lanes) */ in xbd599_init_sequence()
187 0x81, /* DSI_LDO_SEL = 1.7V, RTERM = 90 Ohm */ in xbd599_init_sequence()
188 0x05, /* IHSRX = x6 (Low High Speed driving ability) */ in xbd599_init_sequence()
189 0xF9, /* TX_CLK_SEL = fDSICLK/16 */ in xbd599_init_sequence()
190 0x0E, /* HFP_OSC (min. HFP number in DSI mode) */ in xbd599_init_sequence()
191 0x0E, /* HBP_OSC (min. HBP number in DSI mode) */ in xbd599_init_sequence()
193 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
194 0x44, 0x25, 0x00, 0x91, 0x0a, 0x00, 0x00, 0x02, in xbd599_init_sequence()
195 0x4F, 0x11, 0x00, 0x00, 0x37); in xbd599_init_sequence()
198 0x25, /* PCCS = 2, ECP_DC_DIV = 1/4 HSYNC */ in xbd599_init_sequence()
199 0x22, /* DT = 15ms XDK_ECP = x2 */ in xbd599_init_sequence()
200 0x20, /* PFM_DC_DIV = /1 */ in xbd599_init_sequence()
201 0x03 /* ECP_SYNC_EN = 1, VGX_SYNC_EN = 1 */); in xbd599_init_sequence()
205 0x10, /* VBP_RGB_GEN */ in xbd599_init_sequence()
206 0x10, /* VFP_RGB_GEN */ in xbd599_init_sequence()
207 0x05, /* DE_BP_RGB_GEN */ in xbd599_init_sequence()
208 0x05, /* DE_FP_RGB_GEN */ in xbd599_init_sequence()
210 0x03, 0xFF, in xbd599_init_sequence()
211 0x00, 0x00, in xbd599_init_sequence()
212 0x00, 0x00); in xbd599_init_sequence()
216 0x73, /* N_POPON */ in xbd599_init_sequence()
217 0x73, /* N_NOPON */ in xbd599_init_sequence()
218 0x50, /* I_POPON */ in xbd599_init_sequence()
219 0x50, /* I_NOPON */ in xbd599_init_sequence()
220 0x00, /* SCR[31,24] */ in xbd599_init_sequence()
221 0xC0, /* SCR[23,16] */ in xbd599_init_sequence()
222 0x08, /* SCR[15,8] */ in xbd599_init_sequence()
223 0x70, /* SCR[7,0] */ in xbd599_init_sequence()
224 0x00 /* Undocumented */); in xbd599_init_sequence()
227 dsi_dcs_write_seq(dsi, ST7703_CMD_SETVDC, 0x4E); in xbd599_init_sequence()
230 * SS_PANEL = 1 (reverse scan), GS_PANEL = 0 (normal scan) in xbd599_init_sequence()
233 dsi_dcs_write_seq(dsi, ST7703_CMD_SETPANEL, 0x0B); in xbd599_init_sequence()
236 dsi_dcs_write_seq(dsi, ST7703_CMD_SETCYC, 0x80); in xbd599_init_sequence()
240 0xF0, /* NL = 240 */ in xbd599_init_sequence()
241 0x12, /* RES_V_LSB = 0, BLK_CON = VSSD, in xbd599_init_sequence()
244 0xF0 /* WHITE_GND_EN = 1 (GND), in xbd599_init_sequence()
246 * ISC = 0 frames in xbd599_init_sequence()
250 0x00, /* PNOEQ */ in xbd599_init_sequence()
251 0x00, /* NNOEQ */ in xbd599_init_sequence()
252 0x0B, /* PEQGND */ in xbd599_init_sequence()
253 0x0B, /* NEQGND */ in xbd599_init_sequence()
254 0x10, /* PEQVCI */ in xbd599_init_sequence()
255 0x10, /* NEQVCI */ in xbd599_init_sequence()
256 0x00, /* PEQVCI1 */ in xbd599_init_sequence()
257 0x00, /* NEQVCI1 */ in xbd599_init_sequence()
258 0x00, /* reserved */ in xbd599_init_sequence()
259 0x00, /* reserved */ in xbd599_init_sequence()
260 0xFF, /* reserved */ in xbd599_init_sequence()
261 0x00, /* reserved */ in xbd599_init_sequence()
262 0xC0, /* ESD_DET_DATA_WHITE = 1, ESD_WHITE_EN = 1 */ in xbd599_init_sequence()
263 0x10 /* SLPIN_OPTION = 1 (no need vsync after sleep-in) in xbd599_init_sequence()
264 * VEDIO_NO_CHECK_EN = 0 in xbd599_init_sequence()
265 * ESD_WHITE_GND_EN = 0 in xbd599_init_sequence()
266 * ESD_DET_TIME_SEL = 0 frames in xbd599_init_sequence()
270 dsi_dcs_write_seq(dsi, ST7703_CMD_UNKNOWN_C6, 0x01, 0x00, 0xFF, 0xFF, 0x00); in xbd599_init_sequence()
273 0x74, /* VBTHS, VBTLS: VGH = 17V, VBL = -11V */ in xbd599_init_sequence()
274 0x00, /* FBOFF_VGH = 0, FBOFF_VGL = 0 */ in xbd599_init_sequence()
275 0x32, /* VRP */ in xbd599_init_sequence()
276 0x32, /* VRN */ in xbd599_init_sequence()
277 0x77, /* reserved */ in xbd599_init_sequence()
278 0xF1, /* APS = 1 (small), in xbd599_init_sequence()
282 0xFF, /* VGH1_L_DIV, VGL1_L_DIV (1.5MHz) */ in xbd599_init_sequence()
283 0xFF, /* VGH1_R_DIV, VGL1_R_DIV (1.5MHz) */ in xbd599_init_sequence()
284 0xCC, /* VGH2_L_DIV, VGL2_L_DIV (2.6MHz) */ in xbd599_init_sequence()
285 0xCC, /* VGH2_R_DIV, VGL2_R_DIV (2.6MHz) */ in xbd599_init_sequence()
286 0x77, /* VGH3_L_DIV, VGL3_L_DIV (4.5MHz) */ in xbd599_init_sequence()
287 0x77 /* VGH3_R_DIV, VGL3_R_DIV (4.5MHz) */); in xbd599_init_sequence()
291 0x07, /* VREF_SEL = 4.2V */ in xbd599_init_sequence()
292 0x07 /* NVREF_SEL = 4.2V */); in xbd599_init_sequence()
296 0x2C, /* VCOMDC_F = -0.67V */ in xbd599_init_sequence()
297 0x2C /* VCOMDC_B = -0.67V */); in xbd599_init_sequence()
300 dsi_dcs_write_seq(dsi, ST7703_CMD_UNKNOWN_BF, 0x02, 0x11, 0x00); in xbd599_init_sequence()
304 0x82, 0x10, 0x06, 0x05, 0xA2, 0x0A, 0xA5, 0x12, in xbd599_init_sequence()
305 0x31, 0x23, 0x37, 0x83, 0x04, 0xBC, 0x27, 0x38, in xbd599_init_sequence()
306 0x0C, 0x00, 0x03, 0x00, 0x00, 0x00, 0x0C, 0x00, in xbd599_init_sequence()
307 0x03, 0x00, 0x00, 0x00, 0x75, 0x75, 0x31, 0x88, in xbd599_init_sequence()
308 0x88, 0x88, 0x88, 0x88, 0x88, 0x13, 0x88, 0x64, in xbd599_init_sequence()
309 0x64, 0x20, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in xbd599_init_sequence()
310 0x02, 0x88, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
311 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in xbd599_init_sequence()
315 0x02, 0x21, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
316 0x00, 0x00, 0x00, 0x00, 0x02, 0x46, 0x02, 0x88, in xbd599_init_sequence()
317 0x88, 0x88, 0x88, 0x88, 0x88, 0x64, 0x88, 0x13, in xbd599_init_sequence()
318 0x57, 0x13, 0x88, 0x88, 0x88, 0x88, 0x88, 0x88, in xbd599_init_sequence()
319 0x75, 0x88, 0x23, 0x14, 0x00, 0x00, 0x02, 0x00, in xbd599_init_sequence()
320 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in xbd599_init_sequence()
321 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x0A, in xbd599_init_sequence()
322 0xA5, 0x00, 0x00, 0x00, 0x00); in xbd599_init_sequence()
326 0x00, 0x09, 0x0D, 0x23, 0x27, 0x3C, 0x41, 0x35, in xbd599_init_sequence()
327 0x07, 0x0D, 0x0E, 0x12, 0x13, 0x10, 0x12, 0x12, in xbd599_init_sequence()
328 0x18, 0x00, 0x09, 0x0D, 0x23, 0x27, 0x3C, 0x41, in xbd599_init_sequence()
329 0x35, 0x07, 0x0D, 0x0E, 0x12, 0x13, 0x10, 0x12, in xbd599_init_sequence()
330 0x12, 0x18); in xbd599_init_sequence()
332 return 0; in xbd599_init_sequence()
365 if (ret < 0) { in st7703_enable()
373 if (ret < 0) { in st7703_enable()
387 return 0; in st7703_enable()
397 if (ret < 0) in st7703_disable()
401 if (ret < 0) in st7703_disable()
404 return 0; in st7703_disable()
412 return 0; in st7703_unprepare()
419 return 0; in st7703_unprepare()
428 return 0; in st7703_prepare()
432 if (ret < 0) { in st7703_prepare()
437 if (ret < 0) { in st7703_prepare()
444 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in st7703_prepare()
449 return 0; in st7703_prepare()
502 return 0; in allpixelson_set()
564 if (ret < 0) { in st7703_probe()
576 return 0; in st7703_probe()
585 if (ret < 0) in st7703_shutdown()
589 if (ret < 0) in st7703_shutdown()
601 if (ret < 0) in st7703_remove()
608 return 0; in st7703_remove()