diff --git a/qcom/sdxlemur-thermal.dtsi b/qcom/sdxlemur-thermal.dtsi index eee39c1d8838..5c9bfecf239a 100644 --- a/qcom/sdxlemur-thermal.dtsi +++ b/qcom/sdxlemur-thermal.dtsi @@ -39,11 +39,79 @@ }; }; - mdmss-1-step { + mdmss-0-step { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 3>; + trips { + mdmss0_config0: mdmss0-config0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + + mdmss0_config1: mdmss0-config1 { + temperature = <100000>; + hysteresis = <5000>; + type = "passive"; + }; + + mdmss0_config2: mdmss0-config2 { + temperature = <105000>; + hysteresis = <5000>; + type = "passive"; + }; + }; + + cooling-maps { + lte_cdev0 { + trip = <&mdmss0_config0>; + cooling-device = <&modem_lte_dsc 7 7>; + }; + + nr_scg_cdev0 { + trip = <&mdmss0_config0>; + cooling-device = <&modem_nr_scg_dsc 2 2>; + }; + + nr_cdev0 { + trip = <&mdmss0_config0>; + cooling-device = <&modem_nr_dsc 4 4>; + }; + + lte_cdev1 { + trip = <&mdmss0_config1>; + cooling-device = <&modem_lte_dsc 8 8>; + }; + + nr_scg_cdev1 { + trip = <&mdmss0_config1>; + cooling-device = <&modem_nr_scg_dsc 10 10>; + }; + + nr_cdev1 { + trip = <&mdmss0_config1>; + cooling-device = <&modem_nr_dsc 6 6>; + }; + + lte_cdev2 { + trip = <&mdmss0_config2>; + cooling-device = <&modem_lte_dsc 255 255>; + }; + + nr_cdev2 { + trip = <&mdmss0_config2>; + cooling-device = <&modem_nr_dsc 255 255>; + }; + }; + }; + + mdmss-1-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens0 4>; trips { mdmss1_config0: mdmss1-config0 { temperature = <95000>; @@ -111,7 +179,7 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; - thermal-sensors = <&tsens0 4>; + thermal-sensors = <&tsens0 5>; trips { mdmss2_config0: mdmss2-config0 { temperature = <95000>; @@ -179,7 +247,7 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; - thermal-sensors = <&tsens0 5>; + thermal-sensors = <&tsens0 6>; trips { mdmss3_config0: mdmss3-config0 { temperature = <95000>;