| /* Copyright (c) 2019, The Linux Foundation. All rights reserved. |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 and |
| * only version 2 as published by the Free Software Foundation. |
| * |
| * This program is distributed in the hope that it will be useful, |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| * GNU General Public License for more details. |
| */ |
| |
| #include <dt-bindings/thermal/thermal.h> |
| #include "sdxprairie-thermal-common.dtsi" |
| |
| &thermal_zones { |
| aoss0-usr { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "user_space"; |
| thermal-sensors = <&tsens0 0>; |
| trips { |
| active-config0 { |
| temperature = <125000>; |
| hysteresis = <1000>; |
| type = "passive"; |
| }; |
| active-config1 { |
| temperature = <115000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| }; |
| |
| mdm-q6-usr { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "user_space"; |
| thermal-sensors = <&tsens0 1>; |
| trips { |
| active-config0 { |
| temperature = <125000>; |
| hysteresis = <1000>; |
| type = "passive"; |
| }; |
| active-config1 { |
| temperature = <115000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| }; |
| |
| ipa-usr { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "user_space"; |
| thermal-sensors = <&tsens0 2>; |
| trips { |
| active-config0 { |
| temperature = <125000>; |
| hysteresis = <1000>; |
| type = "passive"; |
| }; |
| active-config1 { |
| temperature = <115000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| }; |
| |
| cpu0-0-usr { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "user_space"; |
| thermal-sensors = <&tsens0 3>; |
| trips { |
| active-config0 { |
| temperature = <125000>; |
| hysteresis = <1000>; |
| type = "passive"; |
| }; |
| active-config1 { |
| temperature = <115000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| }; |
| |
| mdm-core-2-usr { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-sensors = <&tsens0 4>; |
| thermal-governor = "user_space"; |
| trips { |
| active-config0 { |
| temperature = <125000>; |
| hysteresis = <1000>; |
| type = "passive"; |
| }; |
| active-config1 { |
| temperature = <115000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| }; |
| |
| mdm-core-1-usr { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-sensors = <&tsens0 5>; |
| thermal-governor = "user_space"; |
| trips { |
| active-config0 { |
| temperature = <125000>; |
| hysteresis = <1000>; |
| type = "passive"; |
| }; |
| active-config1 { |
| temperature = <115000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| }; |
| |
| mdm-core-0-usr { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-sensors = <&tsens0 6>; |
| thermal-governor = "user_space"; |
| trips { |
| active-config0 { |
| temperature = <125000>; |
| hysteresis = <1000>; |
| type = "passive"; |
| }; |
| active-config1 { |
| temperature = <115000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| }; |
| |
| aoss0-lowf { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "low_limits_floor"; |
| thermal-sensors = <&tsens0 0>; |
| tracks-low; |
| trips { |
| aoss0_trip: active-config0 { |
| temperature = <5000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| cooling-maps { |
| cpu0_cdev { |
| trip = <&aoss0_trip>; |
| cooling-device = <&CPU0 1 1>; |
| }; |
| modem_vdd_cdev { |
| trip = <&aoss0_trip>; |
| cooling-device = <&modem_vdd 0 0>; |
| }; |
| cx_vdd_cdev { |
| trip = <&aoss0_trip>; |
| cooling-device = <&cx_cdev 0 0>; |
| }; |
| mx_vdd_cdev { |
| trip = <&aoss0_trip>; |
| cooling-device = <&mx_cdev 0 0>; |
| }; |
| }; |
| }; |
| |
| mdm-q6-lowf { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "low_limits_floor"; |
| thermal-sensors = <&tsens0 1>; |
| tracks-low; |
| trips { |
| mdm_q6_trip: active-config0 { |
| temperature = <5000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| cooling-maps { |
| cpu0_cdev { |
| trip = <&mdm_q6_trip>; |
| cooling-device = <&CPU0 1 1>; |
| }; |
| modem_vdd_cdev { |
| trip = <&mdm_q6_trip>; |
| cooling-device = <&modem_vdd 0 0>; |
| }; |
| cx_vdd_cdev { |
| trip = <&mdm_q6_trip>; |
| cooling-device = <&cx_cdev 0 0>; |
| }; |
| mx_vdd_cdev { |
| trip = <&mdm_q6_trip>; |
| cooling-device = <&mx_cdev 0 0>; |
| }; |
| }; |
| }; |
| |
| ipa-lowf { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "low_limits_floor"; |
| thermal-sensors = <&tsens0 2>; |
| tracks-low; |
| trips { |
| ipa_trip: active-config0 { |
| temperature = <5000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| cooling-maps { |
| cpu0_cdev { |
| trip = <&ipa_trip>; |
| cooling-device = <&CPU0 1 1>; |
| }; |
| modem_vdd_cdev { |
| trip = <&ipa_trip>; |
| cooling-device = <&modem_vdd 0 0>; |
| }; |
| cx_vdd_cdev { |
| trip = <&ipa_trip>; |
| cooling-device = <&cx_cdev 0 0>; |
| }; |
| mx_vdd_cdev { |
| trip = <&ipa_trip>; |
| cooling-device = <&mx_cdev 0 0>; |
| }; |
| }; |
| }; |
| |
| cpu0-0-lowf { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-governor = "low_limits_floor"; |
| thermal-sensors = <&tsens0 3>; |
| tracks-low; |
| trips { |
| cpu0_trip: active-config0 { |
| temperature = <5000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| cooling-maps { |
| cpu0_cdev { |
| trip = <&cpu0_trip>; |
| cooling-device = <&CPU0 1 1>; |
| }; |
| modem_vdd_cdev { |
| trip = <&cpu0_trip>; |
| cooling-device = <&modem_vdd 0 0>; |
| }; |
| cx_vdd_cdev { |
| trip = <&cpu0_trip>; |
| cooling-device = <&cx_cdev 0 0>; |
| }; |
| mx_vdd_cdev { |
| trip = <&cpu0_trip>; |
| cooling-device = <&mx_cdev 0 0>; |
| }; |
| }; |
| }; |
| |
| mdm-core-2-lowf { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-sensors = <&tsens0 4>; |
| thermal-governor = "low_limits_floor"; |
| tracks-low; |
| trips { |
| mdm_5g_trip: active-config0 { |
| temperature = <5000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| cooling-maps { |
| cpu0_cdev { |
| trip = <&mdm_5g_trip>; |
| cooling-device = <&CPU0 1 1>; |
| }; |
| modem_vdd_cdev { |
| trip = <&mdm_5g_trip>; |
| cooling-device = <&modem_vdd 0 0>; |
| }; |
| cx_vdd_cdev { |
| trip = <&mdm_5g_trip>; |
| cooling-device = <&cx_cdev 0 0>; |
| }; |
| mx_vdd_cdev { |
| trip = <&mdm_5g_trip>; |
| cooling-device = <&mx_cdev 0 0>; |
| }; |
| }; |
| }; |
| |
| mdm-core-1-lowf { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-sensors = <&tsens0 5>; |
| thermal-governor = "low_limits_floor"; |
| tracks-low; |
| trips { |
| mdm_vpe_trip: active-config0 { |
| temperature = <5000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| cooling-maps { |
| cpu0_cdev { |
| trip = <&mdm_vpe_trip>; |
| cooling-device = <&CPU0 1 1>; |
| }; |
| modem_vdd_cdev { |
| trip = <&mdm_vpe_trip>; |
| cooling-device = <&modem_vdd 0 0>; |
| }; |
| cx_vdd_cdev { |
| trip = <&mdm_vpe_trip>; |
| cooling-device = <&cx_cdev 0 0>; |
| }; |
| mx_vdd_cdev { |
| trip = <&mdm_vpe_trip>; |
| cooling-device = <&mx_cdev 0 0>; |
| }; |
| }; |
| }; |
| |
| mdm-core-0-lowf { |
| polling-delay-passive = <0>; |
| polling-delay = <0>; |
| thermal-sensors = <&tsens0 6>; |
| thermal-governor = "low_limits_floor"; |
| tracks-low; |
| trips { |
| mdm_core_trip: active-config0 { |
| temperature = <5000>; |
| hysteresis = <5000>; |
| type = "passive"; |
| }; |
| }; |
| cooling-maps { |
| cpu0_cdev { |
| trip = <&mdm_core_trip>; |
| cooling-device = <&CPU0 1 1>; |
| }; |
| modem_vdd_cdev { |
| trip = <&mdm_core_trip>; |
| cooling-device = <&modem_vdd 0 0>; |
| }; |
| cx_vdd_cdev { |
| trip = <&mdm_core_trip>; |
| cooling-device = <&cx_cdev 0 0>; |
| }; |
| mx_vdd_cdev { |
| trip = <&mdm_core_trip>; |
| cooling-device = <&mx_cdev 0 0>; |
| }; |
| }; |
| }; |
| }; |