Lines Matching +full:0 +full:xcb

25 #define S6E63M0_LCD_ID_VALUE_M2		0xA4
26 #define S6E63M0_LCD_ID_VALUE_SM2 0xB4
27 #define S6E63M0_LCD_ID_VALUE_SM2_1 0xB6
37 { MCS_PGAMMACTL, 0x02,
38 0x18, 0x08, 0x24, 0xA1, 0x51, 0x7B, 0xCE,
39 0xCB, 0xC2, 0xC7, 0xCB, 0xBC, 0xDA, 0xDD,
40 0xD3, 0x00, 0x53, 0x00, 0x52, 0x00, 0x6F, },
42 { MCS_PGAMMACTL, 0x02,
43 0x18, 0x08, 0x24, 0x97, 0x58, 0x71, 0xCC,
44 0xCB, 0xC0, 0xC5, 0xC9, 0xBA, 0xD9, 0xDC,
45 0xD1, 0x00, 0x5B, 0x00, 0x5A, 0x00, 0x7A, },
47 { MCS_PGAMMACTL, 0x02,
48 0x18, 0x08, 0x24, 0x96, 0x58, 0x72, 0xCB,
49 0xCA, 0xBF, 0xC6, 0xC9, 0xBA, 0xD6, 0xD9,
50 0xCD, 0x00, 0x61, 0x00, 0x61, 0x00, 0x83, },
52 { MCS_PGAMMACTL, 0x02,
53 0x18, 0x08, 0x24, 0x91, 0x5E, 0x6E, 0xC9,
54 0xC9, 0xBD, 0xC4, 0xC9, 0xB8, 0xD3, 0xD7,
55 0xCA, 0x00, 0x69, 0x00, 0x67, 0x00, 0x8D, },
57 { MCS_PGAMMACTL, 0x02,
58 0x18, 0x08, 0x24, 0x8E, 0x62, 0x6B, 0xC7,
59 0xC9, 0xBB, 0xC3, 0xC7, 0xB7, 0xD3, 0xD7,
60 0xCA, 0x00, 0x6E, 0x00, 0x6C, 0x00, 0x94, },
62 { MCS_PGAMMACTL, 0x02,
63 0x18, 0x08, 0x24, 0x89, 0x68, 0x65, 0xC9,
64 0xC9, 0xBC, 0xC1, 0xC5, 0xB6, 0xD2, 0xD5,
65 0xC9, 0x00, 0x73, 0x00, 0x72, 0x00, 0x9A, },
67 { MCS_PGAMMACTL, 0x02,
68 0x18, 0x08, 0x24, 0x89, 0x69, 0x64, 0xC7,
69 0xC8, 0xBB, 0xC0, 0xC5, 0xB4, 0xD2, 0xD5,
70 0xC9, 0x00, 0x77, 0x00, 0x76, 0x00, 0xA0, },
72 { MCS_PGAMMACTL, 0x02,
73 0x18, 0x08, 0x24, 0x86, 0x69, 0x60, 0xC6,
74 0xC8, 0xBA, 0xBF, 0xC4, 0xB4, 0xD0, 0xD4,
75 0xC6, 0x00, 0x7C, 0x00, 0x7A, 0x00, 0xA7, },
77 { MCS_PGAMMACTL, 0x02,
78 0x18, 0x08, 0x24, 0x86, 0x6A, 0x60, 0xC5,
79 0xC7, 0xBA, 0xBD, 0xC3, 0xB2, 0xD0, 0xD4,
80 0xC5, 0x00, 0x80, 0x00, 0x7E, 0x00, 0xAD, },
82 { MCS_PGAMMACTL, 0x02,
83 0x18, 0x08, 0x24, 0x82, 0x6B, 0x5E, 0xC4,
84 0xC8, 0xB9, 0xBD, 0xC2, 0xB1, 0xCE, 0xD2,
85 0xC4, 0x00, 0x85, 0x00, 0x82, 0x00, 0xB3, },
87 { MCS_PGAMMACTL, 0x02,
88 0x18, 0x08, 0x24, 0x8C, 0x6C, 0x60, 0xC3,
89 0xC7, 0xB9, 0xBC, 0xC1, 0xAF, 0xCE, 0xD2,
90 0xC3, 0x00, 0x88, 0x00, 0x86, 0x00, 0xB8, },
92 { MCS_PGAMMACTL, 0x02,
93 0x18, 0x08, 0x24, 0x80, 0x6C, 0x5F, 0xC1,
94 0xC6, 0xB7, 0xBC, 0xC1, 0xAE, 0xCD, 0xD0,
95 0xC2, 0x00, 0x8C, 0x00, 0x8A, 0x00, 0xBE, },
97 { MCS_PGAMMACTL, 0x02,
98 0x18, 0x08, 0x24, 0x80, 0x6E, 0x5F, 0xC1,
99 0xC6, 0xB6, 0xBC, 0xC0, 0xAE, 0xCC, 0xD0,
100 0xC2, 0x00, 0x8F, 0x00, 0x8D, 0x00, 0xC2, },
102 { MCS_PGAMMACTL, 0x02,
103 0x18, 0x08, 0x24, 0x7F, 0x6E, 0x5F, 0xC0,
104 0xC6, 0xB5, 0xBA, 0xBF, 0xAD, 0xCB, 0xCF,
105 0xC0, 0x00, 0x94, 0x00, 0x91, 0x00, 0xC8, },
107 { MCS_PGAMMACTL, 0x02,
108 0x18, 0x08, 0x24, 0x7C, 0x6D, 0x5C, 0xC0,
109 0xC6, 0xB4, 0xBB, 0xBE, 0xAD, 0xCA, 0xCF,
110 0xC0, 0x00, 0x96, 0x00, 0x94, 0x00, 0xCC, },
112 { MCS_PGAMMACTL, 0x02,
113 0x18, 0x08, 0x24, 0x7B, 0x6D, 0x5B, 0xC0,
114 0xC5, 0xB3, 0xBA, 0xBE, 0xAD, 0xCA, 0xCE,
115 0xBF, 0x00, 0x99, 0x00, 0x97, 0x00, 0xD0, },
117 { MCS_PGAMMACTL, 0x02,
118 0x18, 0x08, 0x24, 0x7A, 0x6D, 0x59, 0xC1,
119 0xC5, 0xB4, 0xB8, 0xBD, 0xAC, 0xC9, 0xCE,
120 0xBE, 0x00, 0x9D, 0x00, 0x9A, 0x00, 0xD5, },
122 { MCS_PGAMMACTL, 0x02,
123 0x18, 0x08, 0x24, 0x79, 0x6D, 0x58, 0xC1,
124 0xC4, 0xB4, 0xB6, 0xBD, 0xAA, 0xCA, 0xCD,
125 0xBE, 0x00, 0x9F, 0x00, 0x9D, 0x00, 0xD9, },
127 { MCS_PGAMMACTL, 0x02,
128 0x18, 0x08, 0x24, 0x79, 0x6D, 0x57, 0xC0,
129 0xC4, 0xB4, 0xB7, 0xBD, 0xAA, 0xC8, 0xCC,
130 0xBD, 0x00, 0xA2, 0x00, 0xA0, 0x00, 0xDD, },
132 { MCS_PGAMMACTL, 0x02,
133 0x18, 0x08, 0x24, 0x78, 0x6F, 0x58, 0xBF,
134 0xC4, 0xB3, 0xB5, 0xBB, 0xA9, 0xC8, 0xCC,
135 0xBC, 0x00, 0xA6, 0x00, 0xA3, 0x00, 0xE2, },
137 { MCS_PGAMMACTL, 0x02,
138 0x18, 0x08, 0x24, 0x75, 0x6F, 0x56, 0xBF,
139 0xC3, 0xB2, 0xB6, 0xBB, 0xA8, 0xC7, 0xCB,
140 0xBC, 0x00, 0xA8, 0x00, 0xA6, 0x00, 0xE6, },
142 { MCS_PGAMMACTL, 0x02,
143 0x18, 0x08, 0x24, 0x76, 0x6F, 0x56, 0xC0,
144 0xC3, 0xB2, 0xB5, 0xBA, 0xA8, 0xC6, 0xCB,
145 0xBB, 0x00, 0xAA, 0x00, 0xA8, 0x00, 0xE9, },
147 { MCS_PGAMMACTL, 0x02,
148 0x18, 0x08, 0x24, 0x74, 0x6D, 0x54, 0xBF,
149 0xC3, 0xB2, 0xB4, 0xBA, 0xA7, 0xC6, 0xCA,
150 0xBA, 0x00, 0xAD, 0x00, 0xAB, 0x00, 0xED, },
152 { MCS_PGAMMACTL, 0x02,
153 0x18, 0x08, 0x24, 0x74, 0x6E, 0x54, 0xBD,
154 0xC2, 0xB0, 0xB5, 0xBA, 0xA7, 0xC5, 0xC9,
155 0xBA, 0x00, 0xB0, 0x00, 0xAE, 0x00, 0xF1, },
157 { MCS_PGAMMACTL, 0x02,
158 0x18, 0x08, 0x24, 0x71, 0x6C, 0x50, 0xBD,
159 0xC3, 0xB0, 0xB4, 0xB8, 0xA6, 0xC6, 0xC9,
160 0xBB, 0x00, 0xB2, 0x00, 0xB1, 0x00, 0xF4, },
162 { MCS_PGAMMACTL, 0x02,
163 0x18, 0x08, 0x24, 0x6E, 0x6C, 0x4D, 0xBE,
164 0xC3, 0xB1, 0xB3, 0xB8, 0xA5, 0xC6, 0xC8,
165 0xBB, 0x00, 0xB4, 0x00, 0xB3, 0x00, 0xF7, },
167 { MCS_PGAMMACTL, 0x02,
168 0x18, 0x08, 0x24, 0x71, 0x70, 0x50, 0xBD,
169 0xC1, 0xB0, 0xB2, 0xB8, 0xA4, 0xC6, 0xC7,
170 0xBB, 0x00, 0xB6, 0x00, 0xB6, 0x00, 0xFA, },
172 { MCS_PGAMMACTL, 0x02,
173 0x18, 0x08, 0x24, 0x70, 0x6E, 0x4E, 0xBC,
174 0xC0, 0xAF, 0xB3, 0xB8, 0xA5, 0xC5, 0xC7,
175 0xBB, 0x00, 0xB9, 0x00, 0xB8, 0x00, 0xFC, },
184 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
185 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
186 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
187 0x00, 0x00, 0x00 },
190 0x4D, 0x96, 0x1D, 0x00, 0x00, 0x01, 0xDF, 0x00,
191 0x00, 0x03, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00,
192 0x01, 0x06, 0x0C, 0x11, 0x16, 0x1C, 0x21, 0x26,
193 0x2B, 0x31, 0x36 },
196 0x4D, 0x96, 0x1D, 0x00, 0x00, 0x01, 0xDF, 0x00,
197 0x00, 0x03, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00,
198 0x01, 0x07, 0x0C, 0x12, 0x18, 0x1E, 0x23, 0x29,
199 0x2F, 0x34, 0x3A },
202 0x4D, 0x96, 0x1D, 0x00, 0x00, 0x01, 0xDF, 0x00,
203 0x00, 0x03, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00,
204 0x01, 0x07, 0x0D, 0x13, 0x19, 0x1F, 0x25, 0x2B,
205 0x31, 0x37, 0x3D },
208 0x4D, 0x96, 0x1D, 0x00, 0x00, 0x01, 0xDF, 0x00,
209 0x00, 0x03, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00,
210 0x01, 0x07, 0x0E, 0x14, 0x1B, 0x21, 0x27, 0x2E,
211 0x34, 0x3B, 0x41 },
214 0x4D, 0x96, 0x1D, 0x00, 0x00, 0x01, 0xDF, 0x00,
215 0x00, 0x03, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00,
216 0x01, 0x08, 0x0E, 0x15, 0x1B, 0x22, 0x29, 0x2F,
217 0x36, 0x3C, 0x43 },
220 0x4D, 0x96, 0x1D, 0x00, 0x00, 0x01, 0xDF, 0x00,
221 0x00, 0x03, 0x1F, 0x00, 0x00, 0x00, 0x00, 0x00,
222 0x01, 0x08, 0x0F, 0x16, 0x1D, 0x24, 0x2A, 0x31,
223 0x38, 0x3F, 0x46 },
229 0, 0, 0, 0,
240 0x00, /* not set */
241 0x0D, /* 30 cd - 100 cd */
242 0x09, /* 110 cd - 160 cd */
243 0x07, /* 170 cd - 200 cd */
244 0x00, /* 210 cd - 300 cd */
310 ctx->error = 0; in s6e63m0_clear_error()
316 if (ctx->error < 0) in s6e63m0_dcs_read()
324 if (ctx->error < 0 || len == 0) in s6e63m0_dcs_write()
348 ctx->lcd_type = 0x00; in s6e63m0_check_lcd_type()
372 ctx->elvss_pulse = 0x16; in s6e63m0_check_lcd_type()
378 return 0; in s6e63m0_check_lcd_type()
392 0x01, 0x2c, 0x2c, 0x07, 0x07, 0x5f, 0xb3, in s6e63m0_init()
393 0x6d, 0x97, 0x1d, 0x3a, 0x0f, 0x00, 0x00); in s6e63m0_init()
396 0x01, 0x27, 0x27, 0x07, 0x07, 0x54, 0x9f, in s6e63m0_init()
397 0x63, 0x8f, 0x1a, 0x33, 0x0d, 0x00, 0x00); in s6e63m0_init()
400 0x02, 0x03, 0x1c, 0x10, 0x10); in s6e63m0_init()
402 0x03, 0x00, 0x00); in s6e63m0_init()
405 0x00, 0x18, 0x08, 0x24, 0x64, 0x56, 0x33, in s6e63m0_init()
406 0xb6, 0xba, 0xa8, 0xac, 0xb1, 0x9d, 0xc1, in s6e63m0_init()
407 0xc1, 0xb7, 0x00, 0x9c, 0x00, 0x9f, 0x00, in s6e63m0_init()
408 0xd6); in s6e63m0_init()
410 0x01); in s6e63m0_init()
413 0x00, 0x8e, 0x07); in s6e63m0_init()
414 s6e63m0_dcs_write_seq_static(ctx, MCS_PENTILE_1, 0x6c); in s6e63m0_init()
417 0x2c, 0x12, 0x0c, 0x0a, 0x10, 0x0e, 0x17, in s6e63m0_init()
418 0x13, 0x1f, 0x1a, 0x2a, 0x24, 0x1f, 0x1b, in s6e63m0_init()
419 0x1a, 0x17, 0x2b, 0x26, 0x22, 0x20, 0x3a, in s6e63m0_init()
420 0x34, 0x30, 0x2c, 0x29, 0x26, 0x25, 0x23, in s6e63m0_init()
421 0x21, 0x20, 0x1e, 0x1e); in s6e63m0_init()
424 0x00, 0x00, 0x11, 0x22, 0x33, 0x44, 0x44, in s6e63m0_init()
425 0x44, 0x55, 0x55, 0x66, 0x66, 0x66, 0x66, in s6e63m0_init()
426 0x66, 0x66); in s6e63m0_init()
429 0x2c, 0x12, 0x0c, 0x0a, 0x10, 0x0e, 0x17, in s6e63m0_init()
430 0x13, 0x1f, 0x1a, 0x2a, 0x24, 0x1f, 0x1b, in s6e63m0_init()
431 0x1a, 0x17, 0x2b, 0x26, 0x22, 0x20, 0x3a, in s6e63m0_init()
432 0x34, 0x30, 0x2c, 0x29, 0x26, 0x25, 0x23, in s6e63m0_init()
433 0x21, 0x20, 0x1e, 0x1e); in s6e63m0_init()
436 0x00, 0x00, 0x11, 0x22, 0x33, 0x44, 0x44, in s6e63m0_init()
437 0x44, 0x55, 0x55, 0x66, 0x66, 0x66, 0x66, in s6e63m0_init()
438 0x66, 0x66); in s6e63m0_init()
441 0x2c, 0x12, 0x0c, 0x0a, 0x10, 0x0e, 0x17, in s6e63m0_init()
442 0x13, 0x1f, 0x1a, 0x2a, 0x24, 0x1f, 0x1b, in s6e63m0_init()
443 0x1a, 0x17, 0x2b, 0x26, 0x22, 0x20, 0x3a, in s6e63m0_init()
444 0x34, 0x30, 0x2c, 0x29, 0x26, 0x25, 0x23, in s6e63m0_init()
445 0x21, 0x20, 0x1e, 0x1e); in s6e63m0_init()
448 0x00, 0x00, 0x11, 0x22, 0x33, 0x44, 0x44, in s6e63m0_init()
449 0x44, 0x55, 0x55, 0x66, 0x66, 0x66, 0x66, in s6e63m0_init()
450 0x66, 0x66); in s6e63m0_init()
453 0x4d, 0x96, 0x1d, 0x00, 0x00, 0x01, 0xdf, in s6e63m0_init()
454 0x00, 0x00, 0x03, 0x1f, 0x00, 0x00, 0x00, in s6e63m0_init()
455 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x06, in s6e63m0_init()
456 0x09, 0x0d, 0x0f, 0x12, 0x15, 0x18); in s6e63m0_init()
459 0x10, 0x10, 0x0b, 0x05); in s6e63m0_init()
462 0x01); in s6e63m0_init()
465 0x0b); in s6e63m0_init()
473 if (ret < 0) in s6e63m0_power_on()
481 gpiod_set_value(ctx->reset_gpio, 0); in s6e63m0_power_on()
484 return 0; in s6e63m0_power_on()
495 if (ret < 0) in s6e63m0_power_off()
498 return 0; in s6e63m0_power_off()
506 return 0; in s6e63m0_disable()
517 return 0; in s6e63m0_disable()
526 return 0; in s6e63m0_unprepare()
531 if (ret < 0) in s6e63m0_unprepare()
536 return 0; in s6e63m0_unprepare()
545 return 0; in s6e63m0_prepare()
548 if (ret < 0) in s6e63m0_prepare()
552 s6e63m0_dcs_write_seq_static(ctx, MCS_LEVEL_2_KEY, 0x5a, 0x5a); in s6e63m0_prepare()
554 s6e63m0_dcs_write_seq_static(ctx, MCS_MTP_KEY, 0x5a, 0x5a); in s6e63m0_prepare()
557 if (ret < 0) in s6e63m0_prepare()
564 if (ret < 0) in s6e63m0_prepare()
577 return 0; in s6e63m0_enable()
585 0xE7, 0x14, 0x60, 0x17, 0x0A, 0x49, 0xC3, in s6e63m0_enable()
586 0x8F, 0x19, 0x64, 0x91, 0x84, 0x76, 0x20, in s6e63m0_enable()
587 0x0F, 0x00); in s6e63m0_enable()
593 return 0; in s6e63m0_enable()
644 if (elvss_val > 0x1f) in s6e63m0_set_brightness()
645 elvss_val = 0x1f; in s6e63m0_set_brightness()
646 elvss_cmd_set[0] = MCS_TEMP_SWIRE; in s6e63m0_set_brightness()
661 s6e63m0_dcs_write_seq_static(ctx, MCS_PGAMMACTL, 0x03); in s6e63m0_set_brightness()
679 int ret = 0; in s6e63m0_backlight_register()
723 ctx->supplies[0].supply = "vdd3"; in s6e63m0_probe()
727 if (ret < 0) { in s6e63m0_probe()
743 if (ret < 0) in s6e63m0_probe()
748 return 0; in s6e63m0_probe()