Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <mipi/panel.h> |
| 4 | |
| 5 | struct panel_serializable_data IVO_T109NW41 = { |
| 6 | .edid = { |
| 7 | .ascii_string = "T109NW41", |
| 8 | .manufacturer_name = "IVO", |
| 9 | .panel_bits_per_color = 8, |
| 10 | .panel_bits_per_pixel = 24, |
| 11 | .mode = { |
Ruihai Zhou | d837736 | 2024-03-26 14:49:07 +0800 | [diff] [blame^] | 12 | .pixel_clock = 166400, |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 13 | .lvds_dual_channel = 0, |
| 14 | .refresh = 60, |
Ruihai Zhou | d837736 | 2024-03-26 14:49:07 +0800 | [diff] [blame^] | 15 | .ha = 1200, .hbl = 150, .hso = 75, .hspw = 20, |
Ruihai Zhou | e81109a | 2024-01-19 10:14:30 +0800 | [diff] [blame] | 16 | .va = 1920, .vbl = 135, .vso = 115, .vspw = 8, |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 17 | .phsync = '-', .pvsync = '-', |
| 18 | .x_mm = 147, .y_mm = 235, |
| 19 | }, |
| 20 | }, |
| 21 | .init = { |
| 22 | PANEL_DELAY(60), |
| 23 | PANEL_DCS(0xB9, 0x83, 0x10, 0x21, 0x55, 0x00), |
Ruihai Zhou | e81109a | 2024-01-19 10:14:30 +0800 | [diff] [blame] | 24 | PANEL_DCS(0xB1, 0x2C, 0xED, 0xED, 0x27, 0xE7, 0x42, 0xF5, 0x39, |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 25 | 0x36, 0x36, 0x36, 0x36, 0x32, 0x8B, 0x11, 0x65, 0x00, 0x88, |
| 26 | 0xFA, 0xFF, 0xFF, 0x8F, 0xFF, 0x08, 0xD6, 0x33), |
Ruihai Zhou | e81109a | 2024-01-19 10:14:30 +0800 | [diff] [blame] | 27 | PANEL_DCS(0xB2, 0x00, 0x47, 0xB0, 0x80, 0x00, 0x12, 0x71, 0x3C, |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 28 | 0xA3, 0x22, 0x20, 0x00, 0x00, 0x88, 0x01), |
| 29 | PANEL_DCS(0xB4, 0x35, 0x35, 0x43, 0x43, 0x35, 0x35, 0x30, 0x7A, |
Ruihai Zhou | e81109a | 2024-01-19 10:14:30 +0800 | [diff] [blame] | 30 | 0x30, 0x7A, 0x01, 0x9D), |
| 31 | PANEL_DCS(0xB6, 0x34, 0x34, 0x03), |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 32 | PANEL_DCS(0xE9, 0xCD), |
| 33 | PANEL_DCS(0xBA, 0x84), |
| 34 | PANEL_DCS(0xE9, 0x3F), |
| 35 | PANEL_DCS(0xBC, 0x1B, 0x04), |
| 36 | PANEL_DCS(0xBE, 0x20), |
| 37 | PANEL_DCS(0xBF, 0xFC, 0xC4), |
| 38 | PANEL_DCS(0xC0, 0x34, 0x34, 0x22, 0x11, 0x22, 0xA0, 0x31, 0x08, |
| 39 | 0xF5, 0x03), |
| 40 | PANEL_DCS(0xE9, 0xCC), |
| 41 | PANEL_DCS(0xC7, 0x80), |
| 42 | PANEL_DCS(0xE9, 0x3F), |
Ruihai Zhou | e81109a | 2024-01-19 10:14:30 +0800 | [diff] [blame] | 43 | PANEL_DCS(0xE9, 0xC6), |
| 44 | PANEL_DCS(0xC8, 0x97), |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 45 | PANEL_DCS(0xE9, 0x3F), |
| 46 | PANEL_DCS(0xC9, 0x00, 0x1E, 0x13, 0x88, 0x01), |
| 47 | PANEL_DCS(0xCB, 0x08, 0x13, 0x07, 0x00, 0x0F, 0x34), |
| 48 | PANEL_DCS(0xCC, 0x02, 0x03, 0x44), |
| 49 | PANEL_DCS(0xE9, 0xC4), |
| 50 | PANEL_DCS(0xD0, 0x03), |
| 51 | PANEL_DCS(0xE9, 0x3F), |
Ruihai Zhou | e81109a | 2024-01-19 10:14:30 +0800 | [diff] [blame] | 52 | PANEL_DCS(0xD1, 0x07, 0x06, 0x00, 0x02, 0x04, 0x2C, 0xFF), |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 53 | PANEL_DCS(0xD3, 0x06, 0x00, 0x00, 0x00, 0x00, 0x08, 0x08, 0x08, |
| 54 | 0x08, 0x37, 0x07, 0x64, 0x7C, 0x11, 0x11, 0x03, 0x03, 0x32, |
| 55 | 0x10, 0x0E, 0x00, 0x0E, 0x32, 0x17, 0x97, 0x07, 0x97, 0x32, |
| 56 | 0x00, 0x02, 0x00, 0x02, 0x00, 0x00), |
| 57 | PANEL_DCS(0xD5, 0x25, 0x24, 0x25, 0x24, 0x18, 0x18, 0x18, 0x18, |
| 58 | 0x07, 0x06, 0x07, 0x06, 0x05, 0x04, 0x05, 0x04, 0x03, 0x02, |
| 59 | 0x03, 0x02, 0x01, 0x00, 0x01, 0x00, 0xA8, 0xA8, 0xA8, 0xA8, |
| 60 | 0x29, 0x29, 0x29, 0x29, 0x21, 0x20, 0x21, 0x20, 0x18, 0x18, |
| 61 | 0x18, 0x18, 0x18, 0x18, 0x18, 0x18), |
| 62 | PANEL_DCS(0xD8, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, 0xAA, 0xAA, |
| 63 | 0xAA, 0xAA, 0xAA, 0xA0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 64 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 65 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00), |
| 66 | PANEL_DCS(0xE7, 0x07, 0x10, 0x10, 0x1A, 0x26, 0x9E, 0x00, 0x4F, |
| 67 | 0xA0, 0x14, 0x14, 0x00, 0x00, 0x00, 0x00, 0x12, 0x0A, 0x02, |
| 68 | 0x02, 0x00, 0x33, 0x02, 0x04, 0x18, 0x01), |
| 69 | PANEL_DCS(0xBD, 0x01), |
| 70 | PANEL_DCS(0xB1, 0x01, 0x7F, 0x11, 0xFD), |
| 71 | PANEL_DCS(0xCB, 0x86), |
| 72 | PANEL_DCS(0xD8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |
| 73 | 0x00, 0x00, 0x00, 0x00, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, |
| 74 | 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, 0x00, 0x00, 0x00, 0x00, |
| 75 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00), |
| 76 | PANEL_DCS(0xE7, 0x02, 0x00, 0x2B, 0x01, 0x7E, 0x0F, 0x7E, 0x10, |
| 77 | 0xA0, 0x00, 0x00, 0x77, 0x00, 0x00, 0x00), |
| 78 | PANEL_DCS(0xBD, 0x02), |
| 79 | PANEL_DCS(0xBF, 0xF2), |
| 80 | PANEL_DCS(0xCB, 0x03, 0x07, 0x00, 0x10, 0x79), |
| 81 | PANEL_DCS(0xD8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0xA0, 0xFF, 0xFF, |
| 82 | 0xFF, 0xFF, 0xFA, 0xA0), |
| 83 | PANEL_DCS(0xE7, 0xFE, 0x01, 0xFE, 0x01, 0xFE, 0x01, 0x00, 0x00, |
| 84 | 0x00, 0x23, 0x00, 0x23, 0x81, 0x02, 0x40, 0x00, 0x20, 0x6E, |
| 85 | 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00), |
| 86 | PANEL_DCS(0xBD, 0x03), |
| 87 | PANEL_DCS(0xD8, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, 0xAA, 0xAA, |
| 88 | 0xAA, 0xAA, 0xAA, 0xA0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0xA0, |
| 89 | 0xFF, 0xFF, 0xFF, 0xFF, 0xFA, 0xA0, 0xAA, 0xAA, 0xAA, 0xAA, |
| 90 | 0xAA, 0xA0, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xA0, 0x00, 0x00, |
| 91 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00), |
| 92 | PANEL_DCS(0xE9, 0xC6), |
| 93 | PANEL_DCS(0xB4, 0x03, 0xFF, 0xF8), |
| 94 | PANEL_DCS(0xE9, 0x3F), |
| 95 | PANEL_DCS(0xE1, 0x00), |
| 96 | PANEL_DCS(0xBD, 0x00), |
Ruihai Zhou | 520137f | 2024-01-08 16:01:32 +0800 | [diff] [blame] | 97 | PANEL_DCS(0xE9, 0xC4), |
| 98 | PANEL_DCS(0xBA, 0x96), |
| 99 | PANEL_DCS(0xE9, 0x3F), |
| 100 | PANEL_DCS(0xBD, 0x01), |
| 101 | PANEL_DCS(0xE9, 0xC5), |
| 102 | PANEL_DCS(0xBA, 0x4F), |
| 103 | PANEL_DCS(0xE9, 0x3F), |
| 104 | PANEL_DCS(0xBD, 0x00), |
| 105 | PANEL_DCS(0x11), |
| 106 | PANEL_DELAY(120), |
| 107 | PANEL_DCS(0x29), |
| 108 | PANEL_DELAY(20), |
| 109 | PANEL_END, |
| 110 | }, |
| 111 | }; |