blob: fe1965823bd4dd86f138dc804dd59fec1390c63f [file] [log] [blame]
Banajit Goswami7885c692017-03-16 16:00:34 -07001/* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved.
Channagoud Kadabi6d4bb832016-06-30 23:40:05 -07002 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
Kyle Yan6a20fae2017-02-14 13:34:41 -080012
David Collinsc6686252017-03-31 14:23:09 -070013#include <dt-bindings/gpio/gpio.h>
David Collinsde33ee92017-07-12 11:55:32 -070014#include "sdm845-pmic-overlay.dtsi"
15#include "sdm845-pinctrl-overlay.dtsi"
Jigarkumar Zala861231152017-02-28 14:05:11 -080016#include "sdm845-camera-sensor-cdp.dtsi"
Sungjun Parkc9f9c062017-03-21 16:45:18 -070017
Kyle Yandb9fe122017-07-06 14:58:09 -070018&vendor {
Sungjun Parkc9f9c062017-03-21 16:45:18 -070019 bluetooth: bt_wcn3990 {
20 compatible = "qca,wcn3990";
21 qca,bt-vdd-io-supply = <&pm8998_s3>;
22 qca,bt-vdd-xtal-supply = <&pm8998_s5>;
23 qca,bt-vdd-core-supply = <&pm8998_l7>;
24 qca,bt-vdd-pa-supply = <&pm8998_l17>;
25 qca,bt-vdd-ldo-supply = <&pm8998_l25>;
26
27 qca,bt-vdd-io-voltage-level = <1352000 1352000>;
28 qca,bt-vdd-xtal-voltage-level = <2040000 2040000>;
29 qca,bt-vdd-core-voltage-level = <1800000 1800000>;
30 qca,bt-vdd-pa-voltage-level = <1304000 1304000>;
31 qca,bt-vdd-ldo-voltage-level = <3312000 3312000>;
32
33 qca,bt-vdd-io-current-level = <1>; /* LPM/PFM */
34 qca,bt-vdd-xtal-current-level = <1>; /* LPM/PFM */
35 qca,bt-vdd-core-current-level = <1>; /* LPM/PFM */
36 qca,bt-vdd-pa-current-level = <1>; /* LPM/PFM */
37 qca,bt-vdd-ldo-current-level = <1>; /* LPM/PFM */
38 };
39};
40
Banajit Goswamic0b75812017-03-16 16:14:17 -070041&soc {
David Collinsc6686252017-03-31 14:23:09 -070042 gpio_keys {
43 compatible = "gpio-keys";
44 label = "gpio-keys";
45
46 pinctrl-names = "default";
47 pinctrl-0 = <&key_home_default
48 &key_vol_up_default
49 &key_cam_snapshot_default
50 &key_cam_focus_default>;
51
52 home {
53 label = "home";
54 gpios = <&pm8998_gpios 5 GPIO_ACTIVE_LOW>;
55 linux,input-type = <1>;
56 linux,code = <102>;
57 gpio-key,wakeup;
58 debounce-interval = <15>;
59 linux,can-disable;
60 };
61
62 vol_up {
63 label = "volume_up";
64 gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>;
65 linux,input-type = <1>;
66 linux,code = <115>;
67 gpio-key,wakeup;
68 debounce-interval = <15>;
69 linux,can-disable;
70 };
71
72 cam_snapshot {
73 label = "cam_snapshot";
74 gpios = <&pm8998_gpios 7 GPIO_ACTIVE_LOW>;
75 linux,input-type = <1>;
76 linux,code = <766>;
77 gpio-key,wakeup;
78 debounce-interval = <15>;
79 linux,can-disable;
80 };
81
82 cam_focus {
83 label = "cam_focus";
84 gpios = <&pm8998_gpios 8 GPIO_ACTIVE_LOW>;
85 linux,input-type = <1>;
86 linux,code = <528>;
87 gpio-key,wakeup;
88 debounce-interval = <15>;
89 linux,can-disable;
90 };
91 };
Banajit Goswamic0b75812017-03-16 16:14:17 -070092};
Subhash Jadavani20a48962017-03-27 15:37:57 -070093
Ram Chandrasekar316c3932017-04-25 12:48:55 -060094&mdss_mdp {
95 #cooling-cells = <2>;
96};
97
Subhash Jadavani20a48962017-03-27 15:37:57 -070098&ufsphy_mem {
99 compatible = "qcom,ufs-phy-qmp-v3";
100
101 vdda-phy-supply = <&pm8998_l1>; /* 0.88v */
102 vdda-pll-supply = <&pm8998_l26>; /* 1.2v */
Subhash Jadavani20a48962017-03-27 15:37:57 -0700103 vdda-phy-max-microamp = <62900>;
104 vdda-pll-max-microamp = <18300>;
Subhash Jadavani20a48962017-03-27 15:37:57 -0700105
106 status = "ok";
107};
108
109&ufshc_mem {
110 vdd-hba-supply = <&ufs_phy_gdsc>;
111 vdd-hba-fixed-regulator;
112 vcc-supply = <&pm8998_l20>;
Bao D. Nguyen61e7a1a2017-09-11 12:30:01 -0700113 vcc-voltage-level = <2950000 2960000>;
Subhash Jadavani20a48962017-03-27 15:37:57 -0700114 vccq2-supply = <&pm8998_s4>;
115 vcc-max-microamp = <600000>;
116 vccq2-max-microamp = <600000>;
117
Subhash Jadavani05480172017-04-01 15:51:52 -0700118 qcom,vddp-ref-clk-supply = <&pm8998_l2>;
119 qcom,vddp-ref-clk-max-microamp = <100>;
120
Subhash Jadavani20a48962017-03-27 15:37:57 -0700121 status = "ok";
122};
123
Subhash Jadavanidd416c42017-05-15 11:54:10 -0700124&extcon_storage_cd {
125 gpio = <&tlmm 126 GPIO_ACTIVE_LOW>;
126 debounce-ms = <200>;
127 irq-flags = <IRQ_TYPE_EDGE_BOTH>;
128
129 pinctrl-names = "default";
130 pinctrl-0 = <&storage_cd>;
131
132 status = "ok";
133};
134
Subhash Jadavani20a48962017-03-27 15:37:57 -0700135&ufsphy_card {
136 compatible = "qcom,ufs-phy-qmp-v3";
137
138 vdda-phy-supply = <&pm8998_l1>; /* 0.88v */
139 vdda-pll-supply = <&pm8998_l26>; /* 1.2v */
Subhash Jadavani20a48962017-03-27 15:37:57 -0700140 vdda-phy-max-microamp = <62900>;
141 vdda-pll-max-microamp = <18300>;
Subhash Jadavani20a48962017-03-27 15:37:57 -0700142
143 status = "ok";
144};
145
146&ufshc_card {
147 vdd-hba-supply = <&ufs_card_gdsc>;
148 vdd-hba-fixed-regulator;
149 vcc-supply = <&pm8998_l21>;
Bao D. Nguyen61e7a1a2017-09-11 12:30:01 -0700150 vcc-voltage-level = <2950000 2960000>;
Subhash Jadavani20a48962017-03-27 15:37:57 -0700151 vccq2-supply = <&pm8998_s4>;
152 vcc-max-microamp = <300000>;
153 vccq2-max-microamp = <300000>;
154
Subhash Jadavani05480172017-04-01 15:51:52 -0700155 qcom,vddp-ref-clk-supply = <&pm8998_l2>;
156 qcom,vddp-ref-clk-max-microamp = <100>;
157
Subhash Jadavani10e7bde2017-05-05 10:29:53 -0700158 extcon = <&extcon_storage_cd>;
159
Subhash Jadavani20a48962017-03-27 15:37:57 -0700160 status = "ok";
161};
Subbaraman Narayanamurthycd21c812017-03-30 18:36:49 -0700162
Xiaonian Wange5dedbb2017-04-08 06:48:59 +0800163&sdhc_2 {
164 vdd-supply = <&pm8998_l21>;
165 qcom,vdd-voltage-level = <2950000 2960000>;
166 qcom,vdd-current-level = <200 800000>;
167
168 vdd-io-supply = <&pm8998_l13>;
169 qcom,vdd-io-voltage-level = <1808000 2960000>;
170 qcom,vdd-io-current-level = <200 22000>;
171
172 pinctrl-names = "active", "sleep";
173 pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>;
174 pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>;
175
Subhash Jadavanidd416c42017-05-15 11:54:10 -0700176 extcon = <&extcon_storage_cd>;
177
Xiaonian Wange5dedbb2017-04-08 06:48:59 +0800178 status = "ok";
179};
180
Subbaraman Narayanamurthy58377f02017-03-21 20:38:43 -0700181&pmi8998_switch1 {
Subbaraman Narayanamurthycd21c812017-03-30 18:36:49 -0700182 pinctrl-names = "led_enable", "led_disable";
183 pinctrl-0 = <&flash_led3_front_en>;
184 pinctrl-1 = <&flash_led3_front_dis>;
185};
Harry Yang67111662017-04-05 15:14:52 -0700186
187&pmi8998_charger {
188 qcom,batteryless-platform;
189};
Girish Mahadevan11bc2ff2017-04-08 08:26:35 -0600190
Kyle Yandb9fe122017-07-06 14:58:09 -0700191&vendor {
Jack Phamc2160c842017-04-05 09:48:59 -0700192 extcon_usb1: extcon_usb1 {
193 compatible = "linux,extcon-usb-gpio";
194 id-gpio = <&pmi8998_gpios 9 GPIO_ACTIVE_HIGH>;
195 vbus-gpio = <&pmi8998_gpios 8 GPIO_ACTIVE_HIGH>;
196
197 pinctrl-names = "default";
198 pinctrl-0 = <&usb2_vbus_det_default
199 &usb2_id_det_default>;
200 };
201
202 usb1_vbus_vreg: usb1_vbus_vreg {
203 compatible = "regulator-fixed";
204 regulator-name = "usb_vbus_vreg";
205 gpio = <&pmi8998_gpios 2 GPIO_ACTIVE_HIGH>;
206 enable-active-high;
207
208 /* Typical EN-to-VBUS turn on time for NX5P1100 */
209 regulator-enable-ramp-delay = <630>;
210
211 pinctrl-names = "default";
212 pinctrl-0 = <&usb2_vbus_boost_default>;
213 };
Girish Mahadevan11bc2ff2017-04-08 08:26:35 -0600214};
215
216&qupv3_se9_2uart {
217 status = "ok";
218};
219
Shashank Babu Chinta Venkata59e305f2017-04-05 12:14:18 -0700220&labibb {
221 status = "ok";
222 qcom,qpnp-labibb-mode = "lcd";
223};
224
225&dsi_dual_nt35597_truly_video {
226 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
227 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
228 qcom,mdss-dsi-bl-min-level = <1>;
229 qcom,mdss-dsi-bl-max-level = <4095>;
Vara Reddy199c2822017-05-19 10:14:44 -0700230 qcom,mdss-dsi-mode-sel-gpio-state = "dual_port";
Shashank Babu Chinta Venkata59e305f2017-04-05 12:14:18 -0700231 qcom,panel-mode-gpio = <&tlmm 52 0>;
232 qcom,platform-reset-gpio = <&tlmm 6 0>;
233};
234
Shashank Babu Chinta Venkatac5ab0192017-05-15 09:57:19 -0700235&dsi_dual_nt35597_truly_cmd {
236 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
237 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
238 qcom,mdss-dsi-bl-min-level = <1>;
239 qcom,mdss-dsi-bl-max-level = <4095>;
Vara Reddy199c2822017-05-19 10:14:44 -0700240 qcom,mdss-dsi-mode-sel-gpio-state = "dual_port";
241 qcom,panel-mode-gpio = <&tlmm 52 0>;
242 qcom,platform-reset-gpio = <&tlmm 6 0>;
243 qcom,platform-te-gpio = <&tlmm 10 0>;
244};
245
246&dsi_nt35597_truly_dsc_cmd {
247 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
248 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
249 qcom,mdss-dsi-bl-min-level = <1>;
250 qcom,mdss-dsi-bl-max-level = <4095>;
251 qcom,mdss-dsi-mode-sel-gpio-state = "single_port";
252 qcom,panel-mode-gpio = <&tlmm 52 0>;
253 qcom,platform-reset-gpio = <&tlmm 6 0>;
254 qcom,platform-te-gpio = <&tlmm 10 0>;
255};
256
257&dsi_nt35597_truly_dsc_video {
258 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
259 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
260 qcom,mdss-dsi-bl-min-level = <1>;
261 qcom,mdss-dsi-bl-max-level = <4095>;
262 qcom,mdss-dsi-mode-sel-gpio-state = "single_port";
Shashank Babu Chinta Venkatac5ab0192017-05-15 09:57:19 -0700263 qcom,panel-mode-gpio = <&tlmm 52 0>;
264 qcom,platform-reset-gpio = <&tlmm 6 0>;
265};
266
Lloyd Atkinson24f743f2017-05-12 11:48:51 -0400267&dsi_sharp_1080_cmd {
268 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
269 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
270 qcom,mdss-dsi-bl-min-level = <1>;
271 qcom,mdss-dsi-bl-max-level = <4095>;
272 qcom,platform-reset-gpio = <&tlmm 6 0>;
273};
274
Narendra Muppallae8c25c82017-04-02 19:20:57 -0700275&dsi_sim_vid {
276 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
277 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
278 qcom,platform-reset-gpio = <&tlmm 6 0>;
279};
280
281&dsi_dual_sim_vid {
282 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
283 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
284 qcom,platform-reset-gpio = <&tlmm 6 0>;
285};
286
Narendra Muppallaa1a55462017-04-04 18:07:27 -0700287&dsi_sim_cmd {
288 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
289 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
290 qcom,platform-reset-gpio = <&tlmm 6 0>;
291};
292
293&dsi_dual_sim_cmd {
294 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
295 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
296 qcom,platform-reset-gpio = <&tlmm 6 0>;
297};
298
Rajkumar Subbiah01671a42017-07-14 16:41:01 -0400299&dsi_sim_dsc_375_cmd {
300 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
301 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
302 qcom,platform-reset-gpio = <&tlmm 6 0>;
303};
304
305&dsi_dual_sim_dsc_375_cmd {
306 qcom,panel-supply-entries = <&dsi_panel_pwr_supply>;
307 qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled";
308 qcom,platform-reset-gpio = <&tlmm 6 0>;
309};
310
Vara Reddy9f484ac2017-06-14 15:20:43 -0700311&dsi_nt35597_truly_dsc_cmd_display {
Shashank Babu Chinta Venkata59e305f2017-04-05 12:14:18 -0700312 qcom,dsi-display-active;
313};
314
315&pmi8998_wled {
316 status = "okay";
317 qcom,led-strings-list = [01 02];
318};
319
Subbaraman Narayanamurthyb6340482017-05-15 20:08:15 -0700320&pmi8998_haptics {
321 qcom,vmax-mv = <2400>;
322 qcom,lra-auto-mode;
323 status = "okay";
324};
325
Girish Mahadevan11bc2ff2017-04-08 08:26:35 -0600326&qupv3_se8_spi {
327 status = "ok";
328};
329
330&qupv3_se3_i2c {
331 status = "ok";
Gaurav Singhalf6d253d2017-05-11 08:24:40 +0530332 nq@28 {
333 compatible = "qcom,nq-nci";
334 reg = <0x28>;
335 qcom,nq-irq = <&tlmm 63 0x00>;
336 qcom,nq-ven = <&tlmm 12 0x00>;
337 qcom,nq-firm = <&tlmm 62 0x00>;
338 qcom,nq-clkreq = <&pm8998_gpios 21 0x00>;
339 qcom,nq-esepwr = <&tlmm 116 0x00>;
340 interrupt-parent = <&tlmm>;
341 qcom,clk-src = "BBCLK3";
342 interrupts = <63 0>;
343 interrupt-names = "nfc_irq";
344 pinctrl-names = "nfc_active", "nfc_suspend";
Gaurav Singhal243b94b2017-06-20 14:16:59 +0530345 pinctrl-0 = <&nfc_int_active
346 &nfc_enable_active
347 &nfc_clk_default>;
Gaurav Singhalf6d253d2017-05-11 08:24:40 +0530348 pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend>;
349 clocks = <&clock_rpmh RPMH_LN_BB_CLK3>;
350 clock-names = "ref_clk";
351 };
Girish Mahadevan11bc2ff2017-04-08 08:26:35 -0600352};
353
354&qupv3_se10_i2c {
355 status = "ok";
356};
Jack Phamc2160c842017-04-05 09:48:59 -0700357
Girish Mahadevan1d38bd32017-04-11 17:59:47 -0600358&qupv3_se6_4uart {
359 status = "ok";
360};
361
Jack Phamc2160c842017-04-05 09:48:59 -0700362&usb1 {
363 status = "okay";
364 extcon = <&extcon_usb1>;
365 vbus_dwc3-supply = <&usb1_vbus_vreg>;
366};
367
368&qusb_phy1 {
369 status = "okay";
370};
371
372&usb_qmp_phy {
373 status = "okay";
374};
Siddartha Mohanadoss81021962017-04-12 11:31:00 -0700375
376&pm8998_vadc {
377 chan@83 {
378 label = "vph_pwr";
379 reg = <0x83>;
380 qcom,decimation = <2>;
381 qcom,pre-div-channel-scaling = <1>;
382 qcom,calibration-type = "absolute";
383 qcom,scale-function = <0>;
384 qcom,hw-settle-time = <0>;
385 qcom,fast-avg-setup = <0>;
386 };
387
388 chan@85 {
389 label = "vcoin";
390 reg = <0x85>;
391 qcom,decimation = <2>;
392 qcom,pre-div-channel-scaling = <1>;
393 qcom,calibration-type = "absolute";
394 qcom,scale-function = <0>;
395 qcom,hw-settle-time = <0>;
396 qcom,fast-avg-setup = <0>;
397 };
398
399 chan@4c {
400 label = "xo_therm";
401 reg = <0x4c>;
402 qcom,decimation = <2>;
403 qcom,pre-div-channel-scaling = <0>;
404 qcom,calibration-type = "ratiometric";
405 qcom,scale-function = <4>;
406 qcom,hw-settle-time = <2>;
407 qcom,fast-avg-setup = <0>;
408 };
409
410 chan@4d {
411 label = "msm_therm";
412 reg = <0x4d>;
413 qcom,decimation = <2>;
414 qcom,pre-div-channel-scaling = <0>;
415 qcom,calibration-type = "ratiometric";
416 qcom,scale-function = <2>;
417 qcom,hw-settle-time = <2>;
418 qcom,fast-avg-setup = <0>;
419 };
420
421 chan@4f {
422 label = "pa_therm1";
423 reg = <0x4f>;
424 qcom,decimation = <2>;
425 qcom,pre-div-channel-scaling = <0>;
426 qcom,calibration-type = "ratiometric";
427 qcom,scale-function = <2>;
428 qcom,hw-settle-time = <2>;
429 qcom,fast-avg-setup = <0>;
430 };
431
432 chan@51 {
433 label = "quiet_therm";
434 reg = <0x51>;
435 qcom,decimation = <2>;
436 qcom,pre-div-channel-scaling = <0>;
437 qcom,calibration-type = "ratiometric";
438 qcom,scale-function = <2>;
439 qcom,hw-settle-time = <2>;
440 qcom,fast-avg-setup = <0>;
441 };
442};
443
444&pm8998_adc_tm {
445 chan@83 {
446 label = "vph_pwr";
447 reg = <0x83>;
448 qcom,pre-div-channel-scaling = <1>;
449 qcom,calibration-type = "absolute";
450 qcom,scale-function = <0>;
451 qcom,hw-settle-time = <0>;
452 qcom,btm-channel-number = <0x60>;
453 };
Siddartha Mohanadossd550ea42017-05-12 10:03:17 -0700454
455 chan@4c {
456 label = "xo_therm";
457 reg = <0x4c>;
458 qcom,pre-div-channel-scaling = <0>;
459 qcom,calibration-type = "ratiometric";
460 qcom,scale-function = <4>;
461 qcom,hw-settle-time = <2>;
462 qcom,btm-channel-number = <0x68>;
463 qcom,thermal-node;
464 };
465
466 chan@4d {
467 label = "msm_therm";
468 reg = <0x4d>;
469 qcom,pre-div-channel-scaling = <0>;
470 qcom,calibration-type = "ratiometric";
471 qcom,scale-function = <2>;
472 qcom,hw-settle-time = <2>;
473 qcom,btm-channel-number = <0x70>;
474 qcom,thermal-node;
475 };
476
477 chan@4f {
478 label = "pa_therm1";
479 reg = <0x4f>;
480 qcom,pre-div-channel-scaling = <0>;
481 qcom,calibration-type = "ratiometric";
482 qcom,scale-function = <2>;
483 qcom,hw-settle-time = <2>;
484 qcom,btm-channel-number = <0x78>;
485 qcom,thermal-node;
486 };
487
488 chan@51 {
489 label = "quiet_therm";
490 reg = <0x51>;
491 qcom,pre-div-channel-scaling = <0>;
492 qcom,calibration-type = "ratiometric";
493 qcom,scale-function = <2>;
494 qcom,hw-settle-time = <2>;
495 qcom,btm-channel-number = <0x80>;
496 qcom,thermal-node;
497 };
Siddartha Mohanadoss0fbfc822017-04-21 11:41:32 -0700498};
Siddartha Mohanadoss81021962017-04-12 11:31:00 -0700499
Siddartha Mohanadoss0fbfc822017-04-21 11:41:32 -0700500&thermal_zones {
501 xo-therm-adc {
502 polling-delay-passive = <0>;
503 polling-delay = <0>;
Siddartha Mohanadossd550ea42017-05-12 10:03:17 -0700504 thermal-sensors = <&pm8998_adc_tm 0x4c>;
505 thermal-governor = "user_space";
506
507 trips {
508 active-config0 {
509 temperature = <65000>;
510 hysteresis = <1000>;
511 type = "passive";
512 };
513 };
Siddartha Mohanadoss81021962017-04-12 11:31:00 -0700514 };
515
Siddartha Mohanadoss0fbfc822017-04-21 11:41:32 -0700516 msm-therm-adc {
517 polling-delay-passive = <0>;
518 polling-delay = <0>;
Siddartha Mohanadossd550ea42017-05-12 10:03:17 -0700519 thermal-sensors = <&pm8998_adc_tm 0x4d>;
520 thermal-governor = "user_space";
521
522 trips {
523 active-config0 {
524 temperature = <65000>;
525 hysteresis = <1000>;
526 type = "passive";
527 };
528 };
Siddartha Mohanadoss81021962017-04-12 11:31:00 -0700529 };
530
Siddartha Mohanadoss0fbfc822017-04-21 11:41:32 -0700531 pa-therm1-adc {
532 polling-delay-passive = <0>;
533 polling-delay = <0>;
Siddartha Mohanadossd550ea42017-05-12 10:03:17 -0700534 thermal-sensors = <&pm8998_adc_tm 0x4f>;
535 thermal-governor = "user_space";
536
537 trips {
538 active-config0 {
539 temperature = <65000>;
540 hysteresis = <1000>;
541 type = "passive";
542 };
543 };
Siddartha Mohanadoss81021962017-04-12 11:31:00 -0700544 };
545
Siddartha Mohanadoss0fbfc822017-04-21 11:41:32 -0700546 quiet-therm-adc {
547 polling-delay-passive = <0>;
548 polling-delay = <0>;
Siddartha Mohanadossd550ea42017-05-12 10:03:17 -0700549 thermal-sensors = <&pm8998_adc_tm 0x51>;
550 thermal-governor = "user_space";
551
552 trips {
553 active-config0 {
554 temperature = <65000>;
555 hysteresis = <1000>;
556 type = "passive";
557 };
558 };
Siddartha Mohanadoss81021962017-04-12 11:31:00 -0700559 };
560};
Maya Erez6e14acb2017-05-16 09:59:02 +0300561
562&wil6210 {
563 status = "ok";
564};
Harry Yang4c05d3e42017-05-09 16:18:17 -0700565
566&ext_5v_boost {
567 status = "ok";
568};