Manaf Meethalavalappu Pallikunhi | 52c7ba1 | 2017-09-07 01:41:43 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 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 | */ |
| 12 | |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 13 | #include <dt-bindings/thermal/thermal.h> |
| 14 | |
Manaf Meethalavalappu Pallikunhi | ae5420e | 2017-09-07 01:01:08 +0530 | [diff] [blame] | 15 | &clock_cpucc { |
| 16 | lmh_dcvs0: qcom,limits-dcvs@0 { |
| 17 | compatible = "qcom,msm-hw-limits"; |
| 18 | interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; |
| 19 | qcom,affinity = <0>; |
| 20 | #thermal-sensor-cells = <0>; |
| 21 | }; |
| 22 | |
| 23 | lmh_dcvs1: qcom,limits-dcvs@1 { |
| 24 | compatible = "qcom,msm-hw-limits"; |
| 25 | interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; |
| 26 | qcom,affinity = <1>; |
| 27 | #thermal-sensor-cells = <0>; |
| 28 | }; |
| 29 | }; |
| 30 | |
Manaf Meethalavalappu Pallikunhi | 30a0fa355 | 2017-08-29 21:09:05 +0530 | [diff] [blame] | 31 | &soc { |
| 32 | qmi-tmd-devices { |
| 33 | compatible = "qcom,qmi_cooling_devices"; |
| 34 | |
| 35 | modem { |
| 36 | qcom,instance-id = <0x0>; |
| 37 | |
| 38 | modem_pa: modem_pa { |
| 39 | qcom,qmi-dev-name = "pa"; |
| 40 | #cooling-cells = <2>; |
| 41 | }; |
| 42 | |
| 43 | modem_proc: modem_proc { |
| 44 | qcom,qmi-dev-name = "modem"; |
| 45 | #cooling-cells = <2>; |
| 46 | }; |
| 47 | |
| 48 | modem_current: modem_current { |
| 49 | qcom,qmi-dev-name = "modem_current"; |
| 50 | #cooling-cells = <2>; |
| 51 | }; |
| 52 | |
| 53 | modem_vdd: modem_vdd { |
| 54 | qcom,qmi-dev-name = "cpuv_restriction_cold"; |
| 55 | #cooling-cells = <2>; |
| 56 | }; |
| 57 | }; |
| 58 | |
| 59 | adsp { |
| 60 | qcom,instance-id = <0x1>; |
| 61 | |
| 62 | adsp_vdd: adsp_vdd { |
| 63 | qcom,qmi-dev-name = "cpuv_restriction_cold"; |
| 64 | #cooling-cells = <2>; |
| 65 | }; |
| 66 | }; |
| 67 | |
| 68 | cdsp { |
| 69 | qcom,instance-id = <0x43>; |
| 70 | |
| 71 | cdsp_vdd: cdsp_vdd { |
| 72 | qcom,qmi-dev-name = "cpuv_restriction_cold"; |
| 73 | #cooling-cells = <2>; |
| 74 | }; |
| 75 | }; |
| 76 | }; |
| 77 | }; |
| 78 | |
Manaf Meethalavalappu Pallikunhi | 52c7ba1 | 2017-09-07 01:41:43 +0530 | [diff] [blame] | 79 | &thermal_zones { |
| 80 | aoss0-usr { |
| 81 | polling-delay-passive = <0>; |
| 82 | polling-delay = <0>; |
| 83 | thermal-governor = "user_space"; |
| 84 | thermal-sensors = <&tsens0 0>; |
| 85 | trips { |
| 86 | active-config0 { |
| 87 | temperature = <125000>; |
| 88 | hysteresis = <1000>; |
| 89 | type = "passive"; |
| 90 | }; |
| 91 | }; |
| 92 | }; |
| 93 | |
| 94 | cpu0-silver-usr { |
| 95 | polling-delay-passive = <0>; |
| 96 | polling-delay = <0>; |
| 97 | thermal-governor = "user_space"; |
| 98 | thermal-sensors = <&tsens0 1>; |
| 99 | trips { |
| 100 | active-config0 { |
| 101 | temperature = <125000>; |
| 102 | hysteresis = <1000>; |
| 103 | type = "passive"; |
| 104 | }; |
| 105 | }; |
| 106 | }; |
| 107 | |
| 108 | cpu1-silver-usr { |
| 109 | polling-delay-passive = <0>; |
| 110 | polling-delay = <0>; |
| 111 | thermal-governor = "user_space"; |
| 112 | thermal-sensors = <&tsens0 2>; |
| 113 | trips { |
| 114 | active-config0 { |
| 115 | temperature = <125000>; |
| 116 | hysteresis = <1000>; |
| 117 | type = "passive"; |
| 118 | }; |
| 119 | }; |
| 120 | }; |
| 121 | |
| 122 | cpu2-silver-usr { |
| 123 | polling-delay-passive = <0>; |
| 124 | polling-delay = <0>; |
| 125 | thermal-governor = "user_space"; |
| 126 | thermal-sensors = <&tsens0 3>; |
| 127 | trips { |
| 128 | active-config0 { |
| 129 | temperature = <125000>; |
| 130 | hysteresis = <1000>; |
| 131 | type = "passive"; |
| 132 | }; |
| 133 | }; |
| 134 | }; |
| 135 | |
| 136 | cpu3-silver-usr { |
| 137 | polling-delay-passive = <0>; |
| 138 | polling-delay = <0>; |
| 139 | thermal-sensors = <&tsens0 4>; |
| 140 | thermal-governor = "user_space"; |
| 141 | trips { |
| 142 | active-config0 { |
| 143 | temperature = <125000>; |
| 144 | hysteresis = <1000>; |
| 145 | type = "passive"; |
| 146 | }; |
| 147 | }; |
| 148 | }; |
| 149 | |
| 150 | cpu4-silver-usr { |
| 151 | polling-delay-passive = <0>; |
| 152 | polling-delay = <0>; |
| 153 | thermal-sensors = <&tsens0 5>; |
| 154 | thermal-governor = "user_space"; |
| 155 | trips { |
| 156 | active-config0 { |
| 157 | temperature = <125000>; |
| 158 | hysteresis = <1000>; |
| 159 | type = "passive"; |
| 160 | }; |
| 161 | }; |
| 162 | }; |
| 163 | |
| 164 | cpu5-silver-usr { |
| 165 | polling-delay-passive = <0>; |
| 166 | polling-delay = <0>; |
| 167 | thermal-sensors = <&tsens0 6>; |
| 168 | thermal-governor = "user_space"; |
| 169 | trips { |
| 170 | active-config0 { |
| 171 | temperature = <125000>; |
| 172 | hysteresis = <1000>; |
| 173 | type = "passive"; |
| 174 | }; |
| 175 | }; |
| 176 | }; |
| 177 | |
| 178 | kryo-l3-0-usr { |
| 179 | polling-delay-passive = <0>; |
| 180 | polling-delay = <0>; |
| 181 | thermal-sensors = <&tsens0 7>; |
| 182 | thermal-governor = "user_space"; |
| 183 | trips { |
| 184 | active-config0 { |
| 185 | temperature = <125000>; |
| 186 | hysteresis = <1000>; |
| 187 | type = "passive"; |
| 188 | }; |
| 189 | }; |
| 190 | }; |
| 191 | |
| 192 | kryo-l3-1-usr { |
| 193 | polling-delay-passive = <0>; |
| 194 | polling-delay = <0>; |
| 195 | thermal-sensors = <&tsens0 8>; |
| 196 | thermal-governor = "user_space"; |
| 197 | trips { |
| 198 | active-config0 { |
| 199 | temperature = <125000>; |
| 200 | hysteresis = <1000>; |
| 201 | type = "passive"; |
| 202 | }; |
| 203 | }; |
| 204 | }; |
| 205 | |
| 206 | cpu0-gold-usr { |
| 207 | polling-delay-passive = <0>; |
| 208 | polling-delay = <0>; |
| 209 | thermal-sensors = <&tsens0 9>; |
| 210 | thermal-governor = "user_space"; |
| 211 | trips { |
| 212 | active-config0 { |
| 213 | temperature = <125000>; |
| 214 | hysteresis = <1000>; |
| 215 | type = "passive"; |
| 216 | }; |
| 217 | }; |
| 218 | }; |
| 219 | |
| 220 | cpu1-gold-usr { |
| 221 | polling-delay-passive = <0>; |
| 222 | polling-delay = <0>; |
| 223 | thermal-sensors = <&tsens0 10>; |
| 224 | thermal-governor = "user_space"; |
| 225 | trips { |
| 226 | active-config0 { |
| 227 | temperature = <125000>; |
| 228 | hysteresis = <1000>; |
| 229 | type = "passive"; |
| 230 | }; |
| 231 | }; |
| 232 | }; |
| 233 | |
| 234 | gpu0-usr { |
| 235 | polling-delay-passive = <0>; |
| 236 | polling-delay = <0>; |
| 237 | thermal-sensors = <&tsens0 11>; |
| 238 | thermal-governor = "user_space"; |
| 239 | trips { |
| 240 | active-config0 { |
| 241 | temperature = <125000>; |
| 242 | hysteresis = <1000>; |
| 243 | type = "passive"; |
| 244 | }; |
| 245 | }; |
| 246 | }; |
| 247 | |
| 248 | gpu1-usr { |
| 249 | polling-delay-passive = <0>; |
| 250 | polling-delay = <0>; |
| 251 | thermal-governor = "user_space"; |
| 252 | thermal-sensors = <&tsens0 12>; |
| 253 | trips { |
| 254 | active-config0 { |
| 255 | temperature = <125000>; |
| 256 | hysteresis = <1000>; |
| 257 | type = "passive"; |
| 258 | }; |
| 259 | }; |
| 260 | }; |
| 261 | |
| 262 | aoss1-usr { |
| 263 | polling-delay-passive = <0>; |
| 264 | polling-delay = <0>; |
| 265 | thermal-sensors = <&tsens1 0>; |
| 266 | thermal-governor = "user_space"; |
| 267 | trips { |
| 268 | active-config0 { |
| 269 | temperature = <125000>; |
| 270 | hysteresis = <1000>; |
| 271 | type = "passive"; |
| 272 | }; |
| 273 | }; |
| 274 | }; |
| 275 | |
| 276 | mdm-dsp-usr { |
| 277 | polling-delay-passive = <0>; |
| 278 | polling-delay = <0>; |
| 279 | thermal-sensors = <&tsens1 1>; |
| 280 | thermal-governor = "user_space"; |
| 281 | trips { |
| 282 | active-config0 { |
| 283 | temperature = <125000>; |
| 284 | hysteresis = <1000>; |
| 285 | type = "passive"; |
| 286 | }; |
| 287 | }; |
| 288 | }; |
| 289 | |
| 290 | ddr-usr { |
| 291 | polling-delay-passive = <0>; |
| 292 | polling-delay = <0>; |
| 293 | thermal-sensors = <&tsens1 2>; |
| 294 | thermal-governor = "user_space"; |
| 295 | trips { |
| 296 | active-config0 { |
| 297 | temperature = <125000>; |
| 298 | hysteresis = <1000>; |
| 299 | type = "passive"; |
| 300 | }; |
| 301 | }; |
| 302 | }; |
| 303 | |
| 304 | wlan-usr { |
| 305 | polling-delay-passive = <0>; |
| 306 | polling-delay = <0>; |
| 307 | thermal-sensors = <&tsens1 3>; |
| 308 | thermal-governor = "user_space"; |
| 309 | trips { |
| 310 | active-config0 { |
| 311 | temperature = <125000>; |
| 312 | hysteresis = <1000>; |
| 313 | type = "passive"; |
| 314 | }; |
| 315 | }; |
| 316 | }; |
| 317 | |
| 318 | compute-hvx-usr { |
| 319 | polling-delay-passive = <0>; |
| 320 | polling-delay = <0>; |
| 321 | thermal-sensors = <&tsens1 4>; |
| 322 | thermal-governor = "user_space"; |
| 323 | trips { |
| 324 | active-config0 { |
| 325 | temperature = <125000>; |
| 326 | hysteresis = <1000>; |
| 327 | type = "passive"; |
| 328 | }; |
| 329 | }; |
| 330 | }; |
| 331 | |
| 332 | camera-usr { |
| 333 | polling-delay-passive = <0>; |
| 334 | polling-delay = <0>; |
| 335 | thermal-sensors = <&tsens1 5>; |
| 336 | thermal-governor = "user_space"; |
| 337 | trips { |
| 338 | active-config0 { |
| 339 | temperature = <125000>; |
| 340 | hysteresis = <1000>; |
| 341 | type = "passive"; |
| 342 | }; |
| 343 | }; |
| 344 | }; |
| 345 | |
| 346 | mmss-usr { |
| 347 | polling-delay-passive = <0>; |
| 348 | polling-delay = <0>; |
| 349 | thermal-sensors = <&tsens1 6>; |
| 350 | thermal-governor = "user_space"; |
| 351 | trips { |
| 352 | active-config0 { |
| 353 | temperature = <125000>; |
| 354 | hysteresis = <1000>; |
| 355 | type = "passive"; |
| 356 | }; |
| 357 | }; |
| 358 | }; |
| 359 | |
| 360 | mdm-core-usr { |
| 361 | polling-delay-passive = <0>; |
| 362 | polling-delay = <0>; |
| 363 | thermal-sensors = <&tsens1 7>; |
| 364 | thermal-governor = "user_space"; |
| 365 | trips { |
| 366 | active-config0 { |
| 367 | temperature = <125000>; |
| 368 | hysteresis = <1000>; |
| 369 | type = "passive"; |
| 370 | }; |
| 371 | }; |
| 372 | }; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 373 | |
| 374 | gpu-virt-max-step { |
| 375 | polling-delay-passive = <10>; |
| 376 | polling-delay = <100>; |
| 377 | thermal-governor = "step_wise"; |
| 378 | trips { |
| 379 | gpu_trip0: gpu-trip0 { |
| 380 | temperature = <95000>; |
| 381 | hysteresis = <0>; |
| 382 | type = "passive"; |
| 383 | }; |
| 384 | }; |
| 385 | cooling-maps { |
| 386 | gpu_cdev0 { |
| 387 | trip = <&gpu_trip0>; |
| 388 | cooling-device = |
| 389 | <&msm_gpu THERMAL_NO_LIMIT |
| 390 | THERMAL_NO_LIMIT>; |
| 391 | }; |
| 392 | }; |
| 393 | }; |
| 394 | |
| 395 | hexa-silv-max-step { |
| 396 | polling-delay-passive = <0>; |
| 397 | polling-delay = <0>; |
| 398 | thermal-governor = "step_wise"; |
| 399 | trips { |
| 400 | silver-trip { |
| 401 | temperature = <120000>; |
| 402 | hysteresis = <0>; |
| 403 | type = "passive"; |
| 404 | }; |
| 405 | }; |
| 406 | }; |
| 407 | |
| 408 | dual-gold-max-step { |
| 409 | polling-delay-passive = <0>; |
| 410 | polling-delay = <0>; |
| 411 | thermal-governor = "step_wise"; |
| 412 | trips { |
| 413 | gold-trip { |
| 414 | temperature = <120000>; |
| 415 | hysteresis = <0>; |
| 416 | type = "passive"; |
| 417 | }; |
| 418 | }; |
| 419 | }; |
| 420 | |
| 421 | pop-mem-step { |
| 422 | polling-delay-passive = <10>; |
| 423 | polling-delay = <0>; |
| 424 | thermal-sensors = <&tsens1 2>; |
| 425 | thermal-governor = "step_wise"; |
| 426 | trips { |
| 427 | pop_trip: pop-trip { |
| 428 | temperature = <95000>; |
| 429 | hysteresis = <0>; |
| 430 | type = "passive"; |
| 431 | }; |
| 432 | }; |
| 433 | cooling-maps { |
| 434 | pop_cdev6 { |
| 435 | trip = <&pop_trip>; |
| 436 | cooling-device = |
| 437 | <&CPU6 THERMAL_NO_LIMIT |
| 438 | (THERMAL_MAX_LIMIT-1)>; |
| 439 | }; |
| 440 | pop_cdev7 { |
| 441 | trip = <&pop_trip>; |
| 442 | cooling-device = |
| 443 | <&CPU7 THERMAL_NO_LIMIT |
| 444 | (THERMAL_MAX_LIMIT-1)>; |
| 445 | }; |
| 446 | }; |
| 447 | }; |
| 448 | |
| 449 | aoss0-lowf { |
| 450 | polling-delay-passive = <0>; |
| 451 | polling-delay = <0>; |
| 452 | thermal-governor = "low_limits_floor"; |
| 453 | thermal-sensors = <&tsens0 0>; |
| 454 | tracks-low; |
| 455 | trips { |
| 456 | aoss0_trip: aoss0-trip { |
| 457 | temperature = <5000>; |
| 458 | hysteresis = <5000>; |
| 459 | type = "passive"; |
| 460 | }; |
| 461 | }; |
| 462 | cooling-maps { |
| 463 | cpu0_vdd_cdev { |
| 464 | trip = <&aoss0_trip>; |
| 465 | cooling-device = <&CPU0 4 4>; |
| 466 | }; |
| 467 | cpu6_vdd_cdev { |
| 468 | trip = <&aoss0_trip>; |
| 469 | cooling-device = <&CPU6 9 9>; |
| 470 | }; |
| 471 | gpu_vdd_cdev { |
| 472 | trip = <&aoss0_trip>; |
| 473 | cooling-device = <&msm_gpu 1 1>; |
| 474 | }; |
| 475 | cx_vdd_cdev { |
| 476 | trip = <&aoss0_trip>; |
| 477 | cooling-device = <&cx_cdev 0 0>; |
| 478 | }; |
| 479 | mx_vdd_cdev { |
| 480 | trip = <&aoss0_trip>; |
| 481 | cooling-device = <&mx_cdev 0 0>; |
| 482 | }; |
| 483 | modem_vdd_cdev { |
| 484 | trip = <&aoss0_trip>; |
| 485 | cooling-device = <&modem_vdd 0 0>; |
| 486 | }; |
| 487 | adsp_vdd_cdev { |
| 488 | trip = <&aoss0_trip>; |
| 489 | cooling-device = <&adsp_vdd 0 0>; |
| 490 | }; |
| 491 | cdsp_vdd_cdev { |
| 492 | trip = <&aoss0_trip>; |
| 493 | cooling-device = <&cdsp_vdd 0 0>; |
| 494 | }; |
| 495 | }; |
| 496 | }; |
| 497 | |
| 498 | cpu0-silver-lowf { |
| 499 | polling-delay-passive = <0>; |
| 500 | polling-delay = <0>; |
| 501 | thermal-governor = "low_limits_floor"; |
| 502 | thermal-sensors = <&tsens0 1>; |
| 503 | tracks-low; |
| 504 | trips { |
| 505 | cpu0_trip: cpu0-trip { |
| 506 | temperature = <5000>; |
| 507 | hysteresis = <5000>; |
| 508 | type = "passive"; |
| 509 | }; |
| 510 | }; |
| 511 | cooling-maps { |
| 512 | cpu0_vdd_cdev { |
| 513 | trip = <&cpu0_trip>; |
| 514 | cooling-device = <&CPU0 4 4>; |
| 515 | }; |
| 516 | cpu6_vdd_cdev { |
| 517 | trip = <&cpu0_trip>; |
| 518 | cooling-device = <&CPU6 9 9>; |
| 519 | }; |
| 520 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 521 | trip = <&cpu0_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 522 | cooling-device = <&msm_gpu 1 1>; |
| 523 | }; |
| 524 | cx_vdd_cdev { |
| 525 | trip = <&cpu0_trip>; |
| 526 | cooling-device = <&cx_cdev 0 0>; |
| 527 | }; |
| 528 | mx_vdd_cdev { |
| 529 | trip = <&cpu0_trip>; |
| 530 | cooling-device = <&mx_cdev 0 0>; |
| 531 | }; |
| 532 | modem_vdd_cdev { |
| 533 | trip = <&cpu0_trip>; |
| 534 | cooling-device = <&modem_vdd 0 0>; |
| 535 | }; |
| 536 | adsp_vdd_cdev { |
| 537 | trip = <&cpu0_trip>; |
| 538 | cooling-device = <&adsp_vdd 0 0>; |
| 539 | }; |
| 540 | cdsp_vdd_cdev { |
| 541 | trip = <&cpu0_trip>; |
| 542 | cooling-device = <&cdsp_vdd 0 0>; |
| 543 | }; |
| 544 | }; |
| 545 | }; |
| 546 | |
| 547 | cpu1-silver-lowf { |
| 548 | polling-delay-passive = <0>; |
| 549 | polling-delay = <0>; |
| 550 | thermal-governor = "low_limits_floor"; |
| 551 | thermal-sensors = <&tsens0 2>; |
| 552 | tracks-low; |
| 553 | trips { |
| 554 | cpu1_trip: cpu1-trip { |
| 555 | temperature = <5000>; |
| 556 | hysteresis = <5000>; |
| 557 | type = "passive"; |
| 558 | }; |
| 559 | }; |
| 560 | cooling-maps { |
| 561 | cpu0_vdd_cdev { |
| 562 | trip = <&cpu1_trip>; |
| 563 | cooling-device = <&CPU0 4 4>; |
| 564 | }; |
| 565 | cpu6_vdd_cdev { |
| 566 | trip = <&cpu1_trip>; |
| 567 | cooling-device = <&CPU6 9 9>; |
| 568 | }; |
| 569 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 570 | trip = <&cpu1_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 571 | cooling-device = <&msm_gpu 1 1>; |
| 572 | }; |
| 573 | cx_vdd_cdev { |
| 574 | trip = <&cpu1_trip>; |
| 575 | cooling-device = <&cx_cdev 0 0>; |
| 576 | }; |
| 577 | mx_vdd_cdev { |
| 578 | trip = <&cpu1_trip>; |
| 579 | cooling-device = <&mx_cdev 0 0>; |
| 580 | }; |
| 581 | modem_vdd_cdev { |
| 582 | trip = <&cpu1_trip>; |
| 583 | cooling-device = <&modem_vdd 0 0>; |
| 584 | }; |
| 585 | adsp_vdd_cdev { |
| 586 | trip = <&cpu1_trip>; |
| 587 | cooling-device = <&adsp_vdd 0 0>; |
| 588 | }; |
| 589 | cdsp_vdd_cdev { |
| 590 | trip = <&cpu1_trip>; |
| 591 | cooling-device = <&cdsp_vdd 0 0>; |
| 592 | }; |
| 593 | }; |
| 594 | }; |
| 595 | |
| 596 | cpu2-silver-lowf { |
| 597 | polling-delay-passive = <0>; |
| 598 | polling-delay = <0>; |
| 599 | thermal-governor = "low_limits_floor"; |
| 600 | thermal-sensors = <&tsens0 3>; |
| 601 | tracks-low; |
| 602 | trips { |
| 603 | cpu2_trip: cpu2-trip { |
| 604 | temperature = <5000>; |
| 605 | hysteresis = <5000>; |
| 606 | type = "passive"; |
| 607 | }; |
| 608 | }; |
| 609 | cooling-maps { |
| 610 | cpu0_vdd_cdev { |
| 611 | trip = <&cpu2_trip>; |
| 612 | cooling-device = <&CPU0 4 4>; |
| 613 | }; |
| 614 | cpu6_vdd_cdev { |
| 615 | trip = <&cpu2_trip>; |
| 616 | cooling-device = <&CPU6 9 9>; |
| 617 | }; |
| 618 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 619 | trip = <&cpu2_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 620 | cooling-device = <&msm_gpu 1 1>; |
| 621 | }; |
| 622 | cx_vdd_cdev { |
| 623 | trip = <&cpu2_trip>; |
| 624 | cooling-device = <&cx_cdev 0 0>; |
| 625 | }; |
| 626 | mx_vdd_cdev { |
| 627 | trip = <&cpu2_trip>; |
| 628 | cooling-device = <&mx_cdev 0 0>; |
| 629 | }; |
| 630 | modem_vdd_cdev { |
| 631 | trip = <&cpu2_trip>; |
| 632 | cooling-device = <&modem_vdd 0 0>; |
| 633 | }; |
| 634 | adsp_vdd_cdev { |
| 635 | trip = <&cpu2_trip>; |
| 636 | cooling-device = <&adsp_vdd 0 0>; |
| 637 | }; |
| 638 | cdsp_vdd_cdev { |
| 639 | trip = <&cpu2_trip>; |
| 640 | cooling-device = <&cdsp_vdd 0 0>; |
| 641 | }; |
| 642 | }; |
| 643 | }; |
| 644 | |
| 645 | cpu3-silver-lowf { |
| 646 | polling-delay-passive = <0>; |
| 647 | polling-delay = <0>; |
| 648 | thermal-governor = "low_limits_floor"; |
| 649 | thermal-sensors = <&tsens0 4>; |
| 650 | tracks-low; |
| 651 | trips { |
| 652 | cpu3_trip: cpu3-trip { |
| 653 | temperature = <5000>; |
| 654 | hysteresis = <5000>; |
| 655 | type = "passive"; |
| 656 | }; |
| 657 | }; |
| 658 | cooling-maps { |
| 659 | cpu0_vdd_cdev { |
| 660 | trip = <&cpu3_trip>; |
| 661 | cooling-device = <&CPU0 4 4>; |
| 662 | }; |
| 663 | cpu6_vdd_cdev { |
| 664 | trip = <&cpu3_trip>; |
| 665 | cooling-device = <&CPU6 9 9>; |
| 666 | }; |
| 667 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 668 | trip = <&cpu3_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 669 | cooling-device = <&msm_gpu 1 1>; |
| 670 | }; |
| 671 | cx_vdd_cdev { |
| 672 | trip = <&cpu3_trip>; |
| 673 | cooling-device = <&cx_cdev 0 0>; |
| 674 | }; |
| 675 | mx_vdd_cdev { |
| 676 | trip = <&cpu3_trip>; |
| 677 | cooling-device = <&mx_cdev 0 0>; |
| 678 | }; |
| 679 | modem_vdd_cdev { |
| 680 | trip = <&cpu3_trip>; |
| 681 | cooling-device = <&modem_vdd 0 0>; |
| 682 | }; |
| 683 | adsp_vdd_cdev { |
| 684 | trip = <&cpu3_trip>; |
| 685 | cooling-device = <&adsp_vdd 0 0>; |
| 686 | }; |
| 687 | cdsp_vdd_cdev { |
| 688 | trip = <&cpu3_trip>; |
| 689 | cooling-device = <&cdsp_vdd 0 0>; |
| 690 | }; |
| 691 | }; |
| 692 | }; |
| 693 | |
| 694 | cpu4-silver-lowf { |
| 695 | polling-delay-passive = <0>; |
| 696 | polling-delay = <0>; |
| 697 | thermal-governor = "low_limits_floor"; |
| 698 | thermal-sensors = <&tsens0 5>; |
| 699 | tracks-low; |
| 700 | trips { |
| 701 | cpu4_trip: cpu4-trip { |
| 702 | temperature = <5000>; |
| 703 | hysteresis = <5000>; |
| 704 | type = "passive"; |
| 705 | }; |
| 706 | }; |
| 707 | cooling-maps { |
| 708 | cpu0_vdd_cdev { |
| 709 | trip = <&cpu4_trip>; |
| 710 | cooling-device = <&CPU0 4 4>; |
| 711 | }; |
| 712 | cpu6_vdd_cdev { |
| 713 | trip = <&cpu4_trip>; |
| 714 | cooling-device = <&CPU6 9 9>; |
| 715 | }; |
| 716 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 717 | trip = <&cpu4_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 718 | cooling-device = <&msm_gpu 1 1>; |
| 719 | }; |
| 720 | cx_vdd_cdev { |
| 721 | trip = <&cpu4_trip>; |
| 722 | cooling-device = <&cx_cdev 0 0>; |
| 723 | }; |
| 724 | mx_vdd_cdev { |
| 725 | trip = <&cpu4_trip>; |
| 726 | cooling-device = <&mx_cdev 0 0>; |
| 727 | }; |
| 728 | modem_vdd_cdev { |
| 729 | trip = <&cpu4_trip>; |
| 730 | cooling-device = <&modem_vdd 0 0>; |
| 731 | }; |
| 732 | adsp_vdd_cdev { |
| 733 | trip = <&cpu4_trip>; |
| 734 | cooling-device = <&adsp_vdd 0 0>; |
| 735 | }; |
| 736 | cdsp_vdd_cdev { |
| 737 | trip = <&cpu4_trip>; |
| 738 | cooling-device = <&cdsp_vdd 0 0>; |
| 739 | }; |
| 740 | }; |
| 741 | }; |
| 742 | |
| 743 | cpu5-silver-lowf { |
| 744 | polling-delay-passive = <0>; |
| 745 | polling-delay = <0>; |
| 746 | thermal-governor = "low_limits_floor"; |
| 747 | thermal-sensors = <&tsens0 6>; |
| 748 | tracks-low; |
| 749 | trips { |
| 750 | cpu5_trip: cpu5-trip { |
| 751 | temperature = <5000>; |
| 752 | hysteresis = <5000>; |
| 753 | type = "passive"; |
| 754 | }; |
| 755 | }; |
| 756 | cooling-maps { |
| 757 | cpu0_vdd_cdev { |
| 758 | trip = <&cpu5_trip>; |
| 759 | cooling-device = <&CPU0 4 4>; |
| 760 | }; |
| 761 | cpu6_vdd_cdev { |
| 762 | trip = <&cpu5_trip>; |
| 763 | cooling-device = <&CPU6 9 9>; |
| 764 | }; |
| 765 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 766 | trip = <&cpu5_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 767 | cooling-device = <&msm_gpu 1 1>; |
| 768 | }; |
| 769 | cx_vdd_cdev { |
| 770 | trip = <&cpu5_trip>; |
| 771 | cooling-device = <&cx_cdev 0 0>; |
| 772 | }; |
| 773 | mx_vdd_cdev { |
| 774 | trip = <&cpu5_trip>; |
| 775 | cooling-device = <&mx_cdev 0 0>; |
| 776 | }; |
| 777 | modem_vdd_cdev { |
| 778 | trip = <&cpu5_trip>; |
| 779 | cooling-device = <&modem_vdd 0 0>; |
| 780 | }; |
| 781 | adsp_vdd_cdev { |
| 782 | trip = <&cpu5_trip>; |
| 783 | cooling-device = <&adsp_vdd 0 0>; |
| 784 | }; |
| 785 | cdsp_vdd_cdev { |
| 786 | trip = <&cpu5_trip>; |
| 787 | cooling-device = <&cdsp_vdd 0 0>; |
| 788 | }; |
| 789 | }; |
| 790 | }; |
| 791 | |
| 792 | kryo-l3-0-lowf { |
| 793 | polling-delay-passive = <0>; |
| 794 | polling-delay = <0>; |
| 795 | thermal-governor = "low_limits_floor"; |
| 796 | thermal-sensors = <&tsens0 7>; |
| 797 | tracks-low; |
| 798 | trips { |
| 799 | l3_0_trip: l3-0-trip { |
| 800 | temperature = <5000>; |
| 801 | hysteresis = <5000>; |
| 802 | type = "passive"; |
| 803 | }; |
| 804 | }; |
| 805 | cooling-maps { |
| 806 | cpu0_vdd_cdev { |
| 807 | trip = <&l3_0_trip>; |
| 808 | cooling-device = <&CPU0 4 4>; |
| 809 | }; |
| 810 | cpu6_vdd_cdev { |
| 811 | trip = <&l3_0_trip>; |
| 812 | cooling-device = <&CPU6 9 9>; |
| 813 | }; |
| 814 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 815 | trip = <&l3_0_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 816 | cooling-device = <&msm_gpu 1 1>; |
| 817 | }; |
| 818 | cx_vdd_cdev { |
| 819 | trip = <&l3_0_trip>; |
| 820 | cooling-device = <&cx_cdev 0 0>; |
| 821 | }; |
| 822 | mx_vdd_cdev { |
| 823 | trip = <&l3_0_trip>; |
| 824 | cooling-device = <&mx_cdev 0 0>; |
| 825 | }; |
| 826 | modem_vdd_cdev { |
| 827 | trip = <&l3_0_trip>; |
| 828 | cooling-device = <&modem_vdd 0 0>; |
| 829 | }; |
| 830 | adsp_vdd_cdev { |
| 831 | trip = <&l3_0_trip>; |
| 832 | cooling-device = <&adsp_vdd 0 0>; |
| 833 | }; |
| 834 | cdsp_vdd_cdev { |
| 835 | trip = <&l3_0_trip>; |
| 836 | cooling-device = <&cdsp_vdd 0 0>; |
| 837 | }; |
| 838 | }; |
| 839 | }; |
| 840 | |
| 841 | kryo-l3-1-lowf { |
| 842 | polling-delay-passive = <0>; |
| 843 | polling-delay = <0>; |
| 844 | thermal-governor = "low_limits_floor"; |
| 845 | thermal-sensors = <&tsens0 8>; |
| 846 | tracks-low; |
| 847 | trips { |
| 848 | l3_1_trip: l3-1-trip { |
| 849 | temperature = <5000>; |
| 850 | hysteresis = <5000>; |
| 851 | type = "passive"; |
| 852 | }; |
| 853 | }; |
| 854 | cooling-maps { |
| 855 | cpu0_vdd_cdev { |
| 856 | trip = <&l3_1_trip>; |
| 857 | cooling-device = <&CPU0 4 4>; |
| 858 | }; |
| 859 | cpu6_vdd_cdev { |
| 860 | trip = <&l3_1_trip>; |
| 861 | cooling-device = <&CPU6 9 9>; |
| 862 | }; |
| 863 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 864 | trip = <&l3_1_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 865 | cooling-device = <&msm_gpu 1 1>; |
| 866 | }; |
| 867 | cx_vdd_cdev { |
| 868 | trip = <&l3_1_trip>; |
| 869 | cooling-device = <&cx_cdev 0 0>; |
| 870 | }; |
| 871 | mx_vdd_cdev { |
| 872 | trip = <&l3_1_trip>; |
| 873 | cooling-device = <&mx_cdev 0 0>; |
| 874 | }; |
| 875 | modem_vdd_cdev { |
| 876 | trip = <&l3_1_trip>; |
| 877 | cooling-device = <&modem_vdd 0 0>; |
| 878 | }; |
| 879 | adsp_vdd_cdev { |
| 880 | trip = <&l3_1_trip>; |
| 881 | cooling-device = <&adsp_vdd 0 0>; |
| 882 | }; |
| 883 | cdsp_vdd_cdev { |
| 884 | trip = <&l3_1_trip>; |
| 885 | cooling-device = <&cdsp_vdd 0 0>; |
| 886 | }; |
| 887 | }; |
| 888 | }; |
| 889 | |
| 890 | cpu0-gold-lowf { |
| 891 | polling-delay-passive = <0>; |
| 892 | polling-delay = <0>; |
| 893 | thermal-governor = "low_limits_floor"; |
| 894 | thermal-sensors = <&tsens0 9>; |
| 895 | tracks-low; |
| 896 | trips { |
| 897 | cpug0_trip: cpug0-trip { |
| 898 | temperature = <5000>; |
| 899 | hysteresis = <5000>; |
| 900 | type = "passive"; |
| 901 | }; |
| 902 | }; |
| 903 | cooling-maps { |
| 904 | cpu0_vdd_cdev { |
| 905 | trip = <&cpug0_trip>; |
| 906 | cooling-device = <&CPU0 4 4>; |
| 907 | }; |
| 908 | cpu6_vdd_cdev { |
| 909 | trip = <&cpug0_trip>; |
| 910 | cooling-device = <&CPU6 9 9>; |
| 911 | }; |
| 912 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 913 | trip = <&cpug0_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 914 | cooling-device = <&msm_gpu 1 1>; |
| 915 | }; |
| 916 | cx_vdd_cdev { |
| 917 | trip = <&cpug0_trip>; |
| 918 | cooling-device = <&cx_cdev 0 0>; |
| 919 | }; |
| 920 | mx_vdd_cdev { |
| 921 | trip = <&cpug0_trip>; |
| 922 | cooling-device = <&mx_cdev 0 0>; |
| 923 | }; |
| 924 | modem_vdd_cdev { |
| 925 | trip = <&cpug0_trip>; |
| 926 | cooling-device = <&modem_vdd 0 0>; |
| 927 | }; |
| 928 | adsp_vdd_cdev { |
| 929 | trip = <&cpug0_trip>; |
| 930 | cooling-device = <&adsp_vdd 0 0>; |
| 931 | }; |
| 932 | cdsp_vdd_cdev { |
| 933 | trip = <&cpug0_trip>; |
| 934 | cooling-device = <&cdsp_vdd 0 0>; |
| 935 | }; |
| 936 | }; |
| 937 | }; |
| 938 | |
| 939 | cpu1-gold-lowf { |
| 940 | polling-delay-passive = <0>; |
| 941 | polling-delay = <0>; |
| 942 | thermal-governor = "low_limits_floor"; |
| 943 | thermal-sensors = <&tsens0 10>; |
| 944 | tracks-low; |
| 945 | trips { |
| 946 | cpug1_trip: cpug1-trip { |
| 947 | temperature = <5000>; |
| 948 | hysteresis = <5000>; |
| 949 | type = "passive"; |
| 950 | }; |
| 951 | }; |
| 952 | cooling-maps { |
| 953 | cpu0_vdd_cdev { |
| 954 | trip = <&cpug1_trip>; |
| 955 | cooling-device = <&CPU0 4 4>; |
| 956 | }; |
| 957 | cpu6_vdd_cdev { |
| 958 | trip = <&cpug1_trip>; |
| 959 | cooling-device = <&CPU6 9 9>; |
| 960 | }; |
| 961 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 962 | trip = <&cpug1_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 963 | cooling-device = <&msm_gpu 1 1>; |
| 964 | }; |
| 965 | cx_vdd_cdev { |
| 966 | trip = <&cpug1_trip>; |
| 967 | cooling-device = <&cx_cdev 0 0>; |
| 968 | }; |
| 969 | mx_vdd_cdev { |
| 970 | trip = <&cpug1_trip>; |
| 971 | cooling-device = <&mx_cdev 0 0>; |
| 972 | }; |
| 973 | modem_vdd_cdev { |
| 974 | trip = <&cpug1_trip>; |
| 975 | cooling-device = <&modem_vdd 0 0>; |
| 976 | }; |
| 977 | adsp_vdd_cdev { |
| 978 | trip = <&cpug1_trip>; |
| 979 | cooling-device = <&adsp_vdd 0 0>; |
| 980 | }; |
| 981 | cdsp_vdd_cdev { |
| 982 | trip = <&cpug1_trip>; |
| 983 | cooling-device = <&cdsp_vdd 0 0>; |
| 984 | }; |
| 985 | }; |
| 986 | }; |
| 987 | |
| 988 | gpu0-lowf { |
| 989 | polling-delay-passive = <0>; |
| 990 | polling-delay = <0>; |
| 991 | thermal-governor = "low_limits_floor"; |
| 992 | thermal-sensors = <&tsens0 11>; |
| 993 | tracks-low; |
| 994 | trips { |
| 995 | gpu0_trip_l: gpu0-trip { |
| 996 | temperature = <5000>; |
| 997 | hysteresis = <5000>; |
| 998 | type = "passive"; |
| 999 | }; |
| 1000 | }; |
| 1001 | cooling-maps { |
| 1002 | cpu0_vdd_cdev { |
| 1003 | trip = <&gpu0_trip_l>; |
| 1004 | cooling-device = <&CPU0 4 4>; |
| 1005 | }; |
| 1006 | cpu6_vdd_cdev { |
| 1007 | trip = <&gpu0_trip_l>; |
| 1008 | cooling-device = <&CPU6 9 9>; |
| 1009 | }; |
| 1010 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1011 | trip = <&gpu0_trip_l>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1012 | cooling-device = <&msm_gpu 1 1>; |
| 1013 | }; |
| 1014 | cx_vdd_cdev { |
| 1015 | trip = <&gpu0_trip_l>; |
| 1016 | cooling-device = <&cx_cdev 0 0>; |
| 1017 | }; |
| 1018 | mx_vdd_cdev { |
| 1019 | trip = <&gpu0_trip_l>; |
| 1020 | cooling-device = <&mx_cdev 0 0>; |
| 1021 | }; |
| 1022 | modem_vdd_cdev { |
| 1023 | trip = <&gpu0_trip_l>; |
| 1024 | cooling-device = <&modem_vdd 0 0>; |
| 1025 | }; |
| 1026 | adsp_vdd_cdev { |
| 1027 | trip = <&gpu0_trip_l>; |
| 1028 | cooling-device = <&adsp_vdd 0 0>; |
| 1029 | }; |
| 1030 | cdsp_vdd_cdev { |
| 1031 | trip = <&gpu0_trip_l>; |
| 1032 | cooling-device = <&cdsp_vdd 0 0>; |
| 1033 | }; |
| 1034 | }; |
| 1035 | }; |
| 1036 | |
| 1037 | gpu1-lowf { |
| 1038 | polling-delay-passive = <0>; |
| 1039 | polling-delay = <0>; |
| 1040 | thermal-governor = "low_limits_floor"; |
| 1041 | thermal-sensors = <&tsens0 12>; |
| 1042 | tracks-low; |
| 1043 | trips { |
| 1044 | gpu1_trip_l: gpu1-trip_l { |
| 1045 | temperature = <5000>; |
| 1046 | hysteresis = <5000>; |
| 1047 | type = "passive"; |
| 1048 | }; |
| 1049 | }; |
| 1050 | cooling-maps { |
| 1051 | cpu0_vdd_cdev { |
| 1052 | trip = <&gpu1_trip_l>; |
| 1053 | cooling-device = <&CPU0 4 4>; |
| 1054 | }; |
| 1055 | cpu6_vdd_cdev { |
| 1056 | trip = <&gpu1_trip_l>; |
| 1057 | cooling-device = <&CPU6 9 9>; |
| 1058 | }; |
| 1059 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1060 | trip = <&gpu1_trip_l>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1061 | cooling-device = <&msm_gpu 1 1>; |
| 1062 | }; |
| 1063 | cx_vdd_cdev { |
| 1064 | trip = <&gpu1_trip_l>; |
| 1065 | cooling-device = <&cx_cdev 0 0>; |
| 1066 | }; |
| 1067 | mx_vdd_cdev { |
| 1068 | trip = <&gpu1_trip_l>; |
| 1069 | cooling-device = <&mx_cdev 0 0>; |
| 1070 | }; |
| 1071 | modem_vdd_cdev { |
| 1072 | trip = <&gpu1_trip_l>; |
| 1073 | cooling-device = <&modem_vdd 0 0>; |
| 1074 | }; |
| 1075 | adsp_vdd_cdev { |
| 1076 | trip = <&gpu1_trip_l>; |
| 1077 | cooling-device = <&adsp_vdd 0 0>; |
| 1078 | }; |
| 1079 | cdsp_vdd_cdev { |
| 1080 | trip = <&gpu1_trip_l>; |
| 1081 | cooling-device = <&cdsp_vdd 0 0>; |
| 1082 | }; |
| 1083 | }; |
| 1084 | }; |
| 1085 | |
| 1086 | aoss1-lowf { |
| 1087 | polling-delay-passive = <0>; |
| 1088 | polling-delay = <0>; |
| 1089 | thermal-governor = "low_limits_floor"; |
| 1090 | thermal-sensors = <&tsens1 0>; |
| 1091 | tracks-low; |
| 1092 | trips { |
| 1093 | aoss1_trip: aoss1-trip { |
| 1094 | temperature = <5000>; |
| 1095 | hysteresis = <5000>; |
| 1096 | type = "passive"; |
| 1097 | }; |
| 1098 | }; |
| 1099 | cooling-maps { |
| 1100 | cpu0_vdd_cdev { |
| 1101 | trip = <&aoss1_trip>; |
| 1102 | cooling-device = <&CPU0 4 4>; |
| 1103 | }; |
| 1104 | cpu6_vdd_cdev { |
| 1105 | trip = <&aoss1_trip>; |
| 1106 | cooling-device = <&CPU6 9 9>; |
| 1107 | }; |
| 1108 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1109 | trip = <&aoss1_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1110 | cooling-device = <&msm_gpu 1 1>; |
| 1111 | }; |
| 1112 | cx_vdd_cdev { |
| 1113 | trip = <&aoss1_trip>; |
| 1114 | cooling-device = <&cx_cdev 0 0>; |
| 1115 | }; |
| 1116 | mx_vdd_cdev { |
| 1117 | trip = <&aoss1_trip>; |
| 1118 | cooling-device = <&mx_cdev 0 0>; |
| 1119 | }; |
| 1120 | modem_vdd_cdev { |
| 1121 | trip = <&aoss1_trip>; |
| 1122 | cooling-device = <&modem_vdd 0 0>; |
| 1123 | }; |
| 1124 | adsp_vdd_cdev { |
| 1125 | trip = <&aoss1_trip>; |
| 1126 | cooling-device = <&adsp_vdd 0 0>; |
| 1127 | }; |
| 1128 | cdsp_vdd_cdev { |
| 1129 | trip = <&aoss1_trip>; |
| 1130 | cooling-device = <&cdsp_vdd 0 0>; |
| 1131 | }; |
| 1132 | }; |
| 1133 | }; |
| 1134 | |
| 1135 | mdm-dsp-lowf { |
| 1136 | polling-delay-passive = <0>; |
| 1137 | polling-delay = <0>; |
| 1138 | thermal-governor = "low_limits_floor"; |
| 1139 | thermal-sensors = <&tsens1 1>; |
| 1140 | tracks-low; |
| 1141 | trips { |
| 1142 | dsp_trip: dsp-trip { |
| 1143 | temperature = <5000>; |
| 1144 | hysteresis = <5000>; |
| 1145 | type = "passive"; |
| 1146 | }; |
| 1147 | }; |
| 1148 | cooling-maps { |
| 1149 | cpu0_vdd_cdev { |
| 1150 | trip = <&dsp_trip>; |
| 1151 | cooling-device = <&CPU0 4 4>; |
| 1152 | }; |
| 1153 | cpu6_vdd_cdev { |
| 1154 | trip = <&dsp_trip>; |
| 1155 | cooling-device = <&CPU6 9 9>; |
| 1156 | }; |
| 1157 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1158 | trip = <&dsp_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1159 | cooling-device = <&msm_gpu 1 1>; |
| 1160 | }; |
| 1161 | cx_vdd_cdev { |
| 1162 | trip = <&dsp_trip>; |
| 1163 | cooling-device = <&cx_cdev 0 0>; |
| 1164 | }; |
| 1165 | mx_vdd_cdev { |
| 1166 | trip = <&dsp_trip>; |
| 1167 | cooling-device = <&mx_cdev 0 0>; |
| 1168 | }; |
| 1169 | modem_vdd_cdev { |
| 1170 | trip = <&dsp_trip>; |
| 1171 | cooling-device = <&modem_vdd 0 0>; |
| 1172 | }; |
| 1173 | adsp_vdd_cdev { |
| 1174 | trip = <&dsp_trip>; |
| 1175 | cooling-device = <&adsp_vdd 0 0>; |
| 1176 | }; |
| 1177 | cdsp_vdd_cdev { |
| 1178 | trip = <&dsp_trip>; |
| 1179 | cooling-device = <&cdsp_vdd 0 0>; |
| 1180 | }; |
| 1181 | }; |
| 1182 | }; |
| 1183 | |
| 1184 | ddr-lowf { |
| 1185 | polling-delay-passive = <0>; |
| 1186 | polling-delay = <0>; |
| 1187 | thermal-governor = "low_limits_floor"; |
| 1188 | thermal-sensors = <&tsens1 2>; |
| 1189 | tracks-low; |
| 1190 | trips { |
| 1191 | ddr_trip: ddr-trip { |
| 1192 | temperature = <5000>; |
| 1193 | hysteresis = <5000>; |
| 1194 | type = "passive"; |
| 1195 | }; |
| 1196 | }; |
| 1197 | cooling-maps { |
| 1198 | cpu0_vdd_cdev { |
| 1199 | trip = <&ddr_trip>; |
| 1200 | cooling-device = <&CPU0 4 4>; |
| 1201 | }; |
| 1202 | cpu6_vdd_cdev { |
| 1203 | trip = <&ddr_trip>; |
| 1204 | cooling-device = <&CPU6 9 9>; |
| 1205 | }; |
| 1206 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1207 | trip = <&ddr_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1208 | cooling-device = <&msm_gpu 1 1>; |
| 1209 | }; |
| 1210 | cx_vdd_cdev { |
| 1211 | trip = <&ddr_trip>; |
| 1212 | cooling-device = <&cx_cdev 0 0>; |
| 1213 | }; |
| 1214 | mx_vdd_cdev { |
| 1215 | trip = <&ddr_trip>; |
| 1216 | cooling-device = <&mx_cdev 0 0>; |
| 1217 | }; |
| 1218 | modem_vdd_cdev { |
| 1219 | trip = <&ddr_trip>; |
| 1220 | cooling-device = <&modem_vdd 0 0>; |
| 1221 | }; |
| 1222 | adsp_vdd_cdev { |
| 1223 | trip = <&ddr_trip>; |
| 1224 | cooling-device = <&adsp_vdd 0 0>; |
| 1225 | }; |
| 1226 | cdsp_vdd_cdev { |
| 1227 | trip = <&ddr_trip>; |
| 1228 | cooling-device = <&cdsp_vdd 0 0>; |
| 1229 | }; |
| 1230 | }; |
| 1231 | }; |
| 1232 | |
| 1233 | wlan-lowf { |
| 1234 | polling-delay-passive = <0>; |
| 1235 | polling-delay = <0>; |
| 1236 | thermal-governor = "low_limits_floor"; |
| 1237 | thermal-sensors = <&tsens1 3>; |
| 1238 | tracks-low; |
| 1239 | trips { |
| 1240 | wlan_trip: wlan-trip { |
| 1241 | temperature = <5000>; |
| 1242 | hysteresis = <5000>; |
| 1243 | type = "passive"; |
| 1244 | }; |
| 1245 | }; |
| 1246 | cooling-maps { |
| 1247 | cpu0_vdd_cdev { |
| 1248 | trip = <&wlan_trip>; |
| 1249 | cooling-device = <&CPU0 4 4>; |
| 1250 | }; |
| 1251 | cpu6_vdd_cdev { |
| 1252 | trip = <&wlan_trip>; |
| 1253 | cooling-device = <&CPU6 9 9>; |
| 1254 | }; |
| 1255 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1256 | trip = <&wlan_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1257 | cooling-device = <&msm_gpu 1 1>; |
| 1258 | }; |
| 1259 | cx_vdd_cdev { |
| 1260 | trip = <&wlan_trip>; |
| 1261 | cooling-device = <&cx_cdev 0 0>; |
| 1262 | }; |
| 1263 | mx_vdd_cdev { |
| 1264 | trip = <&wlan_trip>; |
| 1265 | cooling-device = <&mx_cdev 0 0>; |
| 1266 | }; |
| 1267 | modem_vdd_cdev { |
| 1268 | trip = <&wlan_trip>; |
| 1269 | cooling-device = <&modem_vdd 0 0>; |
| 1270 | }; |
| 1271 | adsp_vdd_cdev { |
| 1272 | trip = <&wlan_trip>; |
| 1273 | cooling-device = <&adsp_vdd 0 0>; |
| 1274 | }; |
| 1275 | cdsp_vdd_cdev { |
| 1276 | trip = <&wlan_trip>; |
| 1277 | cooling-device = <&cdsp_vdd 0 0>; |
| 1278 | }; |
| 1279 | }; |
| 1280 | }; |
| 1281 | |
| 1282 | compute-hvx-lowf { |
| 1283 | polling-delay-passive = <0>; |
| 1284 | polling-delay = <0>; |
| 1285 | thermal-governor = "low_limits_floor"; |
| 1286 | thermal-sensors = <&tsens1 4>; |
| 1287 | tracks-low; |
| 1288 | trips { |
| 1289 | hvx_trip: hvx-trip { |
| 1290 | temperature = <5000>; |
| 1291 | hysteresis = <5000>; |
| 1292 | type = "passive"; |
| 1293 | }; |
| 1294 | }; |
| 1295 | cooling-maps { |
| 1296 | cpu0_vdd_cdev { |
| 1297 | trip = <&hvx_trip>; |
| 1298 | cooling-device = <&CPU0 4 4>; |
| 1299 | }; |
| 1300 | cpu6_vdd_cdev { |
| 1301 | trip = <&hvx_trip>; |
| 1302 | cooling-device = <&CPU6 9 9>; |
| 1303 | }; |
| 1304 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1305 | trip = <&hvx_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1306 | cooling-device = <&msm_gpu 1 1>; |
| 1307 | }; |
| 1308 | cx_vdd_cdev { |
| 1309 | trip = <&hvx_trip>; |
| 1310 | cooling-device = <&cx_cdev 0 0>; |
| 1311 | }; |
| 1312 | mx_vdd_cdev { |
| 1313 | trip = <&hvx_trip>; |
| 1314 | cooling-device = <&mx_cdev 0 0>; |
| 1315 | }; |
| 1316 | modem_vdd_cdev { |
| 1317 | trip = <&hvx_trip>; |
| 1318 | cooling-device = <&modem_vdd 0 0>; |
| 1319 | }; |
| 1320 | adsp_vdd_cdev { |
| 1321 | trip = <&hvx_trip>; |
| 1322 | cooling-device = <&adsp_vdd 0 0>; |
| 1323 | }; |
| 1324 | cdsp_vdd_cdev { |
| 1325 | trip = <&hvx_trip>; |
| 1326 | cooling-device = <&cdsp_vdd 0 0>; |
| 1327 | }; |
| 1328 | }; |
| 1329 | }; |
| 1330 | |
| 1331 | camera-lowf { |
| 1332 | polling-delay-passive = <0>; |
| 1333 | polling-delay = <0>; |
| 1334 | thermal-governor = "low_limits_floor"; |
| 1335 | thermal-sensors = <&tsens1 5>; |
| 1336 | tracks-low; |
| 1337 | trips { |
| 1338 | camera_trip: camera-trip { |
| 1339 | temperature = <5000>; |
| 1340 | hysteresis = <5000>; |
| 1341 | type = "passive"; |
| 1342 | }; |
| 1343 | }; |
| 1344 | cooling-maps { |
| 1345 | cpu0_vdd_cdev { |
| 1346 | trip = <&camera_trip>; |
| 1347 | cooling-device = <&CPU0 4 4>; |
| 1348 | }; |
| 1349 | cpu6_vdd_cdev { |
| 1350 | trip = <&camera_trip>; |
| 1351 | cooling-device = <&CPU6 9 9>; |
| 1352 | }; |
| 1353 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1354 | trip = <&camera_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1355 | cooling-device = <&msm_gpu 1 1>; |
| 1356 | }; |
| 1357 | cx_vdd_cdev { |
| 1358 | trip = <&camera_trip>; |
| 1359 | cooling-device = <&cx_cdev 0 0>; |
| 1360 | }; |
| 1361 | mx_vdd_cdev { |
| 1362 | trip = <&camera_trip>; |
| 1363 | cooling-device = <&mx_cdev 0 0>; |
| 1364 | }; |
| 1365 | modem_vdd_cdev { |
| 1366 | trip = <&camera_trip>; |
| 1367 | cooling-device = <&modem_vdd 0 0>; |
| 1368 | }; |
| 1369 | adsp_vdd_cdev { |
| 1370 | trip = <&camera_trip>; |
| 1371 | cooling-device = <&adsp_vdd 0 0>; |
| 1372 | }; |
| 1373 | cdsp_vdd_cdev { |
| 1374 | trip = <&camera_trip>; |
| 1375 | cooling-device = <&cdsp_vdd 0 0>; |
| 1376 | }; |
| 1377 | }; |
| 1378 | }; |
| 1379 | |
| 1380 | mmss-lowf { |
| 1381 | polling-delay-passive = <0>; |
| 1382 | polling-delay = <0>; |
| 1383 | thermal-governor = "low_limits_floor"; |
| 1384 | thermal-sensors = <&tsens1 6>; |
| 1385 | tracks-low; |
| 1386 | trips { |
| 1387 | mmss_trip: mmss-trip { |
| 1388 | temperature = <5000>; |
| 1389 | hysteresis = <5000>; |
| 1390 | type = "passive"; |
| 1391 | }; |
| 1392 | }; |
| 1393 | cooling-maps { |
| 1394 | cpu0_vdd_cdev { |
| 1395 | trip = <&mmss_trip>; |
| 1396 | cooling-device = <&CPU0 4 4>; |
| 1397 | }; |
| 1398 | cpu6_vdd_cdev { |
| 1399 | trip = <&mmss_trip>; |
| 1400 | cooling-device = <&CPU6 9 9>; |
| 1401 | }; |
| 1402 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1403 | trip = <&mmss_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1404 | cooling-device = <&msm_gpu 1 1>; |
| 1405 | }; |
| 1406 | cx_vdd_cdev { |
| 1407 | trip = <&mmss_trip>; |
| 1408 | cooling-device = <&cx_cdev 0 0>; |
| 1409 | }; |
| 1410 | mx_vdd_cdev { |
| 1411 | trip = <&mmss_trip>; |
| 1412 | cooling-device = <&mx_cdev 0 0>; |
| 1413 | }; |
| 1414 | modem_vdd_cdev { |
| 1415 | trip = <&mmss_trip>; |
| 1416 | cooling-device = <&modem_vdd 0 0>; |
| 1417 | }; |
| 1418 | adsp_vdd_cdev { |
| 1419 | trip = <&mmss_trip>; |
| 1420 | cooling-device = <&adsp_vdd 0 0>; |
| 1421 | }; |
| 1422 | cdsp_vdd_cdev { |
| 1423 | trip = <&mmss_trip>; |
| 1424 | cooling-device = <&cdsp_vdd 0 0>; |
| 1425 | }; |
| 1426 | }; |
| 1427 | }; |
| 1428 | |
| 1429 | mdm-core-lowf { |
| 1430 | polling-delay-passive = <0>; |
| 1431 | polling-delay = <0>; |
| 1432 | thermal-governor = "low_limits_floor"; |
| 1433 | thermal-sensors = <&tsens1 7>; |
| 1434 | tracks-low; |
| 1435 | trips { |
| 1436 | mdm_trip: mdm-trip { |
| 1437 | temperature = <5000>; |
| 1438 | hysteresis = <5000>; |
| 1439 | type = "passive"; |
| 1440 | }; |
| 1441 | }; |
| 1442 | cooling-maps { |
| 1443 | cpu0_vdd_cdev { |
| 1444 | trip = <&mdm_trip>; |
| 1445 | cooling-device = <&CPU0 4 4>; |
| 1446 | }; |
| 1447 | cpu6_vdd_cdev { |
| 1448 | trip = <&mdm_trip>; |
| 1449 | cooling-device = <&CPU6 9 9>; |
| 1450 | }; |
| 1451 | gpu_vdd_cdev { |
Manaf Meethalavalappu Pallikunhi | aeb42ed | 2017-10-10 00:21:35 +0530 | [diff] [blame] | 1452 | trip = <&mdm_trip>; |
Manaf Meethalavalappu Pallikunhi | 07ee081 | 2017-09-07 01:09:06 +0530 | [diff] [blame] | 1453 | cooling-device = <&msm_gpu 1 1>; |
| 1454 | }; |
| 1455 | cx_vdd_cdev { |
| 1456 | trip = <&mdm_trip>; |
| 1457 | cooling-device = <&cx_cdev 0 0>; |
| 1458 | }; |
| 1459 | mx_vdd_cdev { |
| 1460 | trip = <&mdm_trip>; |
| 1461 | cooling-device = <&mx_cdev 0 0>; |
| 1462 | }; |
| 1463 | modem_vdd_cdev { |
| 1464 | trip = <&mdm_trip>; |
| 1465 | cooling-device = <&modem_vdd 0 0>; |
| 1466 | }; |
| 1467 | adsp_vdd_cdev { |
| 1468 | trip = <&mdm_trip>; |
| 1469 | cooling-device = <&adsp_vdd 0 0>; |
| 1470 | }; |
| 1471 | cdsp_vdd_cdev { |
| 1472 | trip = <&mdm_trip>; |
| 1473 | cooling-device = <&cdsp_vdd 0 0>; |
| 1474 | }; |
| 1475 | }; |
| 1476 | }; |
| 1477 | |
| 1478 | lmh-dcvs-01 { |
| 1479 | polling-delay-passive = <0>; |
| 1480 | polling-delay = <0>; |
| 1481 | thermal-governor = "user_space"; |
| 1482 | thermal-sensors = <&lmh_dcvs1>; |
| 1483 | |
| 1484 | trips { |
| 1485 | active-config { |
| 1486 | temperature = <95000>; |
| 1487 | hysteresis = <30000>; |
| 1488 | type = "passive"; |
| 1489 | }; |
| 1490 | }; |
| 1491 | }; |
| 1492 | |
| 1493 | lmh-dcvs-00 { |
| 1494 | polling-delay-passive = <0>; |
| 1495 | polling-delay = <0>; |
| 1496 | thermal-governor = "user_space"; |
| 1497 | thermal-sensors = <&lmh_dcvs0>; |
| 1498 | |
| 1499 | trips { |
| 1500 | active-config { |
| 1501 | temperature = <95000>; |
| 1502 | hysteresis = <30000>; |
| 1503 | type = "passive"; |
| 1504 | }; |
| 1505 | }; |
| 1506 | }; |
Manaf Meethalavalappu Pallikunhi | 52c7ba1 | 2017-09-07 01:41:43 +0530 | [diff] [blame] | 1507 | }; |