Lines Matching +full:0 +full:x2e
21 #define MCS_BL_CTL 0xc3
22 #define MCS_OTP_RELOAD 0xd0
23 #define MCS_PASSWD1 0xf0
24 #define MCS_PASSWD2 0xf1
25 #define MCS_PASSWD3 0xfc
61 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in s6d7aa0_reset()
70 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD1, 0xa5, 0xa5); in s6d7aa0_lock()
71 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD2, 0xa5, 0xa5); in s6d7aa0_lock()
73 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD3, 0x5a, 0x5a); in s6d7aa0_lock()
75 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD1, 0x5a, 0x5a); in s6d7aa0_lock()
76 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD2, 0x5a, 0x5a); in s6d7aa0_lock()
78 mipi_dsi_dcs_write_seq(dsi, MCS_PASSWD3, 0xa5, 0xa5); in s6d7aa0_lock()
81 return 0; in s6d7aa0_lock()
91 if (ret < 0) { in s6d7aa0_on()
98 if (ret < 0) { in s6d7aa0_on()
103 return 0; in s6d7aa0_on()
113 if (ret < 0) { in s6d7aa0_off()
119 if (ret < 0) { in s6d7aa0_off()
126 if (ret < 0) { in s6d7aa0_off()
132 return 0; in s6d7aa0_off()
142 if (ret < 0) { in s6d7aa0_prepare()
150 if (ret < 0) { in s6d7aa0_prepare()
156 return 0; in s6d7aa0_prepare()
166 if (ret < 0) in s6d7aa0_disable()
169 return 0; in s6d7aa0_disable()
179 return 0; in s6d7aa0_unprepare()
191 if (ret < 0) in s6d7aa0_bl_update_status()
194 return 0; in s6d7aa0_bl_update_status()
204 if (ret < 0) in s6d7aa0_bl_get_brightness()
207 return brightness & 0xff; in s6d7aa0_bl_get_brightness()
240 if (ret < 0) { in s6d7aa0_lsl080al02_init()
245 mipi_dsi_dcs_write_seq(dsi, MCS_OTP_RELOAD, 0x00, 0x10); in s6d7aa0_lsl080al02_init()
249 mipi_dsi_dcs_write_seq(dsi, 0xb6, 0x10); in s6d7aa0_lsl080al02_init()
252 mipi_dsi_dcs_write_seq(dsi, MCS_BL_CTL, 0x40, 0x00, 0x28); in s6d7aa0_lsl080al02_init()
256 mipi_dsi_dcs_write_seq(dsi, MIPI_DCS_SET_ADDRESS_MODE, 0x04); in s6d7aa0_lsl080al02_init()
259 if (ret < 0) { in s6d7aa0_lsl080al02_init()
265 mipi_dsi_dcs_write_seq(dsi, MIPI_DCS_SET_ADDRESS_MODE, 0x00); in s6d7aa0_lsl080al02_init()
268 if (ret < 0) { in s6d7aa0_lsl080al02_init()
274 if (ret < 0) { in s6d7aa0_lsl080al02_init()
279 return 0; in s6d7aa0_lsl080al02_init()
287 mipi_dsi_dcs_write_seq(dsi, MCS_BL_CTL, 0x40, 0x00, 0x20); in s6d7aa0_lsl080al02_off()
289 return 0; in s6d7aa0_lsl080al02_off()
312 .bus_flags = 0,
329 if (ret < 0) { in s6d7aa0_lsl080al03_init()
335 mipi_dsi_dcs_write_seq(dsi, MCS_BL_CTL, 0xc7, 0x00, 0x29); in s6d7aa0_lsl080al03_init()
336 mipi_dsi_dcs_write_seq(dsi, 0xbc, 0x01, 0x4e, 0xa0); in s6d7aa0_lsl080al03_init()
337 mipi_dsi_dcs_write_seq(dsi, 0xfd, 0x16, 0x10, 0x11, 0x23, in s6d7aa0_lsl080al03_init()
338 0x09); in s6d7aa0_lsl080al03_init()
339 mipi_dsi_dcs_write_seq(dsi, 0xfe, 0x00, 0x02, 0x03, 0x21, in s6d7aa0_lsl080al03_init()
340 0x80, 0x78); in s6d7aa0_lsl080al03_init()
342 mipi_dsi_dcs_write_seq(dsi, MCS_BL_CTL, 0x40, 0x00, 0x08); in s6d7aa0_lsl080al03_init()
343 mipi_dsi_dcs_write_seq(dsi, 0xbc, 0x01, 0x4e, 0x0b); in s6d7aa0_lsl080al03_init()
344 mipi_dsi_dcs_write_seq(dsi, 0xfd, 0x16, 0x10, 0x11, 0x23, in s6d7aa0_lsl080al03_init()
345 0x09); in s6d7aa0_lsl080al03_init()
346 mipi_dsi_dcs_write_seq(dsi, 0xfe, 0x00, 0x02, 0x03, 0x21, in s6d7aa0_lsl080al03_init()
347 0x80, 0x68); in s6d7aa0_lsl080al03_init()
350 mipi_dsi_dcs_write_seq(dsi, 0xb3, 0x51); in s6d7aa0_lsl080al03_init()
351 mipi_dsi_dcs_write_seq(dsi, MIPI_DCS_WRITE_CONTROL_DISPLAY, 0x24); in s6d7aa0_lsl080al03_init()
352 mipi_dsi_dcs_write_seq(dsi, 0xf2, 0x02, 0x08, 0x08); in s6d7aa0_lsl080al03_init()
356 mipi_dsi_dcs_write_seq(dsi, 0xc0, 0x80, 0x80, 0x30); in s6d7aa0_lsl080al03_init()
357 mipi_dsi_dcs_write_seq(dsi, 0xcd, in s6d7aa0_lsl080al03_init()
358 0x2e, 0x2e, 0x2e, 0x2e, 0x2e, 0x2e, 0x2e, 0x2e, in s6d7aa0_lsl080al03_init()
359 0x2e, 0x2e, 0x2e, 0x2e, 0x2e); in s6d7aa0_lsl080al03_init()
360 mipi_dsi_dcs_write_seq(dsi, 0xce, in s6d7aa0_lsl080al03_init()
361 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in s6d7aa0_lsl080al03_init()
362 0x00, 0x00, 0x00, 0x00, 0x00); in s6d7aa0_lsl080al03_init()
363 mipi_dsi_dcs_write_seq(dsi, 0xc1, 0x03); in s6d7aa0_lsl080al03_init()
366 if (ret < 0) { in s6d7aa0_lsl080al03_init()
372 if (ret < 0) { in s6d7aa0_lsl080al03_init()
378 if (ret < 0) { in s6d7aa0_lsl080al03_init()
383 return 0; in s6d7aa0_lsl080al03_init()
390 mipi_dsi_dcs_write_seq(dsi, 0x22, 0x00); in s6d7aa0_lsl080al03_off()
392 return 0; in s6d7aa0_lsl080al03_off()
415 .bus_flags = 0,
443 .bus_flags = 0,
495 ctx->supplies[0].supply = "power"; in s6d7aa0_probe()
499 if (ret < 0) in s6d7aa0_probe()
534 if (ret < 0) { in s6d7aa0_probe()
540 return 0; in s6d7aa0_probe()
549 if (ret < 0) in s6d7aa0_remove()