Lines Matching +full:mipi +full:- +full:dsi1
1 // SPDX-License-Identifier: GPL-2.0-only
26 #define mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, cmd, seq...) \ argument
29 mipi_dsi_dcs_write_seq(dsi1, cmd, seq); \
68 struct mipi_dsi_device *dsi0 = pinfo->dsi[0]; in elish_boe_init_sequence()
69 struct mipi_dsi_device *dsi1 = pinfo->dsi[1]; in elish_boe_init_sequence() local
71 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_boe_init_sequence()
72 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
73 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb9, 0x05); in elish_boe_init_sequence()
74 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x20); in elish_boe_init_sequence()
75 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
76 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x18, 0x40); in elish_boe_init_sequence()
77 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_boe_init_sequence()
78 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
79 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb9, 0x02); in elish_boe_init_sequence()
80 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x23); in elish_boe_init_sequence()
81 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
82 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x00, 0x80); in elish_boe_init_sequence()
83 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x01, 0x84); in elish_boe_init_sequence()
84 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x05, 0x2d); in elish_boe_init_sequence()
85 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x06, 0x00); in elish_boe_init_sequence()
86 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x07, 0x00); in elish_boe_init_sequence()
87 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x08, 0x01); in elish_boe_init_sequence()
88 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x09, 0x45); in elish_boe_init_sequence()
89 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x11, 0x02); in elish_boe_init_sequence()
90 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x12, 0x80); in elish_boe_init_sequence()
91 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x15, 0x83); in elish_boe_init_sequence()
92 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x16, 0x0c); in elish_boe_init_sequence()
93 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x29, 0x0a); in elish_boe_init_sequence()
94 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x30, 0xff); in elish_boe_init_sequence()
95 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x31, 0xfe); in elish_boe_init_sequence()
96 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x32, 0xfd); in elish_boe_init_sequence()
97 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x33, 0xfb); in elish_boe_init_sequence()
98 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x34, 0xf8); in elish_boe_init_sequence()
99 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x35, 0xf5); in elish_boe_init_sequence()
100 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x36, 0xf3); in elish_boe_init_sequence()
101 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x37, 0xf2); in elish_boe_init_sequence()
102 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x38, 0xf2); in elish_boe_init_sequence()
103 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x39, 0xf2); in elish_boe_init_sequence()
104 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3a, 0xef); in elish_boe_init_sequence()
105 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3b, 0xec); in elish_boe_init_sequence()
106 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3d, 0xe9); in elish_boe_init_sequence()
107 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3f, 0xe5); in elish_boe_init_sequence()
108 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x40, 0xe5); in elish_boe_init_sequence()
109 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x41, 0xe5); in elish_boe_init_sequence()
110 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2a, 0x13); in elish_boe_init_sequence()
111 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x45, 0xff); in elish_boe_init_sequence()
112 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x46, 0xf4); in elish_boe_init_sequence()
113 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x47, 0xe7); in elish_boe_init_sequence()
114 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x48, 0xda); in elish_boe_init_sequence()
115 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x49, 0xcd); in elish_boe_init_sequence()
116 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4a, 0xc0); in elish_boe_init_sequence()
117 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4b, 0xb3); in elish_boe_init_sequence()
118 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4c, 0xb2); in elish_boe_init_sequence()
119 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4d, 0xb2); in elish_boe_init_sequence()
120 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4e, 0xb2); in elish_boe_init_sequence()
121 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4f, 0x99); in elish_boe_init_sequence()
122 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x50, 0x80); in elish_boe_init_sequence()
123 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x51, 0x68); in elish_boe_init_sequence()
124 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x52, 0x66); in elish_boe_init_sequence()
125 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x53, 0x66); in elish_boe_init_sequence()
126 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x54, 0x66); in elish_boe_init_sequence()
127 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2b, 0x0e); in elish_boe_init_sequence()
128 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x58, 0xff); in elish_boe_init_sequence()
129 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x59, 0xfb); in elish_boe_init_sequence()
130 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5a, 0xf7); in elish_boe_init_sequence()
131 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5b, 0xf3); in elish_boe_init_sequence()
132 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5c, 0xef); in elish_boe_init_sequence()
133 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5d, 0xe3); in elish_boe_init_sequence()
134 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5e, 0xda); in elish_boe_init_sequence()
135 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5f, 0xd8); in elish_boe_init_sequence()
136 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x60, 0xd8); in elish_boe_init_sequence()
137 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x61, 0xd8); in elish_boe_init_sequence()
138 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x62, 0xcb); in elish_boe_init_sequence()
139 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x63, 0xbf); in elish_boe_init_sequence()
140 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x64, 0xb3); in elish_boe_init_sequence()
141 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x65, 0xb2); in elish_boe_init_sequence()
142 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x66, 0xb2); in elish_boe_init_sequence()
143 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x67, 0xb2); in elish_boe_init_sequence()
144 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x2a); in elish_boe_init_sequence()
145 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
146 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x25, 0x47); in elish_boe_init_sequence()
147 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x30, 0x47); in elish_boe_init_sequence()
148 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x39, 0x47); in elish_boe_init_sequence()
149 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x26); in elish_boe_init_sequence()
150 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
151 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x19, 0x10); in elish_boe_init_sequence()
152 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1a, 0xe0); in elish_boe_init_sequence()
153 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1b, 0x10); in elish_boe_init_sequence()
154 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1c, 0x00); in elish_boe_init_sequence()
155 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2a, 0x10); in elish_boe_init_sequence()
156 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2b, 0xe0); in elish_boe_init_sequence()
157 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_boe_init_sequence()
158 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
159 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xf0); in elish_boe_init_sequence()
160 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
161 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x84, 0x08); in elish_boe_init_sequence()
162 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x85, 0x0c); in elish_boe_init_sequence()
163 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x20); in elish_boe_init_sequence()
164 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
165 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x51, 0x00); in elish_boe_init_sequence()
166 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x25); in elish_boe_init_sequence()
167 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
168 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x91, 0x1f); in elish_boe_init_sequence()
169 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x92, 0x0f); in elish_boe_init_sequence()
170 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x93, 0x01); in elish_boe_init_sequence()
171 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x94, 0x18); in elish_boe_init_sequence()
172 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x95, 0x03); in elish_boe_init_sequence()
173 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x96, 0x01); in elish_boe_init_sequence()
174 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_boe_init_sequence()
175 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb0, 0x01); in elish_boe_init_sequence()
176 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x25); in elish_boe_init_sequence()
177 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
178 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x19, 0x1f); in elish_boe_init_sequence()
179 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1b, 0x1b); in elish_boe_init_sequence()
180 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x24); in elish_boe_init_sequence()
181 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
182 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb8, 0x28); in elish_boe_init_sequence()
183 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x27); in elish_boe_init_sequence()
184 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
185 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd0, 0x31); in elish_boe_init_sequence()
186 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd1, 0x20); in elish_boe_init_sequence()
187 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd2, 0x30); in elish_boe_init_sequence()
188 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd4, 0x08); in elish_boe_init_sequence()
189 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xde, 0x80); in elish_boe_init_sequence()
190 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xdf, 0x02); in elish_boe_init_sequence()
191 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x26); in elish_boe_init_sequence()
192 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
193 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x00, 0x81); in elish_boe_init_sequence()
194 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x01, 0xb0); in elish_boe_init_sequence()
195 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x22); in elish_boe_init_sequence()
196 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
197 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9f, 0x50); in elish_boe_init_sequence()
198 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x6f, 0x01); in elish_boe_init_sequence()
199 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x70, 0x11); in elish_boe_init_sequence()
200 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x73, 0x01); in elish_boe_init_sequence()
201 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x74, 0x49); in elish_boe_init_sequence()
202 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x76, 0x01); in elish_boe_init_sequence()
203 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x77, 0x49); in elish_boe_init_sequence()
204 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xa0, 0x3f); in elish_boe_init_sequence()
205 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xa9, 0x50); in elish_boe_init_sequence()
206 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xaa, 0x28); in elish_boe_init_sequence()
207 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xab, 0x28); in elish_boe_init_sequence()
208 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xad, 0x10); in elish_boe_init_sequence()
209 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb8, 0x00); in elish_boe_init_sequence()
210 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb9, 0x49); in elish_boe_init_sequence()
211 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xba, 0x49); in elish_boe_init_sequence()
212 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbb, 0x49); in elish_boe_init_sequence()
213 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbe, 0x04); in elish_boe_init_sequence()
214 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbf, 0x49); in elish_boe_init_sequence()
215 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc0, 0x04); in elish_boe_init_sequence()
216 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc1, 0x59); in elish_boe_init_sequence()
217 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc2, 0x00); in elish_boe_init_sequence()
218 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc5, 0x00); in elish_boe_init_sequence()
219 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc6, 0x01); in elish_boe_init_sequence()
220 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc7, 0x48); in elish_boe_init_sequence()
221 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xca, 0x43); in elish_boe_init_sequence()
222 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xcb, 0x3c); in elish_boe_init_sequence()
223 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xce, 0x00); in elish_boe_init_sequence()
224 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xcf, 0x43); in elish_boe_init_sequence()
225 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd0, 0x3c); in elish_boe_init_sequence()
226 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd3, 0x43); in elish_boe_init_sequence()
227 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd4, 0x3c); in elish_boe_init_sequence()
228 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd7, 0x00); in elish_boe_init_sequence()
229 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xdc, 0x43); in elish_boe_init_sequence()
230 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xdd, 0x3c); in elish_boe_init_sequence()
231 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xe1, 0x43); in elish_boe_init_sequence()
232 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xe2, 0x3c); in elish_boe_init_sequence()
233 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xf2, 0x00); in elish_boe_init_sequence()
234 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xf3, 0x01); in elish_boe_init_sequence()
235 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xf4, 0x48); in elish_boe_init_sequence()
236 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x25); in elish_boe_init_sequence()
237 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
238 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x13, 0x01); in elish_boe_init_sequence()
239 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x14, 0x23); in elish_boe_init_sequence()
240 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbc, 0x01); in elish_boe_init_sequence()
241 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbd, 0x23); in elish_boe_init_sequence()
242 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x2a); in elish_boe_init_sequence()
243 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
244 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x97, 0x3c); in elish_boe_init_sequence()
245 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x98, 0x02); in elish_boe_init_sequence()
246 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x99, 0x95); in elish_boe_init_sequence()
247 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9a, 0x03); in elish_boe_init_sequence()
248 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9b, 0x00); in elish_boe_init_sequence()
249 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9c, 0x0b); in elish_boe_init_sequence()
250 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9d, 0x0a); in elish_boe_init_sequence()
251 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9e, 0x90); in elish_boe_init_sequence()
252 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x22); in elish_boe_init_sequence()
253 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
254 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9f, 0x50); in elish_boe_init_sequence()
255 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x23); in elish_boe_init_sequence()
256 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
257 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xa3, 0x50); in elish_boe_init_sequence()
258 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xe0); in elish_boe_init_sequence()
259 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
260 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x14, 0x60); in elish_boe_init_sequence()
261 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x16, 0xc0); in elish_boe_init_sequence()
262 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4f, 0x02); in elish_boe_init_sequence()
263 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xf0); in elish_boe_init_sequence()
264 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
265 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3a, 0x08); in elish_boe_init_sequence()
266 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xd0); in elish_boe_init_sequence()
267 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
268 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x02, 0xaf); in elish_boe_init_sequence()
269 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x09, 0xee); in elish_boe_init_sequence()
270 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1c, 0x99); in elish_boe_init_sequence()
271 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1d, 0x09); in elish_boe_init_sequence()
272 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_boe_init_sequence()
273 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_boe_init_sequence()
274 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x51, 0x0f, 0xff); in elish_boe_init_sequence()
275 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x53, 0x2c); in elish_boe_init_sequence()
276 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x35, 0x00); in elish_boe_init_sequence()
277 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbb, 0x13); in elish_boe_init_sequence()
278 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3b, 0x03, 0xac, 0x1a, 0x04, 0x04); in elish_boe_init_sequence()
279 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x11); in elish_boe_init_sequence()
281 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x29); in elish_boe_init_sequence()
288 struct mipi_dsi_device *dsi0 = pinfo->dsi[0]; in elish_csot_init_sequence()
289 struct mipi_dsi_device *dsi1 = pinfo->dsi[1]; in elish_csot_init_sequence() local
291 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_csot_init_sequence()
292 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
293 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb9, 0x05); in elish_csot_init_sequence()
294 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x20); in elish_csot_init_sequence()
295 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
296 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x18, 0x40); in elish_csot_init_sequence()
297 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_csot_init_sequence()
298 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
299 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb9, 0x02); in elish_csot_init_sequence()
300 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xd0); in elish_csot_init_sequence()
301 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
302 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x02, 0xaf); in elish_csot_init_sequence()
303 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x00, 0x30); in elish_csot_init_sequence()
304 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x09, 0xee); in elish_csot_init_sequence()
305 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1c, 0x99); in elish_csot_init_sequence()
306 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1d, 0x09); in elish_csot_init_sequence()
307 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xf0); in elish_csot_init_sequence()
308 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
309 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3a, 0x08); in elish_csot_init_sequence()
310 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xe0); in elish_csot_init_sequence()
311 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
312 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4f, 0x02); in elish_csot_init_sequence()
313 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x20); in elish_csot_init_sequence()
314 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
315 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x58, 0x40); in elish_csot_init_sequence()
316 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_csot_init_sequence()
317 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
318 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x35, 0x00); in elish_csot_init_sequence()
319 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x23); in elish_csot_init_sequence()
320 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
321 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x00, 0x80); in elish_csot_init_sequence()
322 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x01, 0x84); in elish_csot_init_sequence()
323 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x05, 0x2d); in elish_csot_init_sequence()
324 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x06, 0x00); in elish_csot_init_sequence()
325 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x07, 0x00); in elish_csot_init_sequence()
326 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x08, 0x01); in elish_csot_init_sequence()
327 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x09, 0x45); in elish_csot_init_sequence()
328 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x11, 0x02); in elish_csot_init_sequence()
329 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x12, 0x80); in elish_csot_init_sequence()
330 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x15, 0x83); in elish_csot_init_sequence()
331 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x16, 0x0c); in elish_csot_init_sequence()
332 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x29, 0x0a); in elish_csot_init_sequence()
333 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x30, 0xff); in elish_csot_init_sequence()
334 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x31, 0xfe); in elish_csot_init_sequence()
335 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x32, 0xfd); in elish_csot_init_sequence()
336 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x33, 0xfb); in elish_csot_init_sequence()
337 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x34, 0xf8); in elish_csot_init_sequence()
338 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x35, 0xf5); in elish_csot_init_sequence()
339 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x36, 0xf3); in elish_csot_init_sequence()
340 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x37, 0xf2); in elish_csot_init_sequence()
341 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x38, 0xf2); in elish_csot_init_sequence()
342 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x39, 0xf2); in elish_csot_init_sequence()
343 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3a, 0xef); in elish_csot_init_sequence()
344 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3b, 0xec); in elish_csot_init_sequence()
345 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3d, 0xe9); in elish_csot_init_sequence()
346 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3f, 0xe5); in elish_csot_init_sequence()
347 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x40, 0xe5); in elish_csot_init_sequence()
348 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x41, 0xe5); in elish_csot_init_sequence()
349 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2a, 0x13); in elish_csot_init_sequence()
350 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x45, 0xff); in elish_csot_init_sequence()
351 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x46, 0xf4); in elish_csot_init_sequence()
352 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x47, 0xe7); in elish_csot_init_sequence()
353 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x48, 0xda); in elish_csot_init_sequence()
354 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x49, 0xcd); in elish_csot_init_sequence()
355 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4a, 0xc0); in elish_csot_init_sequence()
356 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4b, 0xb3); in elish_csot_init_sequence()
357 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4c, 0xb2); in elish_csot_init_sequence()
358 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4d, 0xb2); in elish_csot_init_sequence()
359 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4e, 0xb2); in elish_csot_init_sequence()
360 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x4f, 0x99); in elish_csot_init_sequence()
361 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x50, 0x80); in elish_csot_init_sequence()
362 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x51, 0x68); in elish_csot_init_sequence()
363 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x52, 0x66); in elish_csot_init_sequence()
364 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x53, 0x66); in elish_csot_init_sequence()
365 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x54, 0x66); in elish_csot_init_sequence()
366 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2b, 0x0e); in elish_csot_init_sequence()
367 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x58, 0xff); in elish_csot_init_sequence()
368 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x59, 0xfb); in elish_csot_init_sequence()
369 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5a, 0xf7); in elish_csot_init_sequence()
370 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5b, 0xf3); in elish_csot_init_sequence()
371 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5c, 0xef); in elish_csot_init_sequence()
372 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5d, 0xe3); in elish_csot_init_sequence()
373 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5e, 0xda); in elish_csot_init_sequence()
374 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x5f, 0xd8); in elish_csot_init_sequence()
375 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x60, 0xd8); in elish_csot_init_sequence()
376 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x61, 0xd8); in elish_csot_init_sequence()
377 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x62, 0xcb); in elish_csot_init_sequence()
378 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x63, 0xbf); in elish_csot_init_sequence()
379 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x64, 0xb3); in elish_csot_init_sequence()
380 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x65, 0xb2); in elish_csot_init_sequence()
381 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x66, 0xb2); in elish_csot_init_sequence()
382 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x67, 0xb2); in elish_csot_init_sequence()
383 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_csot_init_sequence()
384 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
385 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x51, 0x0f, 0xff); in elish_csot_init_sequence()
386 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x53, 0x2c); in elish_csot_init_sequence()
387 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x55, 0x00); in elish_csot_init_sequence()
388 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbb, 0x13); in elish_csot_init_sequence()
389 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x3b, 0x03, 0xac, 0x1a, 0x04, 0x04); in elish_csot_init_sequence()
390 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x2a); in elish_csot_init_sequence()
391 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
392 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x25, 0x46); in elish_csot_init_sequence()
393 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x30, 0x46); in elish_csot_init_sequence()
394 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x39, 0x46); in elish_csot_init_sequence()
395 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x26); in elish_csot_init_sequence()
396 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
397 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x01, 0xb0); in elish_csot_init_sequence()
398 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x19, 0x10); in elish_csot_init_sequence()
399 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1a, 0xe0); in elish_csot_init_sequence()
400 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1b, 0x10); in elish_csot_init_sequence()
401 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1c, 0x00); in elish_csot_init_sequence()
402 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2a, 0x10); in elish_csot_init_sequence()
403 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x2b, 0xe0); in elish_csot_init_sequence()
404 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0xf0); in elish_csot_init_sequence()
405 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
406 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x84, 0x08); in elish_csot_init_sequence()
407 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x85, 0x0c); in elish_csot_init_sequence()
408 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x20); in elish_csot_init_sequence()
409 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
410 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x51, 0x00); in elish_csot_init_sequence()
411 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x25); in elish_csot_init_sequence()
412 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
413 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x91, 0x1f); in elish_csot_init_sequence()
414 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x92, 0x0f); in elish_csot_init_sequence()
415 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x93, 0x01); in elish_csot_init_sequence()
416 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x94, 0x18); in elish_csot_init_sequence()
417 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x95, 0x03); in elish_csot_init_sequence()
418 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x96, 0x01); in elish_csot_init_sequence()
419 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_csot_init_sequence()
420 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb0, 0x01); in elish_csot_init_sequence()
421 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x25); in elish_csot_init_sequence()
422 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
423 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x19, 0x1f); in elish_csot_init_sequence()
424 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x1b, 0x1b); in elish_csot_init_sequence()
425 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x24); in elish_csot_init_sequence()
426 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
427 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb8, 0x28); in elish_csot_init_sequence()
428 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x27); in elish_csot_init_sequence()
429 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
430 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd0, 0x31); in elish_csot_init_sequence()
431 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd1, 0x20); in elish_csot_init_sequence()
432 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd4, 0x08); in elish_csot_init_sequence()
433 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xde, 0x80); in elish_csot_init_sequence()
434 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xdf, 0x02); in elish_csot_init_sequence()
435 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x26); in elish_csot_init_sequence()
436 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
437 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x00, 0x81); in elish_csot_init_sequence()
438 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x01, 0xb0); in elish_csot_init_sequence()
439 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x22); in elish_csot_init_sequence()
440 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
441 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x6f, 0x01); in elish_csot_init_sequence()
442 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x70, 0x11); in elish_csot_init_sequence()
443 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x73, 0x01); in elish_csot_init_sequence()
444 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x74, 0x4d); in elish_csot_init_sequence()
445 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xa0, 0x3f); in elish_csot_init_sequence()
446 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xa9, 0x50); in elish_csot_init_sequence()
447 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xaa, 0x28); in elish_csot_init_sequence()
448 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xab, 0x28); in elish_csot_init_sequence()
449 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xad, 0x10); in elish_csot_init_sequence()
450 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb8, 0x00); in elish_csot_init_sequence()
451 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xb9, 0x4b); in elish_csot_init_sequence()
452 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xba, 0x96); in elish_csot_init_sequence()
453 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbb, 0x4b); in elish_csot_init_sequence()
454 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbe, 0x07); in elish_csot_init_sequence()
455 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbf, 0x4b); in elish_csot_init_sequence()
456 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc0, 0x07); in elish_csot_init_sequence()
457 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc1, 0x5c); in elish_csot_init_sequence()
458 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc2, 0x00); in elish_csot_init_sequence()
459 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc5, 0x00); in elish_csot_init_sequence()
460 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc6, 0x3f); in elish_csot_init_sequence()
461 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xc7, 0x00); in elish_csot_init_sequence()
462 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xca, 0x08); in elish_csot_init_sequence()
463 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xcb, 0x40); in elish_csot_init_sequence()
464 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xce, 0x00); in elish_csot_init_sequence()
465 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xcf, 0x08); in elish_csot_init_sequence()
466 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd0, 0x40); in elish_csot_init_sequence()
467 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd3, 0x08); in elish_csot_init_sequence()
468 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xd4, 0x40); in elish_csot_init_sequence()
469 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x25); in elish_csot_init_sequence()
470 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
471 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbc, 0x01); in elish_csot_init_sequence()
472 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xbd, 0x1c); in elish_csot_init_sequence()
473 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x2a); in elish_csot_init_sequence()
474 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xfb, 0x01); in elish_csot_init_sequence()
475 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x9a, 0x03); in elish_csot_init_sequence()
476 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0xff, 0x10); in elish_csot_init_sequence()
477 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x11); in elish_csot_init_sequence()
479 mipi_dsi_dual_dcs_write_seq(dsi0, dsi1, 0x29); in elish_csot_init_sequence()
486 struct mipi_dsi_device *dsi = pinfo->dsi[0]; in j606f_boe_init_sequence()
487 struct device *dev = &dsi->dev; in j606f_boe_init_sequence()
982 .type = "BOE-elish",
1000 .type = "CSOT-elish",
1030 gpiod_set_value_cansleep(pinfo->reset_gpio, 1); in nt36523_reset()
1032 gpiod_set_value_cansleep(pinfo->reset_gpio, 0); in nt36523_reset()
1034 gpiod_set_value_cansleep(pinfo->reset_gpio, 1); in nt36523_reset()
1036 gpiod_set_value_cansleep(pinfo->reset_gpio, 0); in nt36523_reset()
1045 ret = regulator_enable(pinfo->vddio); in nt36523_prepare()
1047 dev_err(panel->dev, "failed to enable vddio regulator: %d\n", ret); in nt36523_prepare()
1053 ret = pinfo->desc->init_sequence(pinfo); in nt36523_prepare()
1055 regulator_disable(pinfo->vddio); in nt36523_prepare()
1056 dev_err(panel->dev, "failed to initialize panel: %d\n", ret); in nt36523_prepare()
1068 for (i = 0; i < DSI_NUM_MIN + pinfo->desc->is_dual_dsi; i++) { in nt36523_disable()
1069 ret = mipi_dsi_dcs_set_display_off(pinfo->dsi[i]); in nt36523_disable()
1071 dev_err(&pinfo->dsi[i]->dev, "failed to set display off: %d\n", ret); in nt36523_disable()
1074 for (i = 0; i < DSI_NUM_MIN + pinfo->desc->is_dual_dsi; i++) { in nt36523_disable()
1075 ret = mipi_dsi_dcs_enter_sleep_mode(pinfo->dsi[i]); in nt36523_disable()
1077 dev_err(&pinfo->dsi[i]->dev, "failed to enter sleep mode: %d\n", ret); in nt36523_disable()
1089 gpiod_set_value_cansleep(pinfo->reset_gpio, 1); in nt36523_unprepare()
1090 regulator_disable(pinfo->vddio); in nt36523_unprepare()
1100 ret = mipi_dsi_detach(pinfo->dsi[0]); in nt36523_remove()
1102 dev_err(&dsi->dev, "failed to detach from DSI0 host: %d\n", ret); in nt36523_remove()
1104 if (pinfo->desc->is_dual_dsi) { in nt36523_remove()
1105 ret = mipi_dsi_detach(pinfo->dsi[1]); in nt36523_remove()
1107 dev_err(&pinfo->dsi[1]->dev, "failed to detach from DSI1 host: %d\n", ret); in nt36523_remove()
1108 mipi_dsi_device_unregister(pinfo->dsi[1]); in nt36523_remove()
1111 drm_panel_remove(&pinfo->panel); in nt36523_remove()
1120 for (i = 0; i < pinfo->desc->num_modes; i++) { in nt36523_get_modes()
1121 const struct drm_display_mode *m = &pinfo->desc->modes[i]; in nt36523_get_modes()
1124 mode = drm_mode_duplicate(connector->dev, m); in nt36523_get_modes()
1126 dev_err(panel->dev, "failed to add mode %ux%u@%u\n", in nt36523_get_modes()
1127 m->hdisplay, m->vdisplay, drm_mode_vrefresh(m)); in nt36523_get_modes()
1128 return -ENOMEM; in nt36523_get_modes()
1131 mode->type = DRM_MODE_TYPE_DRIVER; in nt36523_get_modes()
1133 mode->type |= DRM_MODE_TYPE_PREFERRED; in nt36523_get_modes()
1139 connector->display_info.width_mm = pinfo->desc->width_mm; in nt36523_get_modes()
1140 connector->display_info.height_mm = pinfo->desc->height_mm; in nt36523_get_modes()
1141 connector->display_info.bpc = pinfo->desc->bpc; in nt36523_get_modes()
1143 return pinfo->desc->num_modes; in nt36523_get_modes()
1150 return pinfo->orientation; in nt36523_get_orientation()
1167 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in nt36523_bl_update_status()
1173 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in nt36523_bl_update_status()
1184 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in nt36523_bl_get_brightness()
1190 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in nt36523_bl_get_brightness()
1202 struct device *dev = &dsi->dev; in nt36523_create_backlight()
1216 struct device *dev = &dsi->dev; in nt36523_probe()
1217 struct device_node *dsi1; in nt36523_probe() local
1225 return -ENOMEM; in nt36523_probe()
1227 pinfo->vddio = devm_regulator_get(dev, "vddio"); in nt36523_probe()
1228 if (IS_ERR(pinfo->vddio)) in nt36523_probe()
1229 return dev_err_probe(dev, PTR_ERR(pinfo->vddio), "failed to get vddio regulator\n"); in nt36523_probe()
1231 pinfo->reset_gpio = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in nt36523_probe()
1232 if (IS_ERR(pinfo->reset_gpio)) in nt36523_probe()
1233 return dev_err_probe(dev, PTR_ERR(pinfo->reset_gpio), "failed to get reset gpio\n"); in nt36523_probe()
1235 pinfo->desc = of_device_get_match_data(dev); in nt36523_probe()
1236 if (!pinfo->desc) in nt36523_probe()
1237 return -ENODEV; in nt36523_probe()
1239 /* If the panel is dual dsi, register DSI1 */ in nt36523_probe()
1240 if (pinfo->desc->is_dual_dsi) { in nt36523_probe()
1241 info = &pinfo->desc->dsi_info; in nt36523_probe()
1243 dsi1 = of_graph_get_remote_node(dsi->dev.of_node, 1, -1); in nt36523_probe()
1244 if (!dsi1) { in nt36523_probe()
1246 return -ENODEV; in nt36523_probe()
1249 dsi1_host = of_find_mipi_dsi_host_by_node(dsi1); in nt36523_probe()
1250 of_node_put(dsi1); in nt36523_probe()
1252 return dev_err_probe(dev, -EPROBE_DEFER, "cannot get secondary DSI host\n"); in nt36523_probe()
1254 pinfo->dsi[1] = mipi_dsi_device_register_full(dsi1_host, info); in nt36523_probe()
1255 if (IS_ERR(pinfo->dsi[1])) { in nt36523_probe()
1257 return PTR_ERR(pinfo->dsi[1]); in nt36523_probe()
1261 pinfo->dsi[0] = dsi; in nt36523_probe()
1263 drm_panel_init(&pinfo->panel, dev, &nt36523_panel_funcs, DRM_MODE_CONNECTOR_DSI); in nt36523_probe()
1265 ret = of_drm_get_panel_orientation(dev->of_node, &pinfo->orientation); in nt36523_probe()
1267 dev_err(dev, "%pOF: failed to get orientation %d\n", dev->of_node, ret); in nt36523_probe()
1271 pinfo->panel.prepare_prev_first = true; in nt36523_probe()
1273 if (pinfo->desc->has_dcs_backlight) { in nt36523_probe()
1274 pinfo->panel.backlight = nt36523_create_backlight(dsi); in nt36523_probe()
1275 if (IS_ERR(pinfo->panel.backlight)) in nt36523_probe()
1276 return dev_err_probe(dev, PTR_ERR(pinfo->panel.backlight), in nt36523_probe()
1279 ret = drm_panel_of_backlight(&pinfo->panel); in nt36523_probe()
1284 drm_panel_add(&pinfo->panel); in nt36523_probe()
1286 for (i = 0; i < DSI_NUM_MIN + pinfo->desc->is_dual_dsi; i++) { in nt36523_probe()
1287 pinfo->dsi[i]->lanes = pinfo->desc->lanes; in nt36523_probe()
1288 pinfo->dsi[i]->format = pinfo->desc->format; in nt36523_probe()
1289 pinfo->dsi[i]->mode_flags = pinfo->desc->mode_flags; in nt36523_probe()
1291 ret = mipi_dsi_attach(pinfo->dsi[i]); in nt36523_probe()
1301 .compatible = "lenovo,j606f-boe-nt36523w",
1305 .compatible = "xiaomi,elish-boe-nt36523",
1309 .compatible = "xiaomi,elish-csot-nt36523",
1320 .name = "panel-novatek-nt36523",
1327 MODULE_DESCRIPTION("DRM driver for Novatek NT36523 based MIPI DSI panels");