Lines Matching +full:0 +full:x55
40 if (ret < 0) \
42 } while (0)
50 gpiod_set_value_cansleep(ctx->reset_gpio, 0); in truly_nt35521_reset()
62 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x00); in truly_nt35521_on()
63 dsi_generic_write_seq(dsi, 0xff, 0xaa, 0x55, 0xa5, 0x80); in truly_nt35521_on()
64 dsi_generic_write_seq(dsi, 0x6f, 0x11, 0x00); in truly_nt35521_on()
65 dsi_generic_write_seq(dsi, 0xf7, 0x20, 0x00); in truly_nt35521_on()
66 dsi_generic_write_seq(dsi, 0x6f, 0x01); in truly_nt35521_on()
67 dsi_generic_write_seq(dsi, 0xb1, 0x21); in truly_nt35521_on()
68 dsi_generic_write_seq(dsi, 0xbd, 0x01, 0xa0, 0x10, 0x08, 0x01); in truly_nt35521_on()
69 dsi_generic_write_seq(dsi, 0xb8, 0x01, 0x02, 0x0c, 0x02); in truly_nt35521_on()
70 dsi_generic_write_seq(dsi, 0xbb, 0x11, 0x11); in truly_nt35521_on()
71 dsi_generic_write_seq(dsi, 0xbc, 0x00, 0x00); in truly_nt35521_on()
72 dsi_generic_write_seq(dsi, 0xb6, 0x02); in truly_nt35521_on()
73 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x01); in truly_nt35521_on()
74 dsi_generic_write_seq(dsi, 0xb0, 0x09, 0x09); in truly_nt35521_on()
75 dsi_generic_write_seq(dsi, 0xb1, 0x09, 0x09); in truly_nt35521_on()
76 dsi_generic_write_seq(dsi, 0xbc, 0x8c, 0x00); in truly_nt35521_on()
77 dsi_generic_write_seq(dsi, 0xbd, 0x8c, 0x00); in truly_nt35521_on()
78 dsi_generic_write_seq(dsi, 0xca, 0x00); in truly_nt35521_on()
79 dsi_generic_write_seq(dsi, 0xc0, 0x04); in truly_nt35521_on()
80 dsi_generic_write_seq(dsi, 0xbe, 0xb5); in truly_nt35521_on()
81 dsi_generic_write_seq(dsi, 0xb3, 0x35, 0x35); in truly_nt35521_on()
82 dsi_generic_write_seq(dsi, 0xb4, 0x25, 0x25); in truly_nt35521_on()
83 dsi_generic_write_seq(dsi, 0xb9, 0x43, 0x43); in truly_nt35521_on()
84 dsi_generic_write_seq(dsi, 0xba, 0x24, 0x24); in truly_nt35521_on()
85 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x02); in truly_nt35521_on()
86 dsi_generic_write_seq(dsi, 0xee, 0x03); in truly_nt35521_on()
87 dsi_generic_write_seq(dsi, 0xb0, in truly_nt35521_on()
88 0x00, 0xb2, 0x00, 0xb3, 0x00, 0xb6, 0x00, 0xc3, in truly_nt35521_on()
89 0x00, 0xce, 0x00, 0xe1, 0x00, 0xf3, 0x01, 0x11); in truly_nt35521_on()
90 dsi_generic_write_seq(dsi, 0xb1, in truly_nt35521_on()
91 0x01, 0x2e, 0x01, 0x5c, 0x01, 0x82, 0x01, 0xc3, in truly_nt35521_on()
92 0x01, 0xfe, 0x02, 0x00, 0x02, 0x37, 0x02, 0x77); in truly_nt35521_on()
93 dsi_generic_write_seq(dsi, 0xb2, in truly_nt35521_on()
94 0x02, 0xa1, 0x02, 0xd7, 0x02, 0xfe, 0x03, 0x2c, in truly_nt35521_on()
95 0x03, 0x4b, 0x03, 0x63, 0x03, 0x8f, 0x03, 0x90); in truly_nt35521_on()
96 dsi_generic_write_seq(dsi, 0xb3, 0x03, 0x96, 0x03, 0x98); in truly_nt35521_on()
97 dsi_generic_write_seq(dsi, 0xb4, in truly_nt35521_on()
98 0x00, 0x81, 0x00, 0x8b, 0x00, 0x9c, 0x00, 0xa9, in truly_nt35521_on()
99 0x00, 0xb5, 0x00, 0xcb, 0x00, 0xdf, 0x01, 0x02); in truly_nt35521_on()
100 dsi_generic_write_seq(dsi, 0xb5, in truly_nt35521_on()
101 0x01, 0x1f, 0x01, 0x51, 0x01, 0x7a, 0x01, 0xbf, in truly_nt35521_on()
102 0x01, 0xfa, 0x01, 0xfc, 0x02, 0x34, 0x02, 0x76); in truly_nt35521_on()
103 dsi_generic_write_seq(dsi, 0xb6, in truly_nt35521_on()
104 0x02, 0x9f, 0x02, 0xd7, 0x02, 0xfc, 0x03, 0x2c, in truly_nt35521_on()
105 0x03, 0x4a, 0x03, 0x63, 0x03, 0x8f, 0x03, 0xa2); in truly_nt35521_on()
106 dsi_generic_write_seq(dsi, 0xb7, 0x03, 0xb8, 0x03, 0xba); in truly_nt35521_on()
107 dsi_generic_write_seq(dsi, 0xb8, in truly_nt35521_on()
108 0x00, 0x01, 0x00, 0x02, 0x00, 0x0e, 0x00, 0x2a, in truly_nt35521_on()
109 0x00, 0x41, 0x00, 0x67, 0x00, 0x87, 0x00, 0xb9); in truly_nt35521_on()
110 dsi_generic_write_seq(dsi, 0xb9, in truly_nt35521_on()
111 0x00, 0xe2, 0x01, 0x22, 0x01, 0x54, 0x01, 0xa3, in truly_nt35521_on()
112 0x01, 0xe6, 0x01, 0xe7, 0x02, 0x24, 0x02, 0x67); in truly_nt35521_on()
113 dsi_generic_write_seq(dsi, 0xba, in truly_nt35521_on()
114 0x02, 0x93, 0x02, 0xcd, 0x02, 0xf6, 0x03, 0x31, in truly_nt35521_on()
115 0x03, 0x6c, 0x03, 0xe9, 0x03, 0xef, 0x03, 0xf4); in truly_nt35521_on()
116 dsi_generic_write_seq(dsi, 0xbb, 0x03, 0xf6, 0x03, 0xf7); in truly_nt35521_on()
117 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x03); in truly_nt35521_on()
118 dsi_generic_write_seq(dsi, 0xb0, 0x22, 0x00); in truly_nt35521_on()
119 dsi_generic_write_seq(dsi, 0xb1, 0x22, 0x00); in truly_nt35521_on()
120 dsi_generic_write_seq(dsi, 0xb2, 0x05, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
121 dsi_generic_write_seq(dsi, 0xb3, 0x05, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
122 dsi_generic_write_seq(dsi, 0xb4, 0x05, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
123 dsi_generic_write_seq(dsi, 0xb5, 0x05, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
124 dsi_generic_write_seq(dsi, 0xba, 0x53, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
125 dsi_generic_write_seq(dsi, 0xbb, 0x53, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
126 dsi_generic_write_seq(dsi, 0xbc, 0x53, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
127 dsi_generic_write_seq(dsi, 0xbd, 0x53, 0x00, 0x60, 0x00, 0x00); in truly_nt35521_on()
128 dsi_generic_write_seq(dsi, 0xc0, 0x00, 0x34, 0x00, 0x00); in truly_nt35521_on()
129 dsi_generic_write_seq(dsi, 0xc1, 0x00, 0x00, 0x34, 0x00); in truly_nt35521_on()
130 dsi_generic_write_seq(dsi, 0xc2, 0x00, 0x00, 0x34, 0x00); in truly_nt35521_on()
131 dsi_generic_write_seq(dsi, 0xc3, 0x00, 0x00, 0x34, 0x00); in truly_nt35521_on()
132 dsi_generic_write_seq(dsi, 0xc4, 0x60); in truly_nt35521_on()
133 dsi_generic_write_seq(dsi, 0xc5, 0xc0); in truly_nt35521_on()
134 dsi_generic_write_seq(dsi, 0xc6, 0x00); in truly_nt35521_on()
135 dsi_generic_write_seq(dsi, 0xc7, 0x00); in truly_nt35521_on()
136 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x05); in truly_nt35521_on()
137 dsi_generic_write_seq(dsi, 0xb0, 0x17, 0x06); in truly_nt35521_on()
138 dsi_generic_write_seq(dsi, 0xb1, 0x17, 0x06); in truly_nt35521_on()
139 dsi_generic_write_seq(dsi, 0xb2, 0x17, 0x06); in truly_nt35521_on()
140 dsi_generic_write_seq(dsi, 0xb3, 0x17, 0x06); in truly_nt35521_on()
141 dsi_generic_write_seq(dsi, 0xb4, 0x17, 0x06); in truly_nt35521_on()
142 dsi_generic_write_seq(dsi, 0xb5, 0x17, 0x06); in truly_nt35521_on()
143 dsi_generic_write_seq(dsi, 0xb6, 0x17, 0x06); in truly_nt35521_on()
144 dsi_generic_write_seq(dsi, 0xb7, 0x17, 0x06); in truly_nt35521_on()
145 dsi_generic_write_seq(dsi, 0xb8, 0x00); in truly_nt35521_on()
146 dsi_generic_write_seq(dsi, 0xb9, 0x00, 0x03); in truly_nt35521_on()
147 dsi_generic_write_seq(dsi, 0xba, 0x00, 0x00); in truly_nt35521_on()
148 dsi_generic_write_seq(dsi, 0xbb, 0x02, 0x03); in truly_nt35521_on()
149 dsi_generic_write_seq(dsi, 0xbc, 0x02, 0x03); in truly_nt35521_on()
150 dsi_generic_write_seq(dsi, 0xbd, 0x03, 0x03, 0x00, 0x03, 0x03); in truly_nt35521_on()
151 dsi_generic_write_seq(dsi, 0xc0, 0x0b); in truly_nt35521_on()
152 dsi_generic_write_seq(dsi, 0xc1, 0x09); in truly_nt35521_on()
153 dsi_generic_write_seq(dsi, 0xc2, 0xa6); in truly_nt35521_on()
154 dsi_generic_write_seq(dsi, 0xc3, 0x05); in truly_nt35521_on()
155 dsi_generic_write_seq(dsi, 0xc4, 0x00); in truly_nt35521_on()
156 dsi_generic_write_seq(dsi, 0xc5, 0x02); in truly_nt35521_on()
157 dsi_generic_write_seq(dsi, 0xc6, 0x22); in truly_nt35521_on()
158 dsi_generic_write_seq(dsi, 0xc7, 0x03); in truly_nt35521_on()
159 dsi_generic_write_seq(dsi, 0xc8, 0x07, 0x20); in truly_nt35521_on()
160 dsi_generic_write_seq(dsi, 0xc9, 0x03, 0x20); in truly_nt35521_on()
161 dsi_generic_write_seq(dsi, 0xca, 0x01, 0x60); in truly_nt35521_on()
162 dsi_generic_write_seq(dsi, 0xcb, 0x01, 0x60); in truly_nt35521_on()
163 dsi_generic_write_seq(dsi, 0xcc, 0x00, 0x00, 0x02); in truly_nt35521_on()
164 dsi_generic_write_seq(dsi, 0xcd, 0x00, 0x00, 0x02); in truly_nt35521_on()
165 dsi_generic_write_seq(dsi, 0xce, 0x00, 0x00, 0x02); in truly_nt35521_on()
166 dsi_generic_write_seq(dsi, 0xcf, 0x00, 0x00, 0x02); in truly_nt35521_on()
167 dsi_generic_write_seq(dsi, 0xd1, 0x00, 0x05, 0x01, 0x07, 0x10); in truly_nt35521_on()
168 dsi_generic_write_seq(dsi, 0xd2, 0x10, 0x05, 0x05, 0x03, 0x10); in truly_nt35521_on()
169 dsi_generic_write_seq(dsi, 0xd3, 0x20, 0x00, 0x43, 0x07, 0x10); in truly_nt35521_on()
170 dsi_generic_write_seq(dsi, 0xd4, 0x30, 0x00, 0x43, 0x07, 0x10); in truly_nt35521_on()
171 dsi_generic_write_seq(dsi, 0xd0, in truly_nt35521_on()
172 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00); in truly_nt35521_on()
173 dsi_generic_write_seq(dsi, 0xd5, in truly_nt35521_on()
174 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in truly_nt35521_on()
175 0x00, 0x00, 0x00); in truly_nt35521_on()
176 dsi_generic_write_seq(dsi, 0xd6, in truly_nt35521_on()
177 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in truly_nt35521_on()
178 0x00, 0x00, 0x00); in truly_nt35521_on()
179 dsi_generic_write_seq(dsi, 0xd7, in truly_nt35521_on()
180 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, in truly_nt35521_on()
181 0x00, 0x00, 0x00); in truly_nt35521_on()
182 dsi_generic_write_seq(dsi, 0xd8, 0x00, 0x00, 0x00, 0x00, 0x00); in truly_nt35521_on()
183 dsi_generic_write_seq(dsi, 0xe5, 0x06); in truly_nt35521_on()
184 dsi_generic_write_seq(dsi, 0xe6, 0x06); in truly_nt35521_on()
185 dsi_generic_write_seq(dsi, 0xe7, 0x00); in truly_nt35521_on()
186 dsi_generic_write_seq(dsi, 0xe8, 0x06); in truly_nt35521_on()
187 dsi_generic_write_seq(dsi, 0xe9, 0x06); in truly_nt35521_on()
188 dsi_generic_write_seq(dsi, 0xea, 0x06); in truly_nt35521_on()
189 dsi_generic_write_seq(dsi, 0xeb, 0x00); in truly_nt35521_on()
190 dsi_generic_write_seq(dsi, 0xec, 0x00); in truly_nt35521_on()
191 dsi_generic_write_seq(dsi, 0xed, 0x30); in truly_nt35521_on()
192 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x06); in truly_nt35521_on()
193 dsi_generic_write_seq(dsi, 0xb0, 0x31, 0x31); in truly_nt35521_on()
194 dsi_generic_write_seq(dsi, 0xb1, 0x31, 0x31); in truly_nt35521_on()
195 dsi_generic_write_seq(dsi, 0xb2, 0x2d, 0x2e); in truly_nt35521_on()
196 dsi_generic_write_seq(dsi, 0xb3, 0x31, 0x34); in truly_nt35521_on()
197 dsi_generic_write_seq(dsi, 0xb4, 0x29, 0x2a); in truly_nt35521_on()
198 dsi_generic_write_seq(dsi, 0xb5, 0x12, 0x10); in truly_nt35521_on()
199 dsi_generic_write_seq(dsi, 0xb6, 0x18, 0x16); in truly_nt35521_on()
200 dsi_generic_write_seq(dsi, 0xb7, 0x00, 0x02); in truly_nt35521_on()
201 dsi_generic_write_seq(dsi, 0xb8, 0x08, 0x31); in truly_nt35521_on()
202 dsi_generic_write_seq(dsi, 0xb9, 0x31, 0x31); in truly_nt35521_on()
203 dsi_generic_write_seq(dsi, 0xba, 0x31, 0x31); in truly_nt35521_on()
204 dsi_generic_write_seq(dsi, 0xbb, 0x31, 0x08); in truly_nt35521_on()
205 dsi_generic_write_seq(dsi, 0xbc, 0x03, 0x01); in truly_nt35521_on()
206 dsi_generic_write_seq(dsi, 0xbd, 0x17, 0x19); in truly_nt35521_on()
207 dsi_generic_write_seq(dsi, 0xbe, 0x11, 0x13); in truly_nt35521_on()
208 dsi_generic_write_seq(dsi, 0xbf, 0x2a, 0x29); in truly_nt35521_on()
209 dsi_generic_write_seq(dsi, 0xc0, 0x34, 0x31); in truly_nt35521_on()
210 dsi_generic_write_seq(dsi, 0xc1, 0x2e, 0x2d); in truly_nt35521_on()
211 dsi_generic_write_seq(dsi, 0xc2, 0x31, 0x31); in truly_nt35521_on()
212 dsi_generic_write_seq(dsi, 0xc3, 0x31, 0x31); in truly_nt35521_on()
213 dsi_generic_write_seq(dsi, 0xc4, 0x31, 0x31); in truly_nt35521_on()
214 dsi_generic_write_seq(dsi, 0xc5, 0x31, 0x31); in truly_nt35521_on()
215 dsi_generic_write_seq(dsi, 0xc6, 0x2e, 0x2d); in truly_nt35521_on()
216 dsi_generic_write_seq(dsi, 0xc7, 0x31, 0x34); in truly_nt35521_on()
217 dsi_generic_write_seq(dsi, 0xc8, 0x29, 0x2a); in truly_nt35521_on()
218 dsi_generic_write_seq(dsi, 0xc9, 0x17, 0x19); in truly_nt35521_on()
219 dsi_generic_write_seq(dsi, 0xca, 0x11, 0x13); in truly_nt35521_on()
220 dsi_generic_write_seq(dsi, 0xcb, 0x03, 0x01); in truly_nt35521_on()
221 dsi_generic_write_seq(dsi, 0xcc, 0x08, 0x31); in truly_nt35521_on()
222 dsi_generic_write_seq(dsi, 0xcd, 0x31, 0x31); in truly_nt35521_on()
223 dsi_generic_write_seq(dsi, 0xce, 0x31, 0x31); in truly_nt35521_on()
224 dsi_generic_write_seq(dsi, 0xcf, 0x31, 0x08); in truly_nt35521_on()
225 dsi_generic_write_seq(dsi, 0xd0, 0x00, 0x02); in truly_nt35521_on()
226 dsi_generic_write_seq(dsi, 0xd1, 0x12, 0x10); in truly_nt35521_on()
227 dsi_generic_write_seq(dsi, 0xd2, 0x18, 0x16); in truly_nt35521_on()
228 dsi_generic_write_seq(dsi, 0xd3, 0x2a, 0x29); in truly_nt35521_on()
229 dsi_generic_write_seq(dsi, 0xd4, 0x34, 0x31); in truly_nt35521_on()
230 dsi_generic_write_seq(dsi, 0xd5, 0x2d, 0x2e); in truly_nt35521_on()
231 dsi_generic_write_seq(dsi, 0xd6, 0x31, 0x31); in truly_nt35521_on()
232 dsi_generic_write_seq(dsi, 0xd7, 0x31, 0x31); in truly_nt35521_on()
233 dsi_generic_write_seq(dsi, 0xe5, 0x31, 0x31); in truly_nt35521_on()
234 dsi_generic_write_seq(dsi, 0xe6, 0x31, 0x31); in truly_nt35521_on()
235 dsi_generic_write_seq(dsi, 0xd8, 0x00, 0x00, 0x00, 0x00, 0x00); in truly_nt35521_on()
236 dsi_generic_write_seq(dsi, 0xd9, 0x00, 0x00, 0x00, 0x00, 0x00); in truly_nt35521_on()
237 dsi_generic_write_seq(dsi, 0xe7, 0x00); in truly_nt35521_on()
238 dsi_generic_write_seq(dsi, 0x6f, 0x02); in truly_nt35521_on()
239 dsi_generic_write_seq(dsi, 0xf7, 0x47); in truly_nt35521_on()
240 dsi_generic_write_seq(dsi, 0x6f, 0x0a); in truly_nt35521_on()
241 dsi_generic_write_seq(dsi, 0xf7, 0x02); in truly_nt35521_on()
242 dsi_generic_write_seq(dsi, 0x6f, 0x17); in truly_nt35521_on()
243 dsi_generic_write_seq(dsi, 0xf4, 0x60); in truly_nt35521_on()
244 dsi_generic_write_seq(dsi, 0x6f, 0x01); in truly_nt35521_on()
245 dsi_generic_write_seq(dsi, 0xf9, 0x46); in truly_nt35521_on()
246 dsi_generic_write_seq(dsi, 0x6f, 0x11); in truly_nt35521_on()
247 dsi_generic_write_seq(dsi, 0xf3, 0x01); in truly_nt35521_on()
248 dsi_generic_write_seq(dsi, 0x35, 0x00); in truly_nt35521_on()
249 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x00); in truly_nt35521_on()
250 dsi_generic_write_seq(dsi, 0xd9, 0x02, 0x03, 0x00); in truly_nt35521_on()
251 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x00, 0x00); in truly_nt35521_on()
252 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x08, 0x00); in truly_nt35521_on()
253 dsi_generic_write_seq(dsi, 0xb1, 0x6c, 0x21); in truly_nt35521_on()
254 dsi_generic_write_seq(dsi, 0xf0, 0x55, 0xaa, 0x52, 0x00, 0x00); in truly_nt35521_on()
255 dsi_generic_write_seq(dsi, 0x35, 0x00); in truly_nt35521_on()
258 if (ret < 0) { in truly_nt35521_on()
265 if (ret < 0) { in truly_nt35521_on()
271 dsi_generic_write_seq(dsi, 0x53, 0x24); in truly_nt35521_on()
273 return 0; in truly_nt35521_on()
285 if (ret < 0) { in truly_nt35521_off()
292 if (ret < 0) { in truly_nt35521_off()
298 return 0; in truly_nt35521_off()
308 return 0; in truly_nt35521_prepare()
311 if (ret < 0) { in truly_nt35521_prepare()
319 if (ret < 0) { in truly_nt35521_prepare()
326 return 0; in truly_nt35521_prepare()
336 return 0; in truly_nt35521_unprepare()
339 if (ret < 0) in truly_nt35521_unprepare()
347 return 0; in truly_nt35521_unprepare()
355 return 0; in truly_nt35521_enable()
360 return 0; in truly_nt35521_enable()
368 return 0; in truly_nt35521_disable()
370 gpiod_set_value_cansleep(ctx->blen_gpio, 0); in truly_nt35521_disable()
373 return 0; in truly_nt35521_disable()
424 if (ret < 0) in truly_nt35521_bl_update_status()
427 return 0; in truly_nt35521_bl_update_status()
437 if (ret < 0) in truly_nt35521_bl_get_brightness()
440 return brightness & 0xff; in truly_nt35521_bl_get_brightness()
472 ctx->supplies[0].supply = "positive5"; in truly_nt35521_probe()
476 if (ret < 0) { in truly_nt35521_probe()
511 if (ret < 0) { in truly_nt35521_probe()
517 return 0; in truly_nt35521_probe()
526 if (ret < 0) in truly_nt35521_remove()