diff --git a/qcom/shima-thermal.dtsi b/qcom/shima-thermal.dtsi index 653a24778481..a5b819e44a9c 100644 --- a/qcom/shima-thermal.dtsi +++ b/qcom/shima-thermal.dtsi @@ -213,6 +213,180 @@ &thermal_zones { /delete-node/ modem-sdr-mmw-usr; /delete-node/ modem-ambient-usr; + /delete-node/ mdmss-1-step; + /delete-node/ mdmss-2-step; + + mdmss-0-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens1 8>; + trips { + mdmss0_trip0: mdmss0-trip0 { + temperature = <95000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss0_trip1: mdmss0-trip1 { + temperature = <105000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss0_trip2: mdmss0-trip2 { + temperature = <115000>; + hysteresis = <15000>; + type = "passive"; + }; + }; + + cooling-maps { + mdmss0_cdev0 { + trip = <&mdmss0_trip0>; + cooling-device = <&modem_tj 1 1>; + }; + + mdmss0_cdev1 { + trip = <&mdmss0_trip1>; + cooling-device = <&modem_tj 2 2>; + }; + + mdmss0_cdev2 { + trip = <&mdmss0_trip2>; + cooling-device = <&modem_tj 3 3>; + }; + }; + }; + + mdmss-1-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens1 9>; + trips { + mdmss1_trip0: mdmss1-trip0 { + temperature = <95000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss1_trip1: mdmss1-trip1 { + temperature = <105000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss1_trip2: mdmss1-trip2 { + temperature = <115000>; + hysteresis = <15000>; + type = "passive"; + }; + }; + + cooling-maps { + mdmss1_cdev0 { + trip = <&mdmss1_trip0>; + cooling-device = <&modem_tj 1 1>; + }; + + mdmss1_cdev1 { + trip = <&mdmss1_trip1>; + cooling-device = <&modem_tj 2 2>; + }; + + mdmss1_cdev2 { + trip = <&mdmss1_trip2>; + cooling-device = <&modem_tj 3 3>; + }; + }; + }; + + mdmss-2-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens1 10>; + trips { + mdmss2_trip0: mdmss2-trip0 { + temperature = <95000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss2_trip1: mdmss2-trip1 { + temperature = <105000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss2_trip2: mdmss2-trip2 { + temperature = <115000>; + hysteresis = <15000>; + type = "passive"; + }; + }; + + cooling-maps { + mdmss2_cdev0 { + trip = <&mdmss2_trip0>; + cooling-device = <&modem_tj 1 1>; + }; + + mdmss2_cdev1 { + trip = <&mdmss2_trip1>; + cooling-device = <&modem_tj 2 2>; + }; + + mdmss2_cdev2 { + trip = <&mdmss2_trip2>; + cooling-device = <&modem_tj 3 3>; + }; + }; + }; + + mdmss-3-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens1 11>; + trips { + mdmss3_trip0: mdmss3-trip0 { + temperature = <95000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss3_trip1: mdmss3-trip1 { + temperature = <105000>; + hysteresis = <15000>; + type = "passive"; + }; + + mdmss3_trip2: mdmss3-trip2 { + temperature = <115000>; + hysteresis = <15000>; + type = "passive"; + }; + }; + + cooling-maps { + mdmss3_cdev0 { + trip = <&mdmss3_trip0>; + cooling-device = <&modem_tj 1 1>; + }; + + mdmss3_cdev1 { + trip = <&mdmss3_trip1>; + cooling-device = <&modem_tj 2 2>; + }; + + mdmss3_cdev2 { + trip = <&mdmss3_trip2>; + cooling-device = <&modem_tj 3 3>; + }; + }; + }; msm-skin-therm-usr { polling-delay-passive = <0>;