diff --git a/qcom/lahaina-thermal.dtsi b/qcom/lahaina-thermal.dtsi index 580b4e0d..79022486 100644 --- a/qcom/lahaina-thermal.dtsi +++ b/qcom/lahaina-thermal.dtsi @@ -996,5 +996,108 @@ }; }; }; + + nspss-0-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens1 3>; + trips { + nspss0_config: active-config0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + nspss0_config1: active-config1 { + temperature = <105000>; + hysteresis = <10000>; + type = "passive"; + }; + }; + + cooling-maps { + nsp_cdev { + trip = <&nspss0_config>; + cooling-device = <&cdsp_sw THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + + nsp_cdev1 { + trip = <&nspss0_config1>; + cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT + THERMAL_MAX_LIMIT>; + }; + }; + }; + + nspss-1-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens1 4>; + trips { + nspss1_config: active-config0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + nspss1_config1: active-config1 { + temperature = <105000>; + hysteresis = <10000>; + type = "passive"; + }; + }; + + cooling-maps { + nsp_cdev { + trip = <&nspss1_config>; + cooling-device = <&cdsp_sw THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + + nsp_cdev1 { + trip = <&nspss1_config1>; + cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT + THERMAL_MAX_LIMIT>; + }; + }; + }; + + nspss-2-step { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&tsens1 5>; + trips { + nspss2_config: active-config0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + nspss2_config1: active-config1 { + temperature = <105000>; + hysteresis = <10000>; + type = "passive"; + }; + }; + + cooling-maps { + nsp_cdev { + trip = <&nspss2_config>; + cooling-device = <&cdsp_sw THERMAL_NO_LIMIT + THERMAL_NO_LIMIT>; + }; + + nsp_cdev1 { + trip = <&nspss2_config1>; + cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT + THERMAL_MAX_LIMIT>; + }; + }; + }; + };