Loading qcom/sa8155-pmic-overlay.dtsi +107 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ pm8150_1_gpios: &pm8150_gpios { }; }; #include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/thermal_qti.h> &thermal_zones { pm8150_2_temp_alarm: pm8150_2_tz { Loading Loading @@ -162,6 +162,112 @@ pm8150_1_gpios: &pm8150_gpios { }; }; cooling-maps { /* * trip0 cooling map is dummy node to enable * passive polling on trip0 violation. */ trip0_cpu0 { trip = <&pm8150_2_trip0>; cooling-device = <&CPU0 0 0>; }; trip1_cpu0 { trip = <&pm8150_2_trip1>; cooling-device = <&CPU0 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu1 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu1_isolate 1 1>; }; trip1_cpu2 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu2_isolate 1 1>; }; trip1_cpu3 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu3_isolate 1 1>; }; trip1_cpu4 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu4_isolate 1 1>; }; trip1_cpu5 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu5_isolate 1 1>; }; trip1_cpu6 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu6_isolate 1 1>; }; trip1_cpu7 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; pm8150_tz { cooling-maps { /* * trip0 cooling map is dummy node to enable * passive polling on trip0 violation. */ trip0_cpu0 { trip = <&pm8150_trip0>; cooling-device = <&CPU0 0 0>; }; trip1_cpu0 { trip = <&pm8150_trip1>; cooling-device = <&CPU0 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu1 { trip = <&pm8150_trip1>; cooling-device = <&cpu1_isolate 1 1>; }; trip1_cpu2 { trip = <&pm8150_trip1>; cooling-device = <&cpu2_isolate 1 1>; }; trip1_cpu3 { trip = <&pm8150_trip1>; cooling-device = <&cpu3_isolate 1 1>; }; trip1_cpu4 { trip = <&pm8150_trip1>; cooling-device = <&cpu4_isolate 1 1>; }; trip1_cpu5 { trip = <&pm8150_trip1>; cooling-device = <&cpu5_isolate 1 1>; }; trip1_cpu6 { trip = <&pm8150_trip1>; cooling-device = <&cpu6_isolate 1 1>; }; trip1_cpu7 { trip = <&pm8150_trip1>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; }; qcom/sa8155.dtsi +135 −0 Original line number Diff line number Diff line Loading @@ -209,3 +209,138 @@ #include "camera/sa8155-camera.dtsi" #include "camera/sa8155-camera-sensor.dtsi" #include "sa8155-audio.dtsi" &lmh_dcvs1 { isens_vref_0p8-supply = <&pm8150_1_l5_ao>; isens_vref_1p8-supply = <&pm8150_1_l12_ao>; }; &thermal_zones { gpuss-max-step { trips { gpu-trip0 { temperature = <105000>; }; }; }; pop-mem-step { status = "disabled"; }; npu-step { trips { npu-trip0 { temperature = <105000>; }; }; }; cpu-0-0-step { trips { cpu00-config { temperature = <115000>; }; }; }; cpu-0-1-step { trips { cpu01-config { temperature = <115000>; }; }; }; cpu-0-2-step { trips { cpu02-config { temperature = <115000>; }; }; }; cpu-0-3-step { trips { cpu03-config { temperature = <115000>; }; }; }; cpu-1-0-step { trips { cpu10-config { temperature = <115000>; }; }; }; cpu-1-1-step { trips { cpu11-config { temperature = <115000>; }; }; }; cpu-1-2-step { trips { cpu12-config { temperature = <115000>; }; }; }; cpu-1-3-step { trips { cpu13-config { temperature = <115000>; }; }; }; cpu-1-4-step { trips { cpu14-config { temperature = <115000>; }; }; }; cpu-1-5-step { trips { cpu15-config { temperature = <115000>; }; }; }; cpu-1-6-step { trips { cpu16-config { temperature = <115000>; }; }; }; cpu-1-7-step { trips { cpu17-config { temperature = <115000>; }; }; }; q6-hvx-step { trips { q6-hvx-step0 { temperature = <105000>; }; q6-hvx-step1 { temperature = <115000>; }; }; }; }; qcom/sm8150-gpu.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ qcom,gpu-qdss-stm = <0x161c0000 0x40000>; // base addr, size #cooling-cells = <2>; clocks = <&gcc GCC_GPU_CFG_AHB_CLK>, <&gpucc GPU_CC_CXO_CLK>, <&gcc GCC_DDRSS_GPU_AXI_CLK>, Loading qcom/sm8150-thermal.dtsi 0 → 100644 +922 −0 Original line number Diff line number Diff line #include <dt-bindings/thermal/thermal_qti.h> &cpufreq_hw { #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>; }; 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>; isens_vref_0p8-supply = <&pm8150_l5_ao>; isens-vref-0p8-settings = <880000 880000 20000>; isens_vref_1p8-supply = <&pm8150_l12_ao>; isens-vref-1p8-settings = <1800000 1800000 20000>; }; qcom,cpu-isolation { compatible = "qcom,cpu-isolate"; cpu0_isolate: cpu0-isolate { qcom,cpu = <&CPU0>; #cooling-cells = <2>; }; cpu1_isolate: cpu1-isolate { qcom,cpu = <&CPU1>; #cooling-cells = <2>; }; cpu2_isolate: cpu2-isolate { qcom,cpu = <&CPU2>; #cooling-cells = <2>; }; cpu3_isolate: cpu3-isolate { qcom,cpu = <&CPU3>; #cooling-cells = <2>; }; cpu4_isolate: cpu4-isolate { qcom,cpu = <&CPU4>; #cooling-cells = <2>; }; cpu5_isolate: cpu5-isolate { qcom,cpu = <&CPU5>; #cooling-cells = <2>; }; cpu6_isolate: cpu6-isolate { qcom,cpu = <&CPU6>; #cooling-cells = <2>; }; cpu7_isolate: cpu7-isolate { qcom,cpu = <&CPU7>; #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>; }; qmi-tmd-devices { compatible = "qcom,qmi-cooling-devices"; modem0 { qcom,instance-id = <0x0>; modem0_pa: modem0_pa { qcom,qmi-dev-name = "pa"; #cooling-cells = <2>; }; modem0_proc: modem0_proc { qcom,qmi-dev-name = "modem"; #cooling-cells = <2>; }; modem0_current: modem0_current { qcom,qmi-dev-name = "modem_current"; #cooling-cells = <2>; }; modem0_skin: modem0_skin { qcom,qmi-dev-name = "modem_skin"; #cooling-cells = <2>; }; modem0_vdd: modem0_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; adsp { qcom,instance-id = <0x1>; adsp_vdd: adsp_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; cdsp { qcom,instance-id = <0x43>; cdsp_vdd: cdsp_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; slpi { qcom,instance-id = <0x53>; slpi_vdd: slpi_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; }; }; &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"; }; }; }; cpu-0-0-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"; }; }; }; cpu-0-1-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"; }; }; }; cpu-0-2-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"; }; }; }; cpu-0-3-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"; }; }; }; cpuss-0-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"; }; }; }; cpuss-1-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"; }; }; }; cpu-1-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "user_space"; trips { active-config0 { 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"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "user_space"; trips { active-config0 { 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"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-5-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "user_space"; trips { active-config0 { 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"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-7-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; gpuss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 15>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; aoss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 0>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cwlan-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 1>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; video-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 2>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; ddr-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; q6-hvx-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 4>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; camera-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 5>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cmpss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 6>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; mdm-core-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 7>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; npu-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 8>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; mdm-vec-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 9>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; mdm-scl-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 10>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; gpuss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 11>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; gpuss-max-step { polling-delay-passive = <10>; polling-delay = <100>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 15>, <&tsens1 11>; sensor-aggregation = <AGGREGATE_MAX_VALUE>; trips { gpu_trip0: gpu-trip0 { temperature = <85000>; hysteresis = <0>; type = "passive"; }; }; cooling-maps { gpu_cdev { trip = <&gpu_trip0>; cooling-device = <&msm_gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; pop-mem-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "step_wise"; trips { pop_trip: pop-trip { temperature = <95000>; hysteresis = <0>; type = "passive"; }; }; cooling-maps { pop_cdev4 { trip = <&pop_trip>; cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; npu-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens1 8>; thermal-governor = "step_wise"; trips { npu_trip0: npu-trip0 { temperature = <95000>; hysteresis = <0>; type = "passive"; }; }; cooling-maps { npu_cdev { trip = <&npu_trip0>; cooling-device = <&msm_npu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; cpu-0-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { cpu00_config: cpu00-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu00_cdev { trip = <&cpu00_config>; cooling-device = <&cpu0_isolate 1 1>; }; }; }; 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>; type = "passive"; }; }; cooling-maps { cpu01_cdev { trip = <&cpu01_config>; cooling-device = <&cpu1_isolate 1 1>; }; }; }; cpu-0-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 3>; trips { cpu02_config: cpu02-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu02_cdev { trip = <&cpu02_config>; cooling-device = <&cpu2_isolate 1 1>; }; }; }; cpu-0-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 4>; thermal-governor = "step_wise"; trips { cpu03_config: cpu03-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu03_cdev { trip = <&cpu03_config>; cooling-device = <&cpu3_isolate 1 1>; }; }; }; cpu-1-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "step_wise"; trips { cpu10_config: cpu10-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu10_cdev { trip = <&cpu10_config>; cooling-device = <&cpu4_isolate 1 1>; }; }; }; cpu-1-1-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "step_wise"; trips { cpu11_config: cpu11-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu11_cdev { trip = <&cpu11_config>; cooling-device = <&cpu5_isolate 1 1>; }; }; }; cpu-1-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 9>; thermal-governor = "step_wise"; trips { cpu12_config: cpu12-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu12_cdev { trip = <&cpu12_config>; cooling-device = <&cpu6_isolate 1 1>; }; }; }; cpu-1-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "step_wise"; trips { cpu13_config: cpu13-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu13_cdev { trip = <&cpu13_config>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; cpu-1-4-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 11>; thermal-governor = "step_wise"; trips { cpu14_config: cpu14-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu14_cdev { trip = <&cpu14_config>; cooling-device = <&cpu4_isolate 1 1>; }; }; }; cpu-1-5-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "step_wise"; trips { cpu15_config: cpu15-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { 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"; trips { cpu16_config: cpu16-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu16_cdev { trip = <&cpu16_config>; cooling-device = <&cpu6_isolate 1 1>; }; }; }; cpu-1-7-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "step_wise"; trips { cpu17_config: cpu17-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu17_cdev { trip = <&cpu17_config>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; q6-hvx-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens1 4>; thermal-governor = "step_wise"; trips { q6_hvx_step0: q6-hvx-step0 { temperature = <95000>; hysteresis = <0>; type = "passive"; }; q6_hvx_step1: q6-hvx-step1 { temperature = <105000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { hvx_cdev_lvl0 { trip = <&q6_hvx_step0>; cooling-device = <&msm_cdsp_rm THERMAL_NO_LIMIT 6>; }; hvx_cdev_lvl1 { trip = <&q6_hvx_step1>; cooling-device = <&msm_cdsp_rm 6 6>; }; }; }; }; qcom/sm8150.dtsi +12 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,8 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_0>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; #cooling-cells = <2>; L2_0: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -79,6 +81,7 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_1>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; L2_1: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -96,6 +99,7 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_2>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; L2_2: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -113,6 +117,7 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_3>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; L2_3: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -130,6 +135,8 @@ dynamic-power-coefficient = <374>; next-level-cache = <&L2_4>; qcom,freq-domain = <&cpufreq_hw 1 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; #cooling-cells = <2>; L2_4: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -147,6 +154,7 @@ dynamic-power-coefficient = <374>; next-level-cache = <&L2_5>; qcom,freq-domain = <&cpufreq_hw 1 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; L2_5: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -164,6 +172,7 @@ dynamic-power-coefficient = <374>; next-level-cache = <&L2_6>; qcom,freq-domain = <&cpufreq_hw 1 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; L2_6: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -181,6 +190,8 @@ dynamic-power-coefficient = <431>; next-level-cache = <&L2_7>; qcom,freq-domain = <&cpufreq_hw 2 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; #cooling-cells = <2>; L2_7: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading Loading @@ -2875,3 +2886,4 @@ #include "sm8150-usb.dtsi" #include "sm8150-gpu.dtsi" #include "sm8150-npu.dtsi" #include "sm8150-thermal.dtsi" Loading
qcom/sa8155-pmic-overlay.dtsi +107 −1 Original line number Diff line number Diff line Loading @@ -133,7 +133,7 @@ pm8150_1_gpios: &pm8150_gpios { }; }; #include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/thermal_qti.h> &thermal_zones { pm8150_2_temp_alarm: pm8150_2_tz { Loading Loading @@ -162,6 +162,112 @@ pm8150_1_gpios: &pm8150_gpios { }; }; cooling-maps { /* * trip0 cooling map is dummy node to enable * passive polling on trip0 violation. */ trip0_cpu0 { trip = <&pm8150_2_trip0>; cooling-device = <&CPU0 0 0>; }; trip1_cpu0 { trip = <&pm8150_2_trip1>; cooling-device = <&CPU0 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu1 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu1_isolate 1 1>; }; trip1_cpu2 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu2_isolate 1 1>; }; trip1_cpu3 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu3_isolate 1 1>; }; trip1_cpu4 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu4_isolate 1 1>; }; trip1_cpu5 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu5_isolate 1 1>; }; trip1_cpu6 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu6_isolate 1 1>; }; trip1_cpu7 { trip = <&pm8150_2_trip1>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; pm8150_tz { cooling-maps { /* * trip0 cooling map is dummy node to enable * passive polling on trip0 violation. */ trip0_cpu0 { trip = <&pm8150_trip0>; cooling-device = <&CPU0 0 0>; }; trip1_cpu0 { trip = <&pm8150_trip1>; cooling-device = <&CPU0 THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; trip1_cpu1 { trip = <&pm8150_trip1>; cooling-device = <&cpu1_isolate 1 1>; }; trip1_cpu2 { trip = <&pm8150_trip1>; cooling-device = <&cpu2_isolate 1 1>; }; trip1_cpu3 { trip = <&pm8150_trip1>; cooling-device = <&cpu3_isolate 1 1>; }; trip1_cpu4 { trip = <&pm8150_trip1>; cooling-device = <&cpu4_isolate 1 1>; }; trip1_cpu5 { trip = <&pm8150_trip1>; cooling-device = <&cpu5_isolate 1 1>; }; trip1_cpu6 { trip = <&pm8150_trip1>; cooling-device = <&cpu6_isolate 1 1>; }; trip1_cpu7 { trip = <&pm8150_trip1>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; };
qcom/sa8155.dtsi +135 −0 Original line number Diff line number Diff line Loading @@ -209,3 +209,138 @@ #include "camera/sa8155-camera.dtsi" #include "camera/sa8155-camera-sensor.dtsi" #include "sa8155-audio.dtsi" &lmh_dcvs1 { isens_vref_0p8-supply = <&pm8150_1_l5_ao>; isens_vref_1p8-supply = <&pm8150_1_l12_ao>; }; &thermal_zones { gpuss-max-step { trips { gpu-trip0 { temperature = <105000>; }; }; }; pop-mem-step { status = "disabled"; }; npu-step { trips { npu-trip0 { temperature = <105000>; }; }; }; cpu-0-0-step { trips { cpu00-config { temperature = <115000>; }; }; }; cpu-0-1-step { trips { cpu01-config { temperature = <115000>; }; }; }; cpu-0-2-step { trips { cpu02-config { temperature = <115000>; }; }; }; cpu-0-3-step { trips { cpu03-config { temperature = <115000>; }; }; }; cpu-1-0-step { trips { cpu10-config { temperature = <115000>; }; }; }; cpu-1-1-step { trips { cpu11-config { temperature = <115000>; }; }; }; cpu-1-2-step { trips { cpu12-config { temperature = <115000>; }; }; }; cpu-1-3-step { trips { cpu13-config { temperature = <115000>; }; }; }; cpu-1-4-step { trips { cpu14-config { temperature = <115000>; }; }; }; cpu-1-5-step { trips { cpu15-config { temperature = <115000>; }; }; }; cpu-1-6-step { trips { cpu16-config { temperature = <115000>; }; }; }; cpu-1-7-step { trips { cpu17-config { temperature = <115000>; }; }; }; q6-hvx-step { trips { q6-hvx-step0 { temperature = <105000>; }; q6-hvx-step1 { temperature = <115000>; }; }; }; };
qcom/sm8150-gpu.dtsi +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ qcom,gpu-qdss-stm = <0x161c0000 0x40000>; // base addr, size #cooling-cells = <2>; clocks = <&gcc GCC_GPU_CFG_AHB_CLK>, <&gpucc GPU_CC_CXO_CLK>, <&gcc GCC_DDRSS_GPU_AXI_CLK>, Loading
qcom/sm8150-thermal.dtsi 0 → 100644 +922 −0 Original line number Diff line number Diff line #include <dt-bindings/thermal/thermal_qti.h> &cpufreq_hw { #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>; }; 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>; isens_vref_0p8-supply = <&pm8150_l5_ao>; isens-vref-0p8-settings = <880000 880000 20000>; isens_vref_1p8-supply = <&pm8150_l12_ao>; isens-vref-1p8-settings = <1800000 1800000 20000>; }; qcom,cpu-isolation { compatible = "qcom,cpu-isolate"; cpu0_isolate: cpu0-isolate { qcom,cpu = <&CPU0>; #cooling-cells = <2>; }; cpu1_isolate: cpu1-isolate { qcom,cpu = <&CPU1>; #cooling-cells = <2>; }; cpu2_isolate: cpu2-isolate { qcom,cpu = <&CPU2>; #cooling-cells = <2>; }; cpu3_isolate: cpu3-isolate { qcom,cpu = <&CPU3>; #cooling-cells = <2>; }; cpu4_isolate: cpu4-isolate { qcom,cpu = <&CPU4>; #cooling-cells = <2>; }; cpu5_isolate: cpu5-isolate { qcom,cpu = <&CPU5>; #cooling-cells = <2>; }; cpu6_isolate: cpu6-isolate { qcom,cpu = <&CPU6>; #cooling-cells = <2>; }; cpu7_isolate: cpu7-isolate { qcom,cpu = <&CPU7>; #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>; }; qmi-tmd-devices { compatible = "qcom,qmi-cooling-devices"; modem0 { qcom,instance-id = <0x0>; modem0_pa: modem0_pa { qcom,qmi-dev-name = "pa"; #cooling-cells = <2>; }; modem0_proc: modem0_proc { qcom,qmi-dev-name = "modem"; #cooling-cells = <2>; }; modem0_current: modem0_current { qcom,qmi-dev-name = "modem_current"; #cooling-cells = <2>; }; modem0_skin: modem0_skin { qcom,qmi-dev-name = "modem_skin"; #cooling-cells = <2>; }; modem0_vdd: modem0_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; adsp { qcom,instance-id = <0x1>; adsp_vdd: adsp_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; cdsp { qcom,instance-id = <0x43>; cdsp_vdd: cdsp_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; slpi { qcom,instance-id = <0x53>; slpi_vdd: slpi_vdd { qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; }; }; }; &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"; }; }; }; cpu-0-0-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"; }; }; }; cpu-0-1-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"; }; }; }; cpu-0-2-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"; }; }; }; cpu-0-3-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"; }; }; }; cpuss-0-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"; }; }; }; cpuss-1-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"; }; }; }; cpu-1-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "user_space"; trips { active-config0 { 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"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "user_space"; trips { active-config0 { 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"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-5-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "user_space"; trips { active-config0 { 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"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cpu-1-7-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; gpuss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 15>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; aoss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 0>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cwlan-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 1>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; video-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 2>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; ddr-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; q6-hvx-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 4>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; camera-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 5>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; cmpss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 6>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; mdm-core-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 7>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; npu-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 8>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; mdm-vec-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 9>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; mdm-scl-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens1 10>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; gpuss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 11>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; gpuss-max-step { polling-delay-passive = <10>; polling-delay = <100>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 15>, <&tsens1 11>; sensor-aggregation = <AGGREGATE_MAX_VALUE>; trips { gpu_trip0: gpu-trip0 { temperature = <85000>; hysteresis = <0>; type = "passive"; }; }; cooling-maps { gpu_cdev { trip = <&gpu_trip0>; cooling-device = <&msm_gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; pop-mem-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "step_wise"; trips { pop_trip: pop-trip { temperature = <95000>; hysteresis = <0>; type = "passive"; }; }; cooling-maps { pop_cdev4 { trip = <&pop_trip>; cooling-device = <&CPU4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; npu-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens1 8>; thermal-governor = "step_wise"; trips { npu_trip0: npu-trip0 { temperature = <95000>; hysteresis = <0>; type = "passive"; }; }; cooling-maps { npu_cdev { trip = <&npu_trip0>; cooling-device = <&msm_npu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; }; }; }; cpu-0-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { cpu00_config: cpu00-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu00_cdev { trip = <&cpu00_config>; cooling-device = <&cpu0_isolate 1 1>; }; }; }; 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>; type = "passive"; }; }; cooling-maps { cpu01_cdev { trip = <&cpu01_config>; cooling-device = <&cpu1_isolate 1 1>; }; }; }; cpu-0-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 3>; trips { cpu02_config: cpu02-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu02_cdev { trip = <&cpu02_config>; cooling-device = <&cpu2_isolate 1 1>; }; }; }; cpu-0-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 4>; thermal-governor = "step_wise"; trips { cpu03_config: cpu03-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu03_cdev { trip = <&cpu03_config>; cooling-device = <&cpu3_isolate 1 1>; }; }; }; cpu-1-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "step_wise"; trips { cpu10_config: cpu10-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu10_cdev { trip = <&cpu10_config>; cooling-device = <&cpu4_isolate 1 1>; }; }; }; cpu-1-1-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "step_wise"; trips { cpu11_config: cpu11-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu11_cdev { trip = <&cpu11_config>; cooling-device = <&cpu5_isolate 1 1>; }; }; }; cpu-1-2-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 9>; thermal-governor = "step_wise"; trips { cpu12_config: cpu12-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu12_cdev { trip = <&cpu12_config>; cooling-device = <&cpu6_isolate 1 1>; }; }; }; cpu-1-3-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "step_wise"; trips { cpu13_config: cpu13-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu13_cdev { trip = <&cpu13_config>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; cpu-1-4-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 11>; thermal-governor = "step_wise"; trips { cpu14_config: cpu14-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu14_cdev { trip = <&cpu14_config>; cooling-device = <&cpu4_isolate 1 1>; }; }; }; cpu-1-5-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "step_wise"; trips { cpu15_config: cpu15-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { 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"; trips { cpu16_config: cpu16-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu16_cdev { trip = <&cpu16_config>; cooling-device = <&cpu6_isolate 1 1>; }; }; }; cpu-1-7-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "step_wise"; trips { cpu17_config: cpu17-config { temperature = <110000>; hysteresis = <10000>; type = "passive"; }; }; cooling-maps { cpu17_cdev { trip = <&cpu17_config>; cooling-device = <&cpu7_isolate 1 1>; }; }; }; q6-hvx-step { polling-delay-passive = <10>; polling-delay = <0>; thermal-sensors = <&tsens1 4>; thermal-governor = "step_wise"; trips { q6_hvx_step0: q6-hvx-step0 { temperature = <95000>; hysteresis = <0>; type = "passive"; }; q6_hvx_step1: q6-hvx-step1 { temperature = <105000>; hysteresis = <5000>; type = "passive"; }; }; cooling-maps { hvx_cdev_lvl0 { trip = <&q6_hvx_step0>; cooling-device = <&msm_cdsp_rm THERMAL_NO_LIMIT 6>; }; hvx_cdev_lvl1 { trip = <&q6_hvx_step1>; cooling-device = <&msm_cdsp_rm 6 6>; }; }; }; };
qcom/sm8150.dtsi +12 −0 Original line number Diff line number Diff line Loading @@ -57,6 +57,8 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_0>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; #cooling-cells = <2>; L2_0: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -79,6 +81,7 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_1>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; L2_1: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -96,6 +99,7 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_2>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; L2_2: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -113,6 +117,7 @@ dynamic-power-coefficient = <100>; next-level-cache = <&L2_3>; qcom,freq-domain = <&cpufreq_hw 0 4>; qcom,lmh-dcvs = <&lmh_dcvs0>; L2_3: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -130,6 +135,8 @@ dynamic-power-coefficient = <374>; next-level-cache = <&L2_4>; qcom,freq-domain = <&cpufreq_hw 1 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; #cooling-cells = <2>; L2_4: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -147,6 +154,7 @@ dynamic-power-coefficient = <374>; next-level-cache = <&L2_5>; qcom,freq-domain = <&cpufreq_hw 1 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; L2_5: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -164,6 +172,7 @@ dynamic-power-coefficient = <374>; next-level-cache = <&L2_6>; qcom,freq-domain = <&cpufreq_hw 1 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; L2_6: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading @@ -181,6 +190,8 @@ dynamic-power-coefficient = <431>; next-level-cache = <&L2_7>; qcom,freq-domain = <&cpufreq_hw 2 4>; qcom,lmh-dcvs = <&lmh_dcvs1>; #cooling-cells = <2>; L2_7: l2-cache { compatible = "arm,arch-cache"; cache-level = <2>; Loading Loading @@ -2875,3 +2886,4 @@ #include "sm8150-usb.dtsi" #include "sm8150-gpu.dtsi" #include "sm8150-npu.dtsi" #include "sm8150-thermal.dtsi"