diff options
Diffstat (limited to 'qcom/kona-thermal.dtsi')
-rwxr-xr-x | qcom/kona-thermal.dtsi | 1407 |
1 files changed, 876 insertions, 531 deletions
diff --git a/qcom/kona-thermal.dtsi b/qcom/kona-thermal.dtsi index bf939ab6..3a249fbf 100755 --- a/qcom/kona-thermal.dtsi +++ b/qcom/kona-thermal.dtsi @@ -1,45 +1,156 @@ -#include <dt-bindings/thermal/thermal.h> -#include <dt-bindings/thermal/qmi_thermal.h> - -&cpufreq_hw { - qcom,cpu-isolation { - compatible = "qcom,cpu-isolate"; - cpu0_isolate: cpu0-isolate { - qcom,cpu = <&CPU0>; +#include <dt-bindings/thermal/thermal_qti.h> + +&msm_gpu { + #cooling-cells = <2>; +}; + +&soc { + tsens0: tsens@c222000 { + compatible = "qcom,tsens24xx"; + reg = <0xc222000 0x8>, + <0xc263000 0x1ff>; + reg-names = "tsens_srot_physical", + "tsens_tm_physical"; + interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "tsens-upper-lower", "tsens-critical"; + tsens-reinit-wa; + #thermal-sensor-cells = <1>; + }; + + tsens1: tsens@c223000 { + compatible = "qcom,tsens24xx"; + reg = <0xc223000 0x8>, + <0xc265000 0x1ff>; + reg-names = "tsens_srot_physical", + "tsens_tm_physical"; + interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>; + interrupt-names = "tsens-upper-lower", "tsens-critical"; + tsens-reinit-wa; + #thermal-sensor-cells = <1>; + }; + + qcom,cpu-pause { + compatible = "qcom,thermal-pause"; + + cpu0_pause: cpu0-pause { + qcom,cpus = <&CPU0>; #cooling-cells = <2>; }; - cpu1_isolate: cpu1-isolate { + cpu1_pause: cpu1-pause { + qcom,cpus = <&CPU1>; + #cooling-cells = <2>; + }; + + cpu2_pause: cpu2-pause { + qcom,cpus = <&CPU2>; + #cooling-cells = <2>; + }; + + cpu3_pause: cpu3-pause { + qcom,cpus = <&CPU3>; + #cooling-cells = <2>; + }; + + cpu4_pause: cpu4-pause { + qcom,cpus = <&CPU4>; + #cooling-cells = <2>; + }; + + cpu5_pause: cpu5-pause { + qcom,cpus = <&CPU5>; + #cooling-cells = <2>; + }; + + cpu6_pause: cpu6-pause { + qcom,cpus = <&CPU6>; + #cooling-cells = <2>; + }; + + cpu7_pause: cpu7-pause { + qcom,cpus = <&CPU7>; + #cooling-cells = <2>; + }; + + /* Thermal-engine cooling devices */ + + pause-cpu0 { + qcom,cpus = <&CPU0>; + qcom,cdev-alias = "pause-cpu0"; + }; + + pause-cpu1 { + qcom,cpus = <&CPU1>; + qcom,cdev-alias = "pause-cpu1"; + }; + + pause-cpu2 { + qcom,cpus = <&CPU2>; + qcom,cdev-alias = "pause-cpu2"; + }; + + pause-cpu3 { + qcom,cpus = <&CPU3>; + qcom,cdev-alias = "pause-cpu3"; + }; + + pause-cpu4 { + qcom,cpus = <&CPU4>; + qcom,cdev-alias = "pause-cpu4"; + }; + + pause-cpu5 { + qcom,cpus = <&CPU5>; + qcom,cdev-alias = "pause-cpu5"; + }; + + pause-cpu6 { + qcom,cpus = <&CPU6>; + qcom,cdev-alias = "pause-cpu6"; + }; + + pause-cpu7 { + qcom,cpus = <&CPU7>; + qcom,cdev-alias = "pause-cpu7"; + }; + }; + + qcom,cpu-hotplug { + compatible = "qcom,cpu-hotplug"; + + cpu1_hotplug: cpu1-hotplug { qcom,cpu = <&CPU1>; #cooling-cells = <2>; }; - cpu2_isolate: cpu2-isolate { + cpu2_hotplug: cpu2-hotplug { qcom,cpu = <&CPU2>; #cooling-cells = <2>; }; - cpu3_isolate: cpu3-isolate { + cpu3_hotplug: cpu3-hotplug { qcom,cpu = <&CPU3>; #cooling-cells = <2>; }; - cpu4_isolate: cpu4-isolate { + cpu4_hotplug: cpu4-hotplug { qcom,cpu = <&CPU4>; #cooling-cells = <2>; }; - cpu5_isolate: cpu5-isolate { + cpu5_hotplug: cpu5-hotplug { qcom,cpu = <&CPU5>; #cooling-cells = <2>; }; - cpu6_isolate: cpu6-isolate { + cpu6_hotplug: cpu6-hotplug { qcom,cpu = <&CPU6>; #cooling-cells = <2>; }; - cpu7_isolate: cpu7-isolate { + cpu7_hotplug: cpu7-hotplug { qcom,cpu = <&CPU7>; #cooling-cells = <2>; }; @@ -52,9 +163,7 @@ isens_vref_1p8-supply = <&pm8150_l12_ao>; isens-vref-1p8-settings = <1800000 1800000 20000>; }; -}; -&soc { qmi-tmd-devices { compatible = "qcom,qmi-cooling-devices"; @@ -168,23 +277,48 @@ "modem_tsens1"; }; }; + + cpufreq_cdev: qcom,cpufreq-cdev { + compatible = "qcom,cpufreq-cdev"; + qcom,cpus = <&CPU0 &CPU4 &CPU7>; + }; + + qcom,devfreq-cdev { + compatible = "qcom,devfreq-cdev"; + qcom,devfreq = <&msm_gpu>; + }; + + limits_stat: limits-stat { + compatible = "qcom,limits-stat"; + qcom,limits-stat-sensor-names = "cpu-0-0", + "cpu-0-1", + "cpu-0-2", + "cpu-0-3", + "cpu-1-0", + "cpu-1-1", + "cpu-1-2", + "cpu-1-3", + "cpuss-0", + "gpuss-0", + "gpuss-1", + "npu", + "q6-hvx"; + }; }; &thermal_zones { - aoss0-usr { + aoss-0 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&tsens0 0>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; @@ -192,104 +326,176 @@ }; }; - cpu-0-0-usr { + cpu-0-0 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&tsens0 1>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + thermal-hal-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + cpu00_config: cpu00-config { + temperature = <110000>; + hysteresis = <10000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpu00_cdev { + trip = <&cpu00_config>; + cooling-device = <&cpu0_pause 1 1>; + }; + }; }; - cpu-0-1-usr { + cpu-0-1 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&tsens0 2>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + thermal-hal-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + cpu01_config: cpu01-config { + temperature = <110000>; + hysteresis = <10000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpu01_cdev { + trip = <&cpu01_config>; + cooling-device = <&cpu1_pause 1 1>; + }; + }; }; - cpu-0-2-usr { + cpu-0-2 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&tsens0 3>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + thermal-hal-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + cpu02_config: cpu02-config { + temperature = <110000>; + hysteresis = <10000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpu02_cdev { + trip = <&cpu02_config>; + cooling-device = <&cpu2_pause 1 1>; + }; + }; }; - cpu-0-3-usr { + cpu-0-3 { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 4>; - thermal-governor = "user_space"; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + thermal-hal-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + cpu03_config: cpu03-config { + temperature = <110000>; + hysteresis = <10000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpu03_cdev { + trip = <&cpu03_config>; + cooling-device = <&cpu3_pause 1 1>; + }; + }; }; - cpuss-0-usr { + cpuss-0 { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 5>; - thermal-governor = "user_space"; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + thermal-hal-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; @@ -297,20 +503,24 @@ }; }; - cpuss-1-usr { + cpuss-1 { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 6>; - thermal-governor = "user_space"; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + thermal-hal-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; @@ -318,377 +528,449 @@ }; }; - cpu-1-0-usr { - polling-delay-passive = <0>; + cpu-1-0 { + polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens0 7>; - thermal-governor = "user_space"; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + thermal-hal-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + cpufreq_10_config: cpufreq-10-config { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu10_config: cpu10-config { + temperature = <110000>; + hysteresis = <10000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_10_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu10_cdev { + trip = <&cpu10_config>; + cooling-device = <&cpu4_pause 1 1>; + }; + }; }; - cpu-1-1-usr { - polling-delay-passive = <0>; + cpu-1-1 { + polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens0 8>; - thermal-governor = "user_space"; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - cpu-1-2-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 9>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + cpufreq_11_config: cpufreq-11-config { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu11_config: cpu11-config { + temperature = <110000>; + hysteresis = <10000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_11_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu11_cdev { + trip = <&cpu11_config>; + cooling-device = <&cpu5_pause 1 1>; + }; + }; }; - cpu-1-3-usr { - polling-delay-passive = <0>; + cpu-1-2 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 10>; - thermal-governor = "user_space"; - wake-capable-sensor; + thermal-sensors = <&tsens0 9>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - cpu-1-4-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 11>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + cpufreq_12_config: cpufreq-12-config { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu12_config: cpu12-config { + temperature = <110000>; + hysteresis = <10000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_12_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu12_cdev { + trip = <&cpu12_config>; + cooling-device = <&cpu6_pause 1 1>; + }; + }; }; - cpu-1-5-usr { - polling-delay-passive = <0>; + cpu-1-3 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 12>; - thermal-governor = "user_space"; - wake-capable-sensor; + thermal-sensors = <&tsens0 10>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - cpu-1-6-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 13>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + cpufreq_13_config: cpufreq-13-config { + temperature = <75000>; + hysteresis = <5000>; type = "passive"; }; - active-config1 { + cpu13_config: cpu13-config { + temperature = <110000>; + hysteresis = <10000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_13_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu13_cdev { + trip = <&cpu13_config>; + cooling-device = <&cpu7_pause 1 1>; + }; + }; }; - cpu-1-7-usr { - polling-delay-passive = <0>; + cpu-1-4 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 14>; - thermal-governor = "user_space"; - wake-capable-sensor; + thermal-sensors = <&tsens0 11>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - gpuss-0-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 15>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + cpufreq_14_config: cpufreq-14-config { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu14_config: cpu14-config { + temperature = <110000>; + hysteresis = <10000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_14_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu14_cdev { + trip = <&cpu14_config>; + cooling-device = <&cpu4_pause 1 1>; + }; + }; }; - aoss-1-usr { - polling-delay-passive = <0>; + cpu-1-5 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens1 0>; - thermal-governor = "user_space"; - wake-capable-sensor; + thermal-sensors = <&tsens0 12>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - cwlan-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 1>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + cpufreq_15_config: cpufreq-15-config { + temperature = <75000>; + hysteresis = <5000>; type = "passive"; }; - active-config1 { + cpu15_config: cpu15-config { + temperature = <110000>; + hysteresis = <10000>; + type = "passive"; + }; + + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_15_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu15_cdev { + trip = <&cpu15_config>; + cooling-device = <&cpu5_pause 1 1>; + }; + }; }; - video-usr { - polling-delay-passive = <0>; + cpu-1-6 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens1 2>; - thermal-governor = "user_space"; - wake-capable-sensor; + thermal-sensors = <&tsens0 13>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - ddr-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 3>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + cpufreq_16_config: cpufreq-16-config { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu16_config: cpu16-config { + temperature = <110000>; + hysteresis = <10000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_16_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu16_cdev { + trip = <&cpu16_config>; + cooling-device = <&cpu6_pause 1 1>; + }; + }; }; - q6-hvx-usr { - polling-delay-passive = <0>; + cpu-1-7 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens1 4>; - thermal-governor = "user_space"; - wake-capable-sensor; + thermal-sensors = <&tsens0 14>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - camera-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 5>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + cpufreq_17_config: cpufreq-17-config { + temperature = <75000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu17_config: cpu17-config { + temperature = <110000>; + hysteresis = <10000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + cpufreq_cdev { + trip = <&cpufreq_17_config>; + cooling-device = <&cpu7_notify 1 1>; + }; + + cpu17_cdev { + trip = <&cpu17_config>; + cooling-device = <&cpu7_pause 1 1>; + }; + }; }; - cmpss-usr { - polling-delay-passive = <0>; + gpuss-0 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens1 6>; - thermal-governor = "user_space"; - wake-capable-sensor; + thermal-sensors = <&tsens0 15>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { - temperature = <115000>; + thermal-hal-config { + temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - }; - }; - npu-usr { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 7>; - thermal-governor = "user_space"; - wake-capable-sensor; - trips { - active-config0 { - temperature = <125000>; - hysteresis = <1000>; + gpuss0_trip0: gpuss0-trip0 { + temperature = <95000>; + hysteresis = <0>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; }; }; + + cooling-maps { + gpu_cdev { + trip = <&gpuss0_trip0>; + cooling-device = <&msm_gpu THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + }; }; - gpuss-1-usr { + aoss-1 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; - thermal-sensors = <&tsens1 8>; - wake-capable-sensor; + thermal-sensors = <&tsens1 0>; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; - active-config1 { + reset-mon-cfg { temperature = <115000>; hysteresis = <1000>; type = "passive"; @@ -696,395 +978,394 @@ }; }; - apc-0-max-step { - polling-delay-passive = <0>; + cwlan { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-governor = "step_wise"; - wake-capable-sensor; + thermal-sensors = <&tsens1 1>; trips { - silver-trip { - temperature = <120000>; - hysteresis = <0>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; type = "passive"; }; - }; - }; - apc-1-max-step { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-governor = "step_wise"; - wake-capable-sensor; - trips { - gold-trip { - temperature = <120000>; - hysteresis = <0>; + cwlan_trip0: cwlan-trip0 { + temperature = <100000>; + hysteresis = <5000>; type = "passive"; }; - }; - }; - pop-mem-step { - polling-delay-passive = <10>; - polling-delay = <0>; - thermal-sensors = <&tsens1 3>; - thermal-governor = "step_wise"; - wake-capable-sensor; - trips { - pop_trip: pop-trip { - temperature = <95000>; - hysteresis = <0>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; type = "passive"; }; }; cooling-maps { - pop_cdev4 { - trip = <&pop_trip>; - cooling-device = - <&CPU4 THERMAL_NO_LIMIT - THERMAL_NO_LIMIT>; + cdsp-cdev { + trip = <&cwlan_trip0>; + cooling-device = <&msm_cdsp_rm 3 3>; }; + gpu-cdev { + trip = <&cwlan_trip0>; + cooling-device = <&msm_gpu 1 1>; + }; + + modem-pa-cdev { + trip = <&cwlan_trip0>; + cooling-device = <&modem_pa 3 3>; + }; + + modem-tj-cdev { + trip = <&cwlan_trip0>; + cooling-device = <&modem_tj 3 3>; + }; }; }; - cpu-0-0-step { - polling-delay-passive = <0>; + video { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-governor = "step_wise"; - thermal-sensors = <&tsens0 1>; - wake-capable-sensor; + thermal-sensors = <&tsens1 2>; trips { - cpu00_config: cpu00-config { - temperature = <110000>; - hysteresis = <10000>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; type = "passive"; }; - }; - cooling-maps { - cpu00_cdev { - trip = <&cpu00_config>; - cooling-device = <&cpu0_isolate 1 1>; + video_trip0: video-trip0 { + temperature = <100000>; + hysteresis = <5000>; + type = "passive"; }; - }; - }; - cpu-0-1-step { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-governor = "step_wise"; - thermal-sensors = <&tsens0 2>; - wake-capable-sensor; - trips { - cpu01_config: cpu01-config { - temperature = <110000>; - hysteresis = <10000>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; type = "passive"; }; }; cooling-maps { - cpu01_cdev { - trip = <&cpu01_config>; - cooling-device = <&cpu1_isolate 1 1>; + cdsp-cdev { + trip = <&video_trip0>; + cooling-device = <&msm_cdsp_rm 3 3>; }; - }; - }; - cpu-0-2-step { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-governor = "step_wise"; - thermal-sensors = <&tsens0 3>; - wake-capable-sensor; - trips { - cpu02_config: cpu02-config { - temperature = <110000>; - hysteresis = <10000>; - type = "passive"; + gpu-cdev { + trip = <&video_trip0>; + cooling-device = <&msm_gpu 1 1>; + }; + + modem-pa-cdev { + trip = <&video_trip0>; + cooling-device = <&modem_pa 3 3>; }; - }; + modem-tj-cdev { + trip = <&video_trip0>; + cooling-device = <&modem_tj 3 3>; + }; + }; }; - cpu-0-3-step { - polling-delay-passive = <0>; + ddr { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 4>; - thermal-governor = "step_wise"; - wake-capable-sensor; + thermal-sensors = <&tsens1 3>; trips { - cpu03_config: cpu03-config { - temperature = <110000>; - hysteresis = <10000>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; type = "passive"; }; - }; - }; + ddr_trip0: ddr-trip0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; - cpu-1-0-step { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 7>; - thermal-governor = "step_wise"; - wake-capable-sensor; - trips { - cpufreq_10_config: cpufreq-10-config { - temperature = <75000>; + ddr_trip1: ddr-trip1 { + temperature = <100000>; hysteresis = <5000>; type = "passive"; }; - cpu10_config: cpu10-config { - temperature = <110000>; - hysteresis = <10000>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; type = "passive"; }; }; cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_10_config>; - cooling-device = <&cpu7_notify 1 1>; + cdsp-cdev { + trip = <&ddr_trip0>; + cooling-device = <&msm_cdsp_rm 3 3>; }; - cpu10_cdev { - trip = <&cpu10_config>; - cooling-device = <&cpu4_isolate 1 1>; + gpu-cdev { + trip = <&ddr_trip0>; + cooling-device = <&msm_gpu 1 1>; }; - }; - }; - cpu-1-1-step { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 8>; - thermal-governor = "step_wise"; - wake-capable-sensor; - trips { - cpufreq_11_config: cpufreq-11-config { - temperature = <75000>; - hysteresis = <5000>; - type = "passive"; + cpu_cdev4 { + trip = <&ddr_trip0>; + cooling-device = <&CPU4 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; }; - cpu11_config: cpu11-config { - temperature = <110000>; - hysteresis = <10000>; - type = "passive"; + cpu_cdev7 { + trip = <&ddr_trip0>; + cooling-device = <&CPU7 THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; }; - }; - cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_11_config>; - cooling-device = <&cpu7_notify 1 1>; + modem-pa-cdev { + trip = <&ddr_trip1>; + cooling-device = <&modem_pa 3 3>; }; - cpu11_cdev { - trip = <&cpu11_config>; - cooling-device = <&cpu5_isolate 1 1>; + modem-tj-cdev { + trip = <&ddr_trip1>; + cooling-device = <&modem_tj 3 3>; }; }; }; - cpu-1-2-step { - polling-delay-passive = <0>; + q6-hvx { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 9>; - thermal-governor = "step_wise"; - wake-capable-sensor; + thermal-sensors = <&tsens1 4>; trips { - cpufreq_12_config: cpufreq-12-config { - temperature = <75000>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + q6_hvx_trip0: q6-hvx-trip0 { + temperature = <100000>; hysteresis = <5000>; type = "passive"; }; - cpu12_config: cpu12-config { - temperature = <110000>; - hysteresis = <10000>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; type = "passive"; }; }; cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_12_config>; - cooling-device = <&cpu7_notify 1 1>; + cdsp-cdev { + trip = <&q6_hvx_trip0>; + cooling-device = <&msm_cdsp_rm 3 3>; }; - cpu12_cdev { - trip = <&cpu12_config>; - cooling-device = <&cpu6_isolate 1 1>; + gpu-cdev { + trip = <&q6_hvx_trip0>; + cooling-device = <&msm_gpu 1 1>; + }; + + modem-pa-cdev { + trip = <&q6_hvx_trip0>; + cooling-device = <&modem_pa 3 3>; + }; + + modem-tj-cdev { + trip = <&q6_hvx_trip0>; + cooling-device = <&modem_tj 3 3>; }; }; }; - cpu-1-3-step { - polling-delay-passive = <0>; + camera { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 10>; - thermal-governor = "step_wise"; - wake-capable-sensor; + thermal-sensors = <&tsens1 5>; trips { - cpufreq_13_config: cpufreq-13-config { - temperature = <75000>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + camera_trip0: camera-trip0 { + temperature = <100000>; hysteresis = <5000>; type = "passive"; }; - cpu13_config: cpu13-config { - temperature = <110000>; - hysteresis = <10000>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; type = "passive"; }; }; cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_13_config>; - cooling-device = <&cpu7_notify 1 1>; + cdsp-cdev { + trip = <&camera_trip0>; + cooling-device = <&msm_cdsp_rm 3 3>; }; - cpu13_cdev { - trip = <&cpu13_config>; - cooling-device = <&cpu7_isolate 1 1>; + gpu-cdev { + trip = <&camera_trip0>; + cooling-device = <&msm_gpu 1 1>; + }; + + modem-pa-cdev { + trip = <&camera_trip0>; + cooling-device = <&modem_pa 3 3>; + }; + + modem-tj-cdev { + trip = <&camera_trip0>; + cooling-device = <&modem_tj 3 3>; }; }; }; - cpu-1-4-step { - polling-delay-passive = <0>; + cmpss { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 11>; - thermal-governor = "step_wise"; - wake-capable-sensor; + thermal-sensors = <&tsens1 6>; trips { - cpufreq_14_config: cpufreq-14-config { - temperature = <75000>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; + type = "passive"; + }; + + cmpss_trip0: cmpss-trip0 { + temperature = <100000>; hysteresis = <5000>; type = "passive"; }; - cpu14_config: cpu14-config { - temperature = <110000>; - hysteresis = <10000>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; type = "passive"; }; }; cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_14_config>; - cooling-device = <&cpu7_notify 1 1>; + cdsp-cdev { + trip = <&cmpss_trip0>; + cooling-device = <&msm_cdsp_rm 3 3>; }; - cpu14_cdev { - trip = <&cpu14_config>; - cooling-device = <&cpu4_isolate 1 1>; + gpu-cdev { + trip = <&cmpss_trip0>; + cooling-device = <&msm_gpu 1 1>; + }; + + modem-pa-cdev { + trip = <&cmpss_trip0>; + cooling-device = <&modem_pa 3 3>; + }; + + modem-tj-cdev { + trip = <&cmpss_trip0>; + cooling-device = <&modem_tj 3 3>; }; }; }; - cpu-1-5-step { - polling-delay-passive = <0>; + npu { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 12>; - thermal-governor = "step_wise"; - wake-capable-sensor; + thermal-sensors = <&tsens1 7>; trips { - cpufreq_15_config: cpufreq-15-config { - temperature = <75000>; - hysteresis = <5000>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; type = "passive"; }; - cpu15_config: cpu15-config { - temperature = <110000>; - hysteresis = <10000>; + thermal-hal-config { + temperature = <125000>; + hysteresis = <1000>; type = "passive"; }; - }; - cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_15_config>; - cooling-device = <&cpu7_notify 1 1>; - }; - - cpu15_cdev { - trip = <&cpu15_config>; - cooling-device = <&cpu5_isolate 1 1>; - }; - }; - }; - - cpu-1-6-step { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens0 13>; - thermal-governor = "step_wise"; - wake-capable-sensor; - trips { - cpufreq_16_config: cpufreq-16-config { - temperature = <75000>; + npu_trip0: npu-trip0 { + temperature = <100000>; hysteresis = <5000>; type = "passive"; }; - cpu16_config: cpu16-config { - temperature = <110000>; - hysteresis = <10000>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; type = "passive"; }; }; cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_16_config>; - cooling-device = <&cpu7_notify 1 1>; + cdsp-cdev { + trip = <&npu_trip0>; + cooling-device = <&msm_cdsp_rm 3 3>; }; - cpu16_cdev { - trip = <&cpu16_config>; - cooling-device = <&cpu6_isolate 1 1>; + gpu-cdev { + trip = <&npu_trip0>; + cooling-device = <&msm_gpu 1 1>; + }; + + modem-pa-cdev { + trip = <&npu_trip0>; + cooling-device = <&modem_pa 3 3>; + }; + + modem-tj-cdev { + trip = <&npu_trip0>; + cooling-device = <&modem_tj 3 3>; }; }; }; - cpu-1-7-step { - polling-delay-passive = <0>; + gpuss-1 { + polling-delay-passive = <10>; polling-delay = <0>; - thermal-sensors = <&tsens0 14>; - thermal-governor = "step_wise"; - wake-capable-sensor; + thermal-sensors = <&tsens1 8>; trips { - cpufreq_17_config: cpufreq-17-config { - temperature = <75000>; - hysteresis = <5000>; + thermal-engine-config { + temperature = <125000>; + hysteresis = <1000>; type = "passive"; }; - cpu17_config: cpu17-config { - temperature = <110000>; - hysteresis = <10000>; + thermal-hal-config { + temperature = <125000>; + hysteresis = <1000>; type = "passive"; }; - }; - cooling-maps { - cpufreq_cdev { - trip = <&cpufreq_17_config>; - cooling-device = <&cpu7_notify 1 1>; + gpuss1_trip0: gpuss1-trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; }; - cpu17_cdev { - trip = <&cpu17_config>; - cooling-device = <&cpu7_isolate 1 1>; + reset-mon-cfg { + temperature = <115000>; + hysteresis = <1000>; + type = "passive"; + }; + }; + + cooling-maps { + gpu_cdev { + trip = <&gpuss1_trip0>; + cooling-device = <&msm_gpu THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; }; }; }; @@ -1092,256 +1373,320 @@ modem-lte-sub6-pa1 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_PA)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; modem-lte-sub6-pa2 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_PA_1)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw0-usr { + modem-mmw0 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_0)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw1-usr { + modem-mmw1 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_1)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw2-usr { + modem-mmw2 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_2)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw3-usr { + modem-mmw3 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_3)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-skin-usr { + modem-skin { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_XO_THERM)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; modem-wifi-usr { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_SYS_THERM_1)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; modem-ambient-usr { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_SYS_THERM_2)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-0-usr { + modem-0 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_MODEM_TSENS)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-1-usr { + modem-1 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_MODEM_TSENS_1)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-streamer-usr { + modem-streamer { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_STREAMER_0)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw0-mod-usr { + modem-mmw0-mod { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_0_MOD)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw1-mod-usr { + modem-mmw1-mod { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_1_MOD)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw2-mod-usr { + modem-mmw2-mod { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_2_MOD)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; - modem-mmw3-mod-usr { + modem-mmw3-mod { polling-delay-passive = <0>; polling-delay = <0>; - thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_3_MOD)>; - wake-capable-sensor; trips { - active-config0 { + thermal-engine-config { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; + + reset-mon-cfg { + temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; }; }; }; |