From 21a6862a863051580a0e7e4fd41c4294292c08a8 Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Thu, 2 Jul 2020 13:04:58 -0700 Subject: [PATCH] ARM: dts: msm: Update modem Tj configuration for Lahaina Update modem Tj configuration to do incremental mitigation starting 95C to 105C, with 5C hysteresis. Change-Id: I3ed97d024e8e4ff47c0e47d041959e98e4a6b2d3 --- qcom/lahaina-thermal-modem.dtsi | 60 ++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 8 deletions(-) diff --git a/qcom/lahaina-thermal-modem.dtsi b/qcom/lahaina-thermal-modem.dtsi index 8dc941dd..35b1ab87 100644 --- a/qcom/lahaina-thermal-modem.dtsi +++ b/qcom/lahaina-thermal-modem.dtsi @@ -463,16 +463,38 @@ thermal-governor = "step_wise"; thermal-sensors = <&tsens1 9>; trips { - mdmss1_config: active-config0 { + mdmss10_config: active-config0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + + mdmss11_config: active-config1 { temperature = <100000>; - hysteresis = <10000>; + hysteresis = <5000>; + type = "passive"; + }; + + mdmss12_config: active-config2 { + temperature = <105000>; + hysteresis = <5000>; type = "passive"; }; }; cooling-maps { - mdmss1_cdev { - trip = <&mdmss1_config>; + mdmss10_cdev { + trip = <&mdmss10_config>; + cooling-device = <&modem_tj 1 1>; + }; + + mdmss11_cdev { + trip = <&mdmss11_config>; + cooling-device = <&modem_tj 2 2>; + }; + + mdmss12_cdev { + trip = <&mdmss12_config>; cooling-device = <&modem_tj 3 3>; }; }; @@ -484,16 +506,38 @@ thermal-governor = "step_wise"; thermal-sensors = <&tsens1 10>; trips { - mdmss2_config: active-config0 { + mdmss20_config: active-config0 { + temperature = <95000>; + hysteresis = <5000>; + type = "passive"; + }; + + mdmss21_config: active-config1 { temperature = <100000>; - hysteresis = <10000>; + hysteresis = <5000>; + type = "passive"; + }; + + mdmss22_config: active-config2 { + temperature = <105000>; + hysteresis = <5000>; type = "passive"; }; }; cooling-maps { - mdmss2_cdev { - trip = <&mdmss2_config>; + mdmss20_cdev { + trip = <&mdmss20_config>; + cooling-device = <&modem_tj 1 1>; + }; + + mdmss21_cdev { + trip = <&mdmss21_config>; + cooling-device = <&modem_tj 2 2>; + }; + + mdmss22_cdev { + trip = <&mdmss22_config>; cooling-device = <&modem_tj 3 3>; }; };