mb/google/brya: Create rull variant
[coreboot2.git] / src / drivers / mipi / panel-KD_KD101NE3_40TI.c
blobf094f49f1b562d7c2b3e9932d184e915c8f4eb98
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <mipi/panel.h>
5 struct panel_serializable_data KD_KD101NE3_40TI = {
6 .edid = {
7 .ascii_string = "KD101NE3-40TI",
8 .manufacturer_name = "KD",
9 .panel_bits_per_color = 8,
10 .panel_bits_per_pixel = 24,
11 .mode = {
12 .pixel_clock = 70595,
13 .lvds_dual_channel = 0,
14 .refresh = 60,
15 .ha = 800, .hbl = 90, .hso = 30, .hspw = 30,
16 .va = 1280, .vbl = 42, .vso = 30, .vspw = 4,
17 .phsync = '-', .pvsync = '-',
18 .x_mm = 135, .y_mm = 216,
21 .init = {
22 PANEL_DELAY(24),
23 PANEL_DCS(0xE0, 0x00),
24 PANEL_DCS(0xE1, 0x93),
25 PANEL_DCS(0xE2, 0x65),
26 PANEL_DCS(0xE3, 0xF8),
27 PANEL_DCS(0x80, 0x03),
28 PANEL_DCS(0xE0, 0x01),
29 PANEL_DCS(0x0C, 0x74),
30 PANEL_DCS(0x17, 0x00),
31 PANEL_DCS(0x18, 0xC7),
32 PANEL_DCS(0x19, 0x01),
33 PANEL_DCS(0x1A, 0x00),
34 PANEL_DCS(0x1B, 0xC7),
35 PANEL_DCS(0x1C, 0x01),
36 PANEL_DCS(0x24, 0xFE),
37 PANEL_DCS(0x37, 0x19),
38 PANEL_DCS(0x35, 0x28),
39 PANEL_DCS(0x38, 0x05),
40 PANEL_DCS(0x39, 0x08),
41 PANEL_DCS(0x3A, 0x12),
42 PANEL_DCS(0x3C, 0x7E),
43 PANEL_DCS(0x3D, 0xFF),
44 PANEL_DCS(0x3E, 0xFF),
45 PANEL_DCS(0x3F, 0x7F),
46 PANEL_DCS(0x40, 0x06),
47 PANEL_DCS(0x41, 0xA0),
48 PANEL_DCS(0x43, 0x1E),
49 PANEL_DCS(0x44, 0x0B),
50 PANEL_DCS(0x55, 0x02),
51 PANEL_DCS(0x57, 0x6A),
52 PANEL_DCS(0x59, 0x0A),
53 PANEL_DCS(0x5A, 0x2E),
54 PANEL_DCS(0x5B, 0x1A),
55 PANEL_DCS(0x5C, 0x15),
56 PANEL_DCS(0x5D, 0x7F),
57 PANEL_DCS(0x5E, 0x61),
58 PANEL_DCS(0x5F, 0x50),
59 PANEL_DCS(0x60, 0x43),
60 PANEL_DCS(0x61, 0x3F),
61 PANEL_DCS(0x62, 0x32),
62 PANEL_DCS(0x63, 0x35),
63 PANEL_DCS(0x64, 0x1F),
64 PANEL_DCS(0x65, 0x38),
65 PANEL_DCS(0x66, 0x36),
66 PANEL_DCS(0x67, 0x36),
67 PANEL_DCS(0x68, 0x54),
68 PANEL_DCS(0x69, 0x42),
69 PANEL_DCS(0x6A, 0x48),
70 PANEL_DCS(0x6B, 0x39),
71 PANEL_DCS(0x6C, 0x34),
72 PANEL_DCS(0x6D, 0x26),
73 PANEL_DCS(0x6E, 0x14),
74 PANEL_DCS(0x6F, 0x02),
75 PANEL_DCS(0x70, 0x7F),
76 PANEL_DCS(0x71, 0x61),
77 PANEL_DCS(0x72, 0x50),
78 PANEL_DCS(0x73, 0x43),
79 PANEL_DCS(0x74, 0x3F),
80 PANEL_DCS(0x75, 0x32),
81 PANEL_DCS(0x76, 0x35),
82 PANEL_DCS(0x77, 0x1F),
83 PANEL_DCS(0x78, 0x38),
84 PANEL_DCS(0x79, 0x36),
85 PANEL_DCS(0x7A, 0x36),
86 PANEL_DCS(0x7B, 0x54),
87 PANEL_DCS(0x7C, 0x42),
88 PANEL_DCS(0x7D, 0x48),
89 PANEL_DCS(0x7E, 0x39),
90 PANEL_DCS(0x7F, 0x34),
91 PANEL_DCS(0x80, 0x26),
92 PANEL_DCS(0x81, 0x14),
93 PANEL_DCS(0x82, 0x02),
94 PANEL_DCS(0xE0, 0x02),
95 PANEL_DCS(0x00, 0x52),
96 PANEL_DCS(0x01, 0x5F),
97 PANEL_DCS(0x02, 0x5F),
98 PANEL_DCS(0x03, 0x50),
99 PANEL_DCS(0x04, 0x77),
100 PANEL_DCS(0x05, 0x57),
101 PANEL_DCS(0x06, 0x5F),
102 PANEL_DCS(0x07, 0x4E),
103 PANEL_DCS(0x08, 0x4C),
104 PANEL_DCS(0x09, 0x5F),
105 PANEL_DCS(0x0A, 0x4A),
106 PANEL_DCS(0x0B, 0x48),
107 PANEL_DCS(0x0C, 0x5F),
108 PANEL_DCS(0x0D, 0x46),
109 PANEL_DCS(0x0E, 0x44),
110 PANEL_DCS(0x0F, 0x40),
111 PANEL_DCS(0x10, 0x5F),
112 PANEL_DCS(0x11, 0x5F),
113 PANEL_DCS(0x12, 0x5F),
114 PANEL_DCS(0x13, 0x5F),
115 PANEL_DCS(0x14, 0x5F),
116 PANEL_DCS(0x15, 0x5F),
117 PANEL_DCS(0x16, 0x53),
118 PANEL_DCS(0x17, 0x5F),
119 PANEL_DCS(0x18, 0x5F),
120 PANEL_DCS(0x19, 0x51),
121 PANEL_DCS(0x1A, 0x77),
122 PANEL_DCS(0x1B, 0x57),
123 PANEL_DCS(0x1C, 0x5F),
124 PANEL_DCS(0x1D, 0x4F),
125 PANEL_DCS(0x1E, 0x4D),
126 PANEL_DCS(0x1F, 0x5F),
127 PANEL_DCS(0x20, 0x4B),
128 PANEL_DCS(0x21, 0x49),
129 PANEL_DCS(0x22, 0x5F),
130 PANEL_DCS(0x23, 0x47),
131 PANEL_DCS(0x24, 0x45),
132 PANEL_DCS(0x25, 0x41),
133 PANEL_DCS(0x26, 0x5F),
134 PANEL_DCS(0x27, 0x5F),
135 PANEL_DCS(0x28, 0x5F),
136 PANEL_DCS(0x29, 0x5F),
137 PANEL_DCS(0x2A, 0x5F),
138 PANEL_DCS(0x2B, 0x5F),
139 PANEL_DCS(0x2C, 0x13),
140 PANEL_DCS(0x2D, 0x1F),
141 PANEL_DCS(0x2E, 0x1F),
142 PANEL_DCS(0x2F, 0x01),
143 PANEL_DCS(0x30, 0x17),
144 PANEL_DCS(0x31, 0x17),
145 PANEL_DCS(0x32, 0x1F),
146 PANEL_DCS(0x33, 0x0D),
147 PANEL_DCS(0x34, 0x0F),
148 PANEL_DCS(0x35, 0x1F),
149 PANEL_DCS(0x36, 0x05),
150 PANEL_DCS(0x37, 0x07),
151 PANEL_DCS(0x38, 0x1F),
152 PANEL_DCS(0x39, 0x09),
153 PANEL_DCS(0x3A, 0x0B),
154 PANEL_DCS(0x3B, 0x11),
155 PANEL_DCS(0x3C, 0x1F),
156 PANEL_DCS(0x3D, 0x1F),
157 PANEL_DCS(0x3E, 0x1F),
158 PANEL_DCS(0x3F, 0x1F),
159 PANEL_DCS(0x40, 0x1F),
160 PANEL_DCS(0x41, 0x1F),
161 PANEL_DCS(0x42, 0x12),
162 PANEL_DCS(0x43, 0x1F),
163 PANEL_DCS(0x44, 0x1F),
164 PANEL_DCS(0x45, 0x00),
165 PANEL_DCS(0x46, 0x17),
166 PANEL_DCS(0x47, 0x17),
167 PANEL_DCS(0x48, 0x1F),
168 PANEL_DCS(0x49, 0x0C),
169 PANEL_DCS(0x4A, 0x0E),
170 PANEL_DCS(0x4B, 0x1F),
171 PANEL_DCS(0x4C, 0x04),
172 PANEL_DCS(0x4D, 0x06),
173 PANEL_DCS(0x4E, 0x1F),
174 PANEL_DCS(0x4F, 0x08),
175 PANEL_DCS(0x50, 0x0A),
176 PANEL_DCS(0x51, 0x10),
177 PANEL_DCS(0x52, 0x1F),
178 PANEL_DCS(0x53, 0x1F),
179 PANEL_DCS(0x54, 0x1F),
180 PANEL_DCS(0x55, 0x1F),
181 PANEL_DCS(0x56, 0x1F),
182 PANEL_DCS(0x57, 0x1F),
183 PANEL_DCS(0x58, 0x40),
184 PANEL_DCS(0x5B, 0x10),
185 PANEL_DCS(0x5C, 0x06),
186 PANEL_DCS(0x5D, 0x40),
187 PANEL_DCS(0x5E, 0x00),
188 PANEL_DCS(0x5F, 0x00),
189 PANEL_DCS(0x60, 0x40),
190 PANEL_DCS(0x61, 0x03),
191 PANEL_DCS(0x62, 0x04),
192 PANEL_DCS(0x63, 0x6C),
193 PANEL_DCS(0x64, 0x6C),
194 PANEL_DCS(0x65, 0x75),
195 PANEL_DCS(0x66, 0x08),
196 PANEL_DCS(0x67, 0xB4),
197 PANEL_DCS(0x68, 0x08),
198 PANEL_DCS(0x69, 0x6C),
199 PANEL_DCS(0x6A, 0x6C),
200 PANEL_DCS(0x6B, 0x0C),
201 PANEL_DCS(0x6D, 0x00),
202 PANEL_DCS(0x6E, 0x00),
203 PANEL_DCS(0x6F, 0x88),
204 PANEL_DCS(0x75, 0xBB),
205 PANEL_DCS(0x76, 0x00),
206 PANEL_DCS(0x77, 0x05),
207 PANEL_DCS(0x78, 0x2A),
208 PANEL_DCS(0xE0, 0x04),
209 PANEL_DCS(0x00, 0x0E),
210 PANEL_DCS(0x02, 0xB3),
211 PANEL_DCS(0x09, 0x61),
212 PANEL_DCS(0x0E, 0x48),
213 PANEL_DCS(0xE0, 0x00),
214 PANEL_DCS(0x11),
215 PANEL_DELAY(120),
216 PANEL_DCS(0x29),
217 PANEL_DELAY(20),
218 PANEL_END,