Loading arch/arm64/boot/dts/qcom/sdmmagpie-idp.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include "sdmmagpie-thermal-overlay.dtsi" #include <dt-bindings/gpio/gpio.h> Loading arch/arm64/boot/dts/qcom/sdmmagpie-qrd.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ */ #include <dt-bindings/gpio/gpio.h> #include "sdmmagpie-thermal-overlay.dtsi" &soc { }; Loading arch/arm64/boot/dts/qcom/sdmmagpie-rumi.dtsi +16 −0 Original line number Diff line number Diff line Loading @@ -131,4 +131,20 @@ status = "ok"; }; &thermal_zones { /delete-node/ aoss-0-lowf; /delete-node/ cpu-0-0-lowf; /delete-node/ cpu-1-0-lowf; /delete-node/ gpuss-0-lowf; /delete-node/ cwlan-lowf; /delete-node/ audio-lowf; /delete-node/ ddr-lowf; /delete-node/ q6-hvx-lowf; /delete-node/ camera-lowf; /delete-node/ mdm-core-lowf; /delete-node/ mdm-dsp-lowf; /delete-node/ npu-lowf; /delete-node/ video-lowf; }; #include "sdmmagpie-stub-regulator.dtsi" arch/arm64/boot/dts/qcom/sdmmagpie-thermal-overlay.dtsi 0 → 100644 +178 −0 Original line number Diff line number Diff line /* * Copyright (c) 2018, 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> &thermal_zones { pm6150-tz { cooling-maps { trip0_bat { trip = <&pm6150_trip0>; cooling-device = <&pm6150_charger (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip1_bat { trip = <&pm6150_trip1>; cooling-device = <&pm6150_charger THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; pm6150l-tz { cooling-maps { trip0_cpu0 { trip = <&pm6150l_trip0>; cooling-device = <&CPU0 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu1 { trip = <&pm6150l_trip0>; cooling-device = <&CPU1 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu2 { trip = <&pm6150l_trip0>; cooling-device = <&CPU2 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu3 { trip = <&pm6150l_trip0>; cooling-device = <&CPU3 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu4 { trip = <&pm6150l_trip0>; cooling-device = <&CPU4 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu5 { trip = <&pm6150l_trip0>; cooling-device = <&CPU5 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu6 { trip = <&pm6150l_trip0>; cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu7 { trip = <&pm6150l_trip0>; cooling-device = <&CPU7 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip1_cpu1 { trip = <&pm6150l_trip1>; cooling-device = <&CPU1 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu2 { trip = <&pm6150l_trip1>; cooling-device = <&CPU2 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu3 { trip = <&pm6150l_trip1>; cooling-device = <&CPU3 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu4 { trip = <&pm6150l_trip1>; cooling-device = <&CPU4 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu5 { trip = <&pm6150l_trip1>; cooling-device = <&CPU5 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu6 { trip = <&pm6150l_trip1>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu7 { trip = <&pm6150l_trip1>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; pm6150-vbat-lvl0 { cooling-maps { vbat_cpu6 { trip = <&vbat_lvl0>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; vbat_cpu7 { trip = <&vbat_lvl0>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; pm6150-ibat-lvl0 { cooling-maps { ibat_cpu6 { trip = <&ibat_lvl0>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; ibat_cpu7 { trip = <&ibat_lvl0>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; soc { cooling-maps { soc_cpu6 { trip = <&soc_trip>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; soc_cpu7 { trip = <&soc_trip>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; }; arch/arm64/boot/dts/qcom/sdmmagpie-thermal.dtsi +896 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,28 @@ #include <dt-bindings/thermal/thermal.h> &clock_cpucc { #address-cells = <1>; #size-cells = <1>; lmh_dcvs0: qcom,limits-dcvs@18358800 { compatible = "qcom,msm-hw-limits"; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; qcom,affinity = <0>; reg = <0x18358800 0x1000>, <0x18323000 0x1000>; #thermal-sensor-cells = <0>; }; lmh_dcvs1: qcom,limits-dcvs@18350800 { compatible = "qcom,msm-hw-limits"; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; qcom,affinity = <1>; reg = <0x18350800 0x1000>, <0x18325800 0x1000>; #thermal-sensor-cells = <0>; }; }; &soc { qmi-tmd-devices { compatible = "qcom,qmi-cooling-devices"; Loading Loading @@ -639,4 +661,878 @@ }; }; }; lmh-dcvs-00 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&lmh_dcvs0>; trips { active-config { temperature = <95000>; hysteresis = <30000>; type = "passive"; }; }; }; lmh-dcvs-01 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&lmh_dcvs1>; trips { active-config { temperature = <95000>; hysteresis = <30000>; type = "passive"; }; }; }; gpuss-max-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-governor = "step_wise"; trips { gpu_trip: gpu-trip { temperature = <95000>; hysteresis = <0>; type = "passive"; }; }; }; cpu-0-max-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; trips { silver-trip { temperature = <120000>; hysteresis = <0>; type = "passive"; }; }; }; cpu-1-max-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; trips { gold-trip { temperature = <120000>; hysteresis = <0>; type = "passive"; }; }; }; cpu-0-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 1>; trips { cpu0_config: cpu0-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cpu0_config>; cooling-device = <&CPU0 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-1-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 2>; trips { cpu1_config: cpu1-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu1_cdev { trip = <&cpu1_config>; cooling-device = <&CPU1 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 3>; trips { cpu2_config: cpu2-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu2_cdev { trip = <&cpu2_config>; cooling-device = <&CPU2 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 4>; trips { cpu3_config: cpu3-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu3_cdev { trip = <&cpu3_config>; cooling-device = <&CPU3 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-4-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 5>; trips { cpu4_config: cpu4-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu4_cdev { trip = <&cpu4_config>; cooling-device = <&CPU4 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-5-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 6>; trips { cpu5_config: cpu5-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu5_cdev { trip = <&cpu5_config>; cooling-device = <&CPU5 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 9>; trips { cpu6_0_config: cpu6-0-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu6_cdev { trip = <&cpu6_0_config>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-1-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 10>; trips { cpu6_1_config: cpu6-1-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu6_cdev { trip = <&cpu6_1_config>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 11>; trips { cpu7_0_config: cpu7-0-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu7_cdev { trip = <&cpu7_0_config>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 12>; trips { cpu7_1_config: cpu7-1-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu7_cdev { trip = <&cpu7_1_config>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; aoss-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 0>; tracks-low; trips { aoss0_trip: aoss0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&aoss0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&aoss0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; cpu-0-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 1>; tracks-low; trips { cpu_0_0_trip: cpu-0-0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; cpu-1-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 9>; tracks-low; trips { cpu_1_0_trip: cpu-1-0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; gpuss-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 13>; tracks-low; trips { gpuss_0_trip: gpuss-0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&gpuss_0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&gpuss_0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; cwlan-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 1>; tracks-low; trips { cwlan_trip: cwlan-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cwlan_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&cwlan_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; audio-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 2>; tracks-low; trips { audio_trip: audio-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&audio_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&audio_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&audio_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&audio_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&audio_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&audio_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&audio_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; ddr-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 3>; tracks-low; trips { ddr_trip: ddr-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&ddr_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&ddr_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; q6-hvx-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 4>; tracks-low; trips { q6_hvx_trip: q6-hvx-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&q6_hvx_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&q6_hvx_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; camera-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 5>; tracks-low; trips { camera_trip: camera-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&camera_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&camera_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&camera_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&camera_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&camera_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&camera_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&camera_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; mdm-core-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 6>; tracks-low; trips { mdm_core_trip: mdm-core-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&mdm_core_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&mdm_core_trip>; cooling-device = <&CPU6 4 4>; }; 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>; }; modem_vdd_cdev { trip = <&mdm_core_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&mdm_core_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&mdm_core_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; mdm-dsp-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 7>; tracks-low; trips { mdm_dsp_trip: mdm-dsp-lowf-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; npu-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 8>; tracks-low; trips { npu_trip: npu-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&npu_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&npu_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&npu_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&npu_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&npu_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&npu_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&npu_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; video-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 9>; tracks-low; trips { video_trip: video-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&video_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&video_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&video_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&video_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&video_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&video_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&video_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; }; Loading
arch/arm64/boot/dts/qcom/sdmmagpie-idp.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -9,6 +9,7 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include "sdmmagpie-thermal-overlay.dtsi" #include <dt-bindings/gpio/gpio.h> Loading
arch/arm64/boot/dts/qcom/sdmmagpie-qrd.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -11,6 +11,7 @@ */ #include <dt-bindings/gpio/gpio.h> #include "sdmmagpie-thermal-overlay.dtsi" &soc { }; Loading
arch/arm64/boot/dts/qcom/sdmmagpie-rumi.dtsi +16 −0 Original line number Diff line number Diff line Loading @@ -131,4 +131,20 @@ status = "ok"; }; &thermal_zones { /delete-node/ aoss-0-lowf; /delete-node/ cpu-0-0-lowf; /delete-node/ cpu-1-0-lowf; /delete-node/ gpuss-0-lowf; /delete-node/ cwlan-lowf; /delete-node/ audio-lowf; /delete-node/ ddr-lowf; /delete-node/ q6-hvx-lowf; /delete-node/ camera-lowf; /delete-node/ mdm-core-lowf; /delete-node/ mdm-dsp-lowf; /delete-node/ npu-lowf; /delete-node/ video-lowf; }; #include "sdmmagpie-stub-regulator.dtsi"
arch/arm64/boot/dts/qcom/sdmmagpie-thermal-overlay.dtsi 0 → 100644 +178 −0 Original line number Diff line number Diff line /* * Copyright (c) 2018, 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> &thermal_zones { pm6150-tz { cooling-maps { trip0_bat { trip = <&pm6150_trip0>; cooling-device = <&pm6150_charger (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip1_bat { trip = <&pm6150_trip1>; cooling-device = <&pm6150_charger THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; pm6150l-tz { cooling-maps { trip0_cpu0 { trip = <&pm6150l_trip0>; cooling-device = <&CPU0 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu1 { trip = <&pm6150l_trip0>; cooling-device = <&CPU1 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu2 { trip = <&pm6150l_trip0>; cooling-device = <&CPU2 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu3 { trip = <&pm6150l_trip0>; cooling-device = <&CPU3 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu4 { trip = <&pm6150l_trip0>; cooling-device = <&CPU4 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu5 { trip = <&pm6150l_trip0>; cooling-device = <&CPU5 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu6 { trip = <&pm6150l_trip0>; cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip0_cpu7 { trip = <&pm6150l_trip0>; cooling-device = <&CPU7 (THERMAL_MAX_LIMIT-1) (THERMAL_MAX_LIMIT-1)>; }; trip1_cpu1 { trip = <&pm6150l_trip1>; cooling-device = <&CPU1 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu2 { trip = <&pm6150l_trip1>; cooling-device = <&CPU2 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu3 { trip = <&pm6150l_trip1>; cooling-device = <&CPU3 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu4 { trip = <&pm6150l_trip1>; cooling-device = <&CPU4 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu5 { trip = <&pm6150l_trip1>; cooling-device = <&CPU5 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu6 { trip = <&pm6150l_trip1>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu7 { trip = <&pm6150l_trip1>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; pm6150-vbat-lvl0 { cooling-maps { vbat_cpu6 { trip = <&vbat_lvl0>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; vbat_cpu7 { trip = <&vbat_lvl0>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; pm6150-ibat-lvl0 { cooling-maps { ibat_cpu6 { trip = <&ibat_lvl0>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; ibat_cpu7 { trip = <&ibat_lvl0>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; soc { cooling-maps { soc_cpu6 { trip = <&soc_trip>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; soc_cpu7 { trip = <&soc_trip>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; };
arch/arm64/boot/dts/qcom/sdmmagpie-thermal.dtsi +896 −0 Original line number Diff line number Diff line Loading @@ -13,6 +13,28 @@ #include <dt-bindings/thermal/thermal.h> &clock_cpucc { #address-cells = <1>; #size-cells = <1>; lmh_dcvs0: qcom,limits-dcvs@18358800 { compatible = "qcom,msm-hw-limits"; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; qcom,affinity = <0>; reg = <0x18358800 0x1000>, <0x18323000 0x1000>; #thermal-sensor-cells = <0>; }; lmh_dcvs1: qcom,limits-dcvs@18350800 { compatible = "qcom,msm-hw-limits"; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; qcom,affinity = <1>; reg = <0x18350800 0x1000>, <0x18325800 0x1000>; #thermal-sensor-cells = <0>; }; }; &soc { qmi-tmd-devices { compatible = "qcom,qmi-cooling-devices"; Loading Loading @@ -639,4 +661,878 @@ }; }; }; lmh-dcvs-00 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&lmh_dcvs0>; trips { active-config { temperature = <95000>; hysteresis = <30000>; type = "passive"; }; }; }; lmh-dcvs-01 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&lmh_dcvs1>; trips { active-config { temperature = <95000>; hysteresis = <30000>; type = "passive"; }; }; }; gpuss-max-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-governor = "step_wise"; trips { gpu_trip: gpu-trip { temperature = <95000>; hysteresis = <0>; type = "passive"; }; }; }; cpu-0-max-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; trips { silver-trip { temperature = <120000>; hysteresis = <0>; type = "passive"; }; }; }; cpu-1-max-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; trips { gold-trip { temperature = <120000>; hysteresis = <0>; type = "passive"; }; }; }; cpu-0-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 1>; trips { cpu0_config: cpu0-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cpu0_config>; cooling-device = <&CPU0 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-1-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 2>; trips { cpu1_config: cpu1-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu1_cdev { trip = <&cpu1_config>; cooling-device = <&CPU1 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 3>; trips { cpu2_config: cpu2-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu2_cdev { trip = <&cpu2_config>; cooling-device = <&CPU2 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 4>; trips { cpu3_config: cpu3-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu3_cdev { trip = <&cpu3_config>; cooling-device = <&CPU3 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-4-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 5>; trips { cpu4_config: cpu4-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu4_cdev { trip = <&cpu4_config>; cooling-device = <&CPU4 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-0-5-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 6>; trips { cpu5_config: cpu5-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu5_cdev { trip = <&cpu5_config>; cooling-device = <&CPU5 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 9>; trips { cpu6_0_config: cpu6-0-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu6_cdev { trip = <&cpu6_0_config>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-1-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 10>; trips { cpu6_1_config: cpu6-1-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu6_cdev { trip = <&cpu6_1_config>; cooling-device = <&CPU6 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 11>; trips { cpu7_0_config: cpu7-0-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu7_cdev { trip = <&cpu7_0_config>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; cpu-1-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 12>; trips { cpu7_1_config: cpu7-1-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu7_cdev { trip = <&cpu7_1_config>; cooling-device = <&CPU7 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; }; }; aoss-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 0>; tracks-low; trips { aoss0_trip: aoss0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&aoss0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&aoss0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&aoss0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; cpu-0-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 1>; tracks-low; trips { cpu_0_0_trip: cpu-0-0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&cpu_0_0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; cpu-1-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 9>; tracks-low; trips { cpu_1_0_trip: cpu-1-0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&cpu_1_0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; gpuss-0-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens0 13>; tracks-low; trips { gpuss_0_trip: gpuss-0-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&gpuss_0_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&gpuss_0_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&gpuss_0_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; cwlan-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 1>; tracks-low; trips { cwlan_trip: cwlan-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&cwlan_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&cwlan_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&cwlan_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; audio-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 2>; tracks-low; trips { audio_trip: audio-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&audio_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&audio_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&audio_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&audio_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&audio_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&audio_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&audio_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; ddr-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 3>; tracks-low; trips { ddr_trip: ddr-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&ddr_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&ddr_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&ddr_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; q6-hvx-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 4>; tracks-low; trips { q6_hvx_trip: q6-hvx-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&q6_hvx_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&q6_hvx_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&q6_hvx_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; camera-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 5>; tracks-low; trips { camera_trip: camera-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&camera_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&camera_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&camera_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&camera_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&camera_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&camera_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&camera_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; mdm-core-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 6>; tracks-low; trips { mdm_core_trip: mdm-core-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&mdm_core_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&mdm_core_trip>; cooling-device = <&CPU6 4 4>; }; 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>; }; modem_vdd_cdev { trip = <&mdm_core_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&mdm_core_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&mdm_core_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; mdm-dsp-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 7>; tracks-low; trips { mdm_dsp_trip: mdm-dsp-lowf-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&mdm_dsp_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; npu-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 8>; tracks-low; trips { npu_trip: npu-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&npu_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&npu_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&npu_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&npu_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&npu_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&npu_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&npu_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; video-lowf { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "low_limits_floor"; thermal-sensors = <&tsens1 9>; tracks-low; trips { video_trip: video-trip { temperature = <5000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { cpu0_cdev { trip = <&video_trip>; cooling-device = <&CPU0 2 2>; }; cpu1_cdev { trip = <&video_trip>; cooling-device = <&CPU6 4 4>; }; cx_vdd_cdev { trip = <&video_trip>; cooling-device = <&cx_cdev 0 0>; }; mx_vdd_cdev { trip = <&video_trip>; cooling-device = <&mx_cdev 0 0>; }; modem_vdd_cdev { trip = <&video_trip>; cooling-device = <&modem_vdd 0 0>; }; adsp_vdd_cdev { trip = <&video_trip>; cooling-device = <&adsp_vdd 0 0>; }; cdsp_vdd_cdev { trip = <&video_trip>; cooling-device = <&cdsp_vdd 0 0>; }; }; }; };