Banajit Goswami | 7885c69 | 2017-03-16 16:00:34 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. |
Channagoud Kadabi | 6d4bb83 | 2016-06-30 23:40:05 -0700 | [diff] [blame] | 2 | * |
| 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 Yan | 6a20fae | 2017-02-14 13:34:41 -0800 | [diff] [blame] | 12 | |
David Collins | c668625 | 2017-03-31 14:23:09 -0700 | [diff] [blame] | 13 | #include <dt-bindings/gpio/gpio.h> |
Jigarkumar Zala | 86123115 | 2017-02-28 14:05:11 -0800 | [diff] [blame] | 14 | #include "sdm845-camera-sensor-cdp.dtsi" |
Sungjun Park | c9f9c06 | 2017-03-21 16:45:18 -0700 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | bluetooth: bt_wcn3990 { |
| 18 | compatible = "qca,wcn3990"; |
| 19 | qca,bt-vdd-io-supply = <&pm8998_s3>; |
| 20 | qca,bt-vdd-xtal-supply = <&pm8998_s5>; |
| 21 | qca,bt-vdd-core-supply = <&pm8998_l7>; |
| 22 | qca,bt-vdd-pa-supply = <&pm8998_l17>; |
| 23 | qca,bt-vdd-ldo-supply = <&pm8998_l25>; |
| 24 | |
| 25 | qca,bt-vdd-io-voltage-level = <1352000 1352000>; |
| 26 | qca,bt-vdd-xtal-voltage-level = <2040000 2040000>; |
| 27 | qca,bt-vdd-core-voltage-level = <1800000 1800000>; |
| 28 | qca,bt-vdd-pa-voltage-level = <1304000 1304000>; |
| 29 | qca,bt-vdd-ldo-voltage-level = <3312000 3312000>; |
| 30 | |
| 31 | qca,bt-vdd-io-current-level = <1>; /* LPM/PFM */ |
| 32 | qca,bt-vdd-xtal-current-level = <1>; /* LPM/PFM */ |
| 33 | qca,bt-vdd-core-current-level = <1>; /* LPM/PFM */ |
| 34 | qca,bt-vdd-pa-current-level = <1>; /* LPM/PFM */ |
| 35 | qca,bt-vdd-ldo-current-level = <1>; /* LPM/PFM */ |
| 36 | }; |
| 37 | }; |
| 38 | |
Banajit Goswami | c0b7581 | 2017-03-16 16:14:17 -0700 | [diff] [blame] | 39 | &soc { |
| 40 | sound-tavil { |
| 41 | qcom,us-euro-gpios = <&tavil_us_euro_sw>; |
| 42 | }; |
David Collins | c668625 | 2017-03-31 14:23:09 -0700 | [diff] [blame] | 43 | |
| 44 | gpio_keys { |
| 45 | compatible = "gpio-keys"; |
| 46 | label = "gpio-keys"; |
| 47 | |
| 48 | pinctrl-names = "default"; |
| 49 | pinctrl-0 = <&key_home_default |
| 50 | &key_vol_up_default |
| 51 | &key_cam_snapshot_default |
| 52 | &key_cam_focus_default>; |
| 53 | |
| 54 | home { |
| 55 | label = "home"; |
| 56 | gpios = <&pm8998_gpios 5 GPIO_ACTIVE_LOW>; |
| 57 | linux,input-type = <1>; |
| 58 | linux,code = <102>; |
| 59 | gpio-key,wakeup; |
| 60 | debounce-interval = <15>; |
| 61 | linux,can-disable; |
| 62 | }; |
| 63 | |
| 64 | vol_up { |
| 65 | label = "volume_up"; |
| 66 | gpios = <&pm8998_gpios 6 GPIO_ACTIVE_LOW>; |
| 67 | linux,input-type = <1>; |
| 68 | linux,code = <115>; |
| 69 | gpio-key,wakeup; |
| 70 | debounce-interval = <15>; |
| 71 | linux,can-disable; |
| 72 | }; |
| 73 | |
| 74 | cam_snapshot { |
| 75 | label = "cam_snapshot"; |
| 76 | gpios = <&pm8998_gpios 7 GPIO_ACTIVE_LOW>; |
| 77 | linux,input-type = <1>; |
| 78 | linux,code = <766>; |
| 79 | gpio-key,wakeup; |
| 80 | debounce-interval = <15>; |
| 81 | linux,can-disable; |
| 82 | }; |
| 83 | |
| 84 | cam_focus { |
| 85 | label = "cam_focus"; |
| 86 | gpios = <&pm8998_gpios 8 GPIO_ACTIVE_LOW>; |
| 87 | linux,input-type = <1>; |
| 88 | linux,code = <528>; |
| 89 | gpio-key,wakeup; |
| 90 | debounce-interval = <15>; |
| 91 | linux,can-disable; |
| 92 | }; |
| 93 | }; |
Banajit Goswami | c0b7581 | 2017-03-16 16:14:17 -0700 | [diff] [blame] | 94 | }; |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 95 | |
Ram Chandrasekar | 316c393 | 2017-04-25 12:48:55 -0600 | [diff] [blame] | 96 | &mdss_mdp { |
| 97 | #cooling-cells = <2>; |
| 98 | }; |
| 99 | |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 100 | &ufsphy_mem { |
| 101 | compatible = "qcom,ufs-phy-qmp-v3"; |
| 102 | |
| 103 | vdda-phy-supply = <&pm8998_l1>; /* 0.88v */ |
| 104 | vdda-pll-supply = <&pm8998_l26>; /* 1.2v */ |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 105 | vdda-phy-max-microamp = <62900>; |
| 106 | vdda-pll-max-microamp = <18300>; |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 107 | |
| 108 | status = "ok"; |
| 109 | }; |
| 110 | |
| 111 | &ufshc_mem { |
| 112 | vdd-hba-supply = <&ufs_phy_gdsc>; |
| 113 | vdd-hba-fixed-regulator; |
| 114 | vcc-supply = <&pm8998_l20>; |
| 115 | vccq2-supply = <&pm8998_s4>; |
| 116 | vcc-max-microamp = <600000>; |
| 117 | vccq2-max-microamp = <600000>; |
| 118 | |
Subhash Jadavani | 0548017 | 2017-04-01 15:51:52 -0700 | [diff] [blame] | 119 | qcom,vddp-ref-clk-supply = <&pm8998_l2>; |
| 120 | qcom,vddp-ref-clk-max-microamp = <100>; |
| 121 | |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 122 | status = "ok"; |
| 123 | }; |
| 124 | |
| 125 | &ufsphy_card { |
| 126 | compatible = "qcom,ufs-phy-qmp-v3"; |
| 127 | |
| 128 | vdda-phy-supply = <&pm8998_l1>; /* 0.88v */ |
| 129 | vdda-pll-supply = <&pm8998_l26>; /* 1.2v */ |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 130 | vdda-phy-max-microamp = <62900>; |
| 131 | vdda-pll-max-microamp = <18300>; |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 132 | |
| 133 | status = "ok"; |
| 134 | }; |
| 135 | |
| 136 | &ufshc_card { |
| 137 | vdd-hba-supply = <&ufs_card_gdsc>; |
| 138 | vdd-hba-fixed-regulator; |
| 139 | vcc-supply = <&pm8998_l21>; |
| 140 | vccq2-supply = <&pm8998_s4>; |
| 141 | vcc-max-microamp = <300000>; |
| 142 | vccq2-max-microamp = <300000>; |
| 143 | |
Subhash Jadavani | 0548017 | 2017-04-01 15:51:52 -0700 | [diff] [blame] | 144 | qcom,vddp-ref-clk-supply = <&pm8998_l2>; |
| 145 | qcom,vddp-ref-clk-max-microamp = <100>; |
| 146 | |
Subhash Jadavani | 20a4896 | 2017-03-27 15:37:57 -0700 | [diff] [blame] | 147 | status = "ok"; |
| 148 | }; |
Subbaraman Narayanamurthy | cd21c81 | 2017-03-30 18:36:49 -0700 | [diff] [blame] | 149 | |
Xiaonian Wang | e5dedbb | 2017-04-08 06:48:59 +0800 | [diff] [blame] | 150 | &sdhc_2 { |
| 151 | vdd-supply = <&pm8998_l21>; |
| 152 | qcom,vdd-voltage-level = <2950000 2960000>; |
| 153 | qcom,vdd-current-level = <200 800000>; |
| 154 | |
| 155 | vdd-io-supply = <&pm8998_l13>; |
| 156 | qcom,vdd-io-voltage-level = <1808000 2960000>; |
| 157 | qcom,vdd-io-current-level = <200 22000>; |
| 158 | |
| 159 | pinctrl-names = "active", "sleep"; |
| 160 | pinctrl-0 = <&sdc2_clk_on &sdc2_cmd_on &sdc2_data_on>; |
| 161 | pinctrl-1 = <&sdc2_clk_off &sdc2_cmd_off &sdc2_data_off>; |
| 162 | |
| 163 | qcom,clk-rates = <400000 20000000 25000000 |
| 164 | 50000000 100000000 200000000>; |
| 165 | qcom,bus-speed-mode = "SDR12", "SDR25", "SDR50", "DDR50", "SDR104"; |
| 166 | |
| 167 | status = "ok"; |
| 168 | }; |
| 169 | |
Subbaraman Narayanamurthy | 58377f0 | 2017-03-21 20:38:43 -0700 | [diff] [blame] | 170 | &pmi8998_switch1 { |
Subbaraman Narayanamurthy | cd21c81 | 2017-03-30 18:36:49 -0700 | [diff] [blame] | 171 | pinctrl-names = "led_enable", "led_disable"; |
| 172 | pinctrl-0 = <&flash_led3_front_en>; |
| 173 | pinctrl-1 = <&flash_led3_front_dis>; |
| 174 | }; |
Harry Yang | 6711166 | 2017-04-05 15:14:52 -0700 | [diff] [blame] | 175 | |
| 176 | &pmi8998_charger { |
| 177 | qcom,batteryless-platform; |
| 178 | }; |
Girish Mahadevan | 11bc2ff | 2017-04-08 08:26:35 -0600 | [diff] [blame] | 179 | |
| 180 | / { |
Jack Pham | c2160c84 | 2017-04-05 09:48:59 -0700 | [diff] [blame] | 181 | extcon_usb1: extcon_usb1 { |
| 182 | compatible = "linux,extcon-usb-gpio"; |
| 183 | id-gpio = <&pmi8998_gpios 9 GPIO_ACTIVE_HIGH>; |
| 184 | vbus-gpio = <&pmi8998_gpios 8 GPIO_ACTIVE_HIGH>; |
| 185 | |
| 186 | pinctrl-names = "default"; |
| 187 | pinctrl-0 = <&usb2_vbus_det_default |
| 188 | &usb2_id_det_default>; |
| 189 | }; |
| 190 | |
| 191 | usb1_vbus_vreg: usb1_vbus_vreg { |
| 192 | compatible = "regulator-fixed"; |
| 193 | regulator-name = "usb_vbus_vreg"; |
| 194 | gpio = <&pmi8998_gpios 2 GPIO_ACTIVE_HIGH>; |
| 195 | enable-active-high; |
| 196 | |
| 197 | /* Typical EN-to-VBUS turn on time for NX5P1100 */ |
| 198 | regulator-enable-ramp-delay = <630>; |
| 199 | |
| 200 | pinctrl-names = "default"; |
| 201 | pinctrl-0 = <&usb2_vbus_boost_default>; |
| 202 | }; |
| 203 | |
Girish Mahadevan | 11bc2ff | 2017-04-08 08:26:35 -0600 | [diff] [blame] | 204 | aliases { |
| 205 | serial0 = &qupv3_se9_2uart; |
| 206 | spi0 = &qupv3_se8_spi; |
| 207 | i2c0 = &qupv3_se10_i2c; |
| 208 | i2c1 = &qupv3_se3_i2c; |
Girish Mahadevan | 1d38bd3 | 2017-04-11 17:59:47 -0600 | [diff] [blame] | 209 | hsuart0 = &qupv3_se6_4uart; |
Girish Mahadevan | 11bc2ff | 2017-04-08 08:26:35 -0600 | [diff] [blame] | 210 | }; |
| 211 | }; |
| 212 | |
| 213 | &qupv3_se9_2uart { |
| 214 | status = "ok"; |
| 215 | }; |
| 216 | |
Shashank Babu Chinta Venkata | 59e305f | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 217 | &labibb { |
| 218 | status = "ok"; |
| 219 | qcom,qpnp-labibb-mode = "lcd"; |
| 220 | }; |
| 221 | |
| 222 | &dsi_dual_nt35597_truly_video { |
| 223 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 224 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 225 | qcom,mdss-dsi-bl-min-level = <1>; |
| 226 | qcom,mdss-dsi-bl-max-level = <4095>; |
| 227 | qcom,mdss-dsi-panel-mode-gpio-state = "dual_port"; |
| 228 | qcom,panel-mode-gpio = <&tlmm 52 0>; |
| 229 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 230 | }; |
| 231 | |
Narendra Muppalla | e8c25c8 | 2017-04-02 19:20:57 -0700 | [diff] [blame] | 232 | &dsi_sim_vid { |
| 233 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 234 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 235 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 236 | }; |
| 237 | |
| 238 | &dsi_dual_sim_vid { |
| 239 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 240 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 241 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 242 | }; |
| 243 | |
Narendra Muppalla | a1a5546 | 2017-04-04 18:07:27 -0700 | [diff] [blame] | 244 | &dsi_sim_cmd { |
| 245 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 246 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 247 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 248 | }; |
| 249 | |
| 250 | &dsi_dual_sim_cmd { |
| 251 | qcom,panel-supply-entries = <&dsi_panel_pwr_supply>; |
| 252 | qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_wled"; |
| 253 | qcom,platform-reset-gpio = <&tlmm 6 0>; |
| 254 | }; |
| 255 | |
Shashank Babu Chinta Venkata | 59e305f | 2017-04-05 12:14:18 -0700 | [diff] [blame] | 256 | &dsi_dual_nt35597_truly_video_display { |
| 257 | qcom,dsi-display-active; |
| 258 | }; |
| 259 | |
| 260 | &pmi8998_wled { |
| 261 | status = "okay"; |
| 262 | qcom,led-strings-list = [01 02]; |
| 263 | }; |
| 264 | |
Girish Mahadevan | 11bc2ff | 2017-04-08 08:26:35 -0600 | [diff] [blame] | 265 | &qupv3_se8_spi { |
| 266 | status = "ok"; |
| 267 | }; |
| 268 | |
| 269 | &qupv3_se3_i2c { |
| 270 | status = "ok"; |
| 271 | }; |
| 272 | |
| 273 | &qupv3_se10_i2c { |
| 274 | status = "ok"; |
| 275 | }; |
Jack Pham | c2160c84 | 2017-04-05 09:48:59 -0700 | [diff] [blame] | 276 | |
Girish Mahadevan | 1d38bd3 | 2017-04-11 17:59:47 -0600 | [diff] [blame] | 277 | &qupv3_se6_4uart { |
| 278 | status = "ok"; |
| 279 | }; |
| 280 | |
Jack Pham | c2160c84 | 2017-04-05 09:48:59 -0700 | [diff] [blame] | 281 | &usb1 { |
| 282 | status = "okay"; |
| 283 | extcon = <&extcon_usb1>; |
| 284 | vbus_dwc3-supply = <&usb1_vbus_vreg>; |
| 285 | }; |
| 286 | |
| 287 | &qusb_phy1 { |
| 288 | status = "okay"; |
| 289 | }; |
| 290 | |
| 291 | &usb_qmp_phy { |
| 292 | status = "okay"; |
| 293 | }; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 294 | |
| 295 | &pm8998_vadc { |
| 296 | chan@83 { |
| 297 | label = "vph_pwr"; |
| 298 | reg = <0x83>; |
| 299 | qcom,decimation = <2>; |
| 300 | qcom,pre-div-channel-scaling = <1>; |
| 301 | qcom,calibration-type = "absolute"; |
| 302 | qcom,scale-function = <0>; |
| 303 | qcom,hw-settle-time = <0>; |
| 304 | qcom,fast-avg-setup = <0>; |
| 305 | }; |
| 306 | |
| 307 | chan@85 { |
| 308 | label = "vcoin"; |
| 309 | reg = <0x85>; |
| 310 | qcom,decimation = <2>; |
| 311 | qcom,pre-div-channel-scaling = <1>; |
| 312 | qcom,calibration-type = "absolute"; |
| 313 | qcom,scale-function = <0>; |
| 314 | qcom,hw-settle-time = <0>; |
| 315 | qcom,fast-avg-setup = <0>; |
| 316 | }; |
| 317 | |
| 318 | chan@4c { |
| 319 | label = "xo_therm"; |
| 320 | reg = <0x4c>; |
| 321 | qcom,decimation = <2>; |
| 322 | qcom,pre-div-channel-scaling = <0>; |
| 323 | qcom,calibration-type = "ratiometric"; |
| 324 | qcom,scale-function = <4>; |
| 325 | qcom,hw-settle-time = <2>; |
| 326 | qcom,fast-avg-setup = <0>; |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 327 | qcom,vadc-thermal-node; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 328 | }; |
| 329 | |
| 330 | chan@4d { |
| 331 | label = "msm_therm"; |
| 332 | reg = <0x4d>; |
| 333 | qcom,decimation = <2>; |
| 334 | qcom,pre-div-channel-scaling = <0>; |
| 335 | qcom,calibration-type = "ratiometric"; |
| 336 | qcom,scale-function = <2>; |
| 337 | qcom,hw-settle-time = <2>; |
| 338 | qcom,fast-avg-setup = <0>; |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 339 | qcom,vadc-thermal-node; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 340 | }; |
| 341 | |
| 342 | chan@4f { |
| 343 | label = "pa_therm1"; |
| 344 | reg = <0x4f>; |
| 345 | qcom,decimation = <2>; |
| 346 | qcom,pre-div-channel-scaling = <0>; |
| 347 | qcom,calibration-type = "ratiometric"; |
| 348 | qcom,scale-function = <2>; |
| 349 | qcom,hw-settle-time = <2>; |
| 350 | qcom,fast-avg-setup = <0>; |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 351 | qcom,vadc-thermal-node; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 352 | }; |
| 353 | |
| 354 | chan@51 { |
| 355 | label = "quiet_therm"; |
| 356 | reg = <0x51>; |
| 357 | qcom,decimation = <2>; |
| 358 | qcom,pre-div-channel-scaling = <0>; |
| 359 | qcom,calibration-type = "ratiometric"; |
| 360 | qcom,scale-function = <2>; |
| 361 | qcom,hw-settle-time = <2>; |
| 362 | qcom,fast-avg-setup = <0>; |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 363 | qcom,vadc-thermal-node; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 364 | }; |
| 365 | }; |
| 366 | |
| 367 | &pm8998_adc_tm { |
| 368 | chan@83 { |
| 369 | label = "vph_pwr"; |
| 370 | reg = <0x83>; |
| 371 | qcom,pre-div-channel-scaling = <1>; |
| 372 | qcom,calibration-type = "absolute"; |
| 373 | qcom,scale-function = <0>; |
| 374 | qcom,hw-settle-time = <0>; |
| 375 | qcom,btm-channel-number = <0x60>; |
| 376 | }; |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 377 | |
| 378 | chan@4c { |
| 379 | label = "xo_therm"; |
| 380 | reg = <0x4c>; |
| 381 | qcom,pre-div-channel-scaling = <0>; |
| 382 | qcom,calibration-type = "ratiometric"; |
| 383 | qcom,scale-function = <4>; |
| 384 | qcom,hw-settle-time = <2>; |
| 385 | qcom,btm-channel-number = <0x68>; |
| 386 | qcom,thermal-node; |
| 387 | }; |
| 388 | |
| 389 | chan@4d { |
| 390 | label = "msm_therm"; |
| 391 | reg = <0x4d>; |
| 392 | qcom,pre-div-channel-scaling = <0>; |
| 393 | qcom,calibration-type = "ratiometric"; |
| 394 | qcom,scale-function = <2>; |
| 395 | qcom,hw-settle-time = <2>; |
| 396 | qcom,btm-channel-number = <0x70>; |
| 397 | qcom,thermal-node; |
| 398 | }; |
| 399 | |
| 400 | chan@4f { |
| 401 | label = "pa_therm1"; |
| 402 | reg = <0x4f>; |
| 403 | qcom,pre-div-channel-scaling = <0>; |
| 404 | qcom,calibration-type = "ratiometric"; |
| 405 | qcom,scale-function = <2>; |
| 406 | qcom,hw-settle-time = <2>; |
| 407 | qcom,btm-channel-number = <0x78>; |
| 408 | qcom,thermal-node; |
| 409 | }; |
| 410 | |
| 411 | chan@51 { |
| 412 | label = "quiet_therm"; |
| 413 | reg = <0x51>; |
| 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,btm-channel-number = <0x80>; |
| 419 | qcom,thermal-node; |
| 420 | }; |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 421 | }; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 422 | |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 423 | &thermal_zones { |
| 424 | xo-therm-adc { |
| 425 | polling-delay-passive = <0>; |
| 426 | polling-delay = <0>; |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 427 | thermal-sensors = <&pm8998_adc_tm 0x4c>; |
| 428 | thermal-governor = "user_space"; |
| 429 | |
| 430 | trips { |
| 431 | active-config0 { |
| 432 | temperature = <65000>; |
| 433 | hysteresis = <1000>; |
| 434 | type = "passive"; |
| 435 | }; |
| 436 | }; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 437 | }; |
| 438 | |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 439 | msm-therm-adc { |
| 440 | polling-delay-passive = <0>; |
| 441 | polling-delay = <0>; |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 442 | thermal-sensors = <&pm8998_adc_tm 0x4d>; |
| 443 | thermal-governor = "user_space"; |
| 444 | |
| 445 | trips { |
| 446 | active-config0 { |
| 447 | temperature = <65000>; |
| 448 | hysteresis = <1000>; |
| 449 | type = "passive"; |
| 450 | }; |
| 451 | }; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 452 | }; |
| 453 | |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 454 | pa-therm1-adc { |
| 455 | polling-delay-passive = <0>; |
| 456 | polling-delay = <0>; |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 457 | thermal-sensors = <&pm8998_adc_tm 0x4f>; |
| 458 | thermal-governor = "user_space"; |
| 459 | |
| 460 | trips { |
| 461 | active-config0 { |
| 462 | temperature = <65000>; |
| 463 | hysteresis = <1000>; |
| 464 | type = "passive"; |
| 465 | }; |
| 466 | }; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 467 | }; |
| 468 | |
Siddartha Mohanadoss | 0fbfc82 | 2017-04-21 11:41:32 -0700 | [diff] [blame] | 469 | quiet-therm-adc { |
| 470 | polling-delay-passive = <0>; |
| 471 | polling-delay = <0>; |
Siddartha Mohanadoss | d550ea4 | 2017-05-12 10:03:17 -0700 | [diff] [blame] | 472 | thermal-sensors = <&pm8998_adc_tm 0x51>; |
| 473 | thermal-governor = "user_space"; |
| 474 | |
| 475 | trips { |
| 476 | active-config0 { |
| 477 | temperature = <65000>; |
| 478 | hysteresis = <1000>; |
| 479 | type = "passive"; |
| 480 | }; |
| 481 | }; |
Siddartha Mohanadoss | 8102196 | 2017-04-12 11:31:00 -0700 | [diff] [blame] | 482 | }; |
| 483 | }; |
Maya Erez | 6e14acb | 2017-05-16 09:59:02 +0300 | [diff] [blame^] | 484 | |
| 485 | &wil6210 { |
| 486 | status = "ok"; |
| 487 | }; |