|
127 | 127 | pinctrl-0 = <&blsp_uart2_console_default>; |
128 | 128 | pinctrl-1 = <&blsp_uart2_console_sleep>; |
129 | 129 | pinctrl-names = "default", "sleep"; |
| 130 | + |
| 131 | + status = "okay"; |
| 132 | +}; |
| 133 | + |
| 134 | +&gpu { |
| 135 | + status = "okay"; |
| 136 | +}; |
| 137 | + |
| 138 | +&mdss { |
| 139 | + status = "okay"; |
| 140 | +}; |
| 141 | + |
| 142 | +&mdss_dsi0 { |
| 143 | + pinctrl-0 = <&mdss_default>; |
| 144 | + pinctrl-1 = <&mdss_sleep>; |
| 145 | + pinctrl-names = "default", "sleep"; |
| 146 | + |
| 147 | + status = "okay"; |
| 148 | + |
| 149 | + panel@0 { |
| 150 | + compatible = "asus,z00t-panel"; |
| 151 | + reg = <0>; |
| 152 | + |
| 153 | + reset-gpios = <&tlmm 25 GPIO_ACTIVE_LOW>; |
| 154 | + backlight-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>; |
| 155 | + power-supply = <&pm8916_l8>; |
| 156 | + |
| 157 | + pinctrl-0 = <&lcd_bl_en_default>; |
| 158 | + pinctrl-names = "default"; |
| 159 | + |
| 160 | + port { |
| 161 | + panel_in: endpoint { |
| 162 | + remote-endpoint = <&mdss_dsi0_out>; |
| 163 | + }; |
| 164 | + }; |
| 165 | + }; |
| 166 | +}; |
| 167 | + |
| 168 | +&mdss_dsi0_out { |
| 169 | + data-lanes = <0 1 2 3>; |
| 170 | + remote-endpoint = <&panel_in>; |
| 171 | +}; |
| 172 | + |
| 173 | +&mdss_dsi0_phy { |
| 174 | + qcom,dsi-phy-regulator-ldo-mode; |
| 175 | + |
130 | 176 | status = "okay"; |
131 | 177 | }; |
132 | 178 |
|
|
140 | 186 | qcom,mbhc-vthreshold-high = <75 150 237 450 500>; |
141 | 187 | qcom,micbias1-ext-cap; |
142 | 188 | qcom,hphl-jack-type-normally-open; |
| 189 | + |
143 | 190 | status = "okay"; |
144 | 191 | }; |
145 | 192 |
|
|
158 | 205 | pinctrl-1 = <&sdc2_sleep &sdc2_cd_default>; |
159 | 206 | pinctrl-names = "default", "sleep"; |
160 | 207 | cd-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; |
| 208 | + |
161 | 209 | status = "okay"; |
162 | 210 | }; |
163 | 211 |
|
|
166 | 214 | "AMIC1", "MIC BIAS External1", |
167 | 215 | "AMIC2", "MIC BIAS Internal2", |
168 | 216 | "AMIC3", "MIC BIAS External1"; |
| 217 | + |
169 | 218 | status = "okay"; |
170 | 219 | }; |
171 | 220 |
|
172 | 221 | &usb { |
173 | 222 | extcon = <&usb_id>, <&usb_id>; |
| 223 | + |
174 | 224 | status = "okay"; |
175 | 225 | }; |
176 | 226 |
|
|
191 | 241 | }; |
192 | 242 |
|
193 | 243 | &tlmm { |
194 | | - gpio_keys_default: gpio-keys-default-state { |
195 | | - pins = "gpio107", "gpio117"; |
196 | | - function = "gpio"; |
197 | | - drive-strength = <2>; |
198 | | - bias-pull-up; |
| 244 | + touchscreen_default: touchscreen-default-state { |
| 245 | + reset-pins { |
| 246 | + pins = "gpio12"; |
| 247 | + function = "gpio"; |
| 248 | + drive-strength = <2>; |
| 249 | + bias-disable; |
| 250 | + }; |
| 251 | + |
| 252 | + touch-pins { |
| 253 | + pins = "gpio13"; |
| 254 | + function = "gpio"; |
| 255 | + drive-strength = <2>; |
| 256 | + bias-pull-up; |
| 257 | + }; |
199 | 258 | }; |
200 | 259 |
|
201 | | - imu_default: imu-default-state { |
202 | | - pins = "gpio36"; |
| 260 | + lcd_bl_en_default: lcd-bl-en-default-state { |
| 261 | + pins = "gpio21"; |
203 | 262 | function = "gpio"; |
204 | | - |
205 | 263 | drive-strength = <2>; |
206 | 264 | bias-disable; |
207 | 265 | }; |
208 | 266 |
|
209 | | - mag_reset_default: mag-reset-default-state { |
210 | | - pins = "gpio112"; |
| 267 | + mdss_default: mdss-default-state { |
| 268 | + pins = "gpio25"; |
211 | 269 | function = "gpio"; |
| 270 | + drive-strength = <8>; |
| 271 | + bias-disable; |
| 272 | + }; |
212 | 273 |
|
| 274 | + mdss_sleep: mdss-sleep-state { |
| 275 | + pins = "gpio25"; |
| 276 | + function = "gpio"; |
213 | 277 | drive-strength = <2>; |
214 | | - bias-disable; |
| 278 | + bias-pull-down; |
215 | 279 | }; |
216 | 280 |
|
217 | | - sd_vmmc_en_default: sd-vmmc-en-default-state { |
218 | | - pins = "gpio87"; |
| 281 | + imu_default: imu-default-state { |
| 282 | + pins = "gpio36"; |
219 | 283 | function = "gpio"; |
220 | 284 | drive-strength = <2>; |
221 | 285 | bias-disable; |
|
228 | 292 | bias-disable; |
229 | 293 | }; |
230 | 294 |
|
231 | | - touchscreen_default: touchscreen-default-state { |
232 | | - touch-pins { |
233 | | - pins = "gpio13"; |
234 | | - function = "gpio"; |
235 | | - |
236 | | - drive-strength = <2>; |
237 | | - bias-pull-up; |
238 | | - }; |
239 | | - |
240 | | - reset-pins { |
241 | | - pins = "gpio12"; |
242 | | - function = "gpio"; |
| 295 | + sd_vmmc_en_default: sd-vmmc-en-default-state { |
| 296 | + pins = "gpio87"; |
| 297 | + function = "gpio"; |
| 298 | + drive-strength = <2>; |
| 299 | + bias-disable; |
| 300 | + }; |
243 | 301 |
|
244 | | - drive-strength = <2>; |
245 | | - bias-disable; |
246 | | - }; |
| 302 | + gpio_keys_default: gpio-keys-default-state { |
| 303 | + pins = "gpio107", "gpio117"; |
| 304 | + function = "gpio"; |
| 305 | + drive-strength = <2>; |
| 306 | + bias-pull-up; |
247 | 307 | }; |
248 | 308 |
|
249 | 309 | usb_id_default: usb-id-default-state { |
|
252 | 312 | drive-strength = <8>; |
253 | 313 | bias-pull-up; |
254 | 314 | }; |
| 315 | + |
| 316 | + mag_reset_default: mag-reset-default-state { |
| 317 | + pins = "gpio112"; |
| 318 | + function = "gpio"; |
| 319 | + drive-strength = <2>; |
| 320 | + bias-disable; |
| 321 | + }; |
255 | 322 | }; |
0 commit comments