diff --git a/qcom/yupik-qrd.dtsi b/qcom/yupik-qrd.dtsi index 7797428256d9..a1423ec2a430 100644 --- a/qcom/yupik-qrd.dtsi +++ b/qcom/yupik-qrd.dtsi @@ -264,6 +264,41 @@ }; }; }; + + quiet-therm-step { + polling-delay-passive = <2000>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&pmk8350_adc_tm PM7325_ADC7_AMUX_THM1_100K_PU>; + + trips { + quiet_cx_trip: quiet-cx-trip { + temperature = <55000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + + cooling-maps { + gpu-cdev { + trip = <&quiet_cx_trip>; + /* throttle to 315000000Hz */ + cooling-device = <&msm_gpu THERMAL_MAX_LIMIT + THERMAL_MAX_LIMIT>; + }; + + cdsp-cdev { + trip = <&quiet_cx_trip>; + cooling-device = <&cdsp_sw (THERMAL_MAX_LIMIT-2) + (THERMAL_MAX_LIMIT-2)>; + }; + + modem-pa-cdev { + trip = <&quiet_cx_trip>; + cooling-device = <&modem_pa 3 3>; + }; + }; + }; }; &apps_rsc { diff --git a/qcom/yupik-thermal.dtsi b/qcom/yupik-thermal.dtsi index 09800af991a3..44d153ae5721 100644 --- a/qcom/yupik-thermal.dtsi +++ b/qcom/yupik-thermal.dtsi @@ -1243,12 +1243,13 @@ cooling-maps { cdsp-cdev { trip = <&nspss0_trip>; - cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT - THERMAL_MAX_LIMIT>; + cooling-device = <&cdsp_sw (THERMAL_MAX_LIMIT-2) + (THERMAL_MAX_LIMIT-2)>; }; gpu_cdev { trip = <&nspss0_trip>; + /* throttle to 315000000Hz */ cooling-device = <&msm_gpu THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; }; @@ -1276,12 +1277,13 @@ cooling-maps { cdsp-cdev { trip = <&nspss1_trip>; - cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT - THERMAL_MAX_LIMIT>; + cooling-device = <&cdsp_sw (THERMAL_MAX_LIMIT-2) + (THERMAL_MAX_LIMIT-2)>; }; gpu_cdev { trip = <&nspss1_trip>; + /* throttle to 315000000Hz */ cooling-device = <&msm_gpu THERMAL_MAX_LIMIT THERMAL_MAX_LIMIT>; };