diff --git a/qcom/pm2250.dtsi b/qcom/pm2250.dtsi index e22694c8414d..7865afd38967 100644 --- a/qcom/pm2250.dtsi +++ b/qcom/pm2250.dtsi @@ -370,3 +370,33 @@ }; }; }; + +&thermal_zones { + pm2250_tz { + polling-delay-passive = <100>; + polling-delay = <0>; + thermal-governor = "step_wise"; + thermal-sensors = <&pm2250_tz>; + wake-capable-sensor; + + trips { + pm2250_trip0: trip0 { + temperature = <95000>; + hysteresis = <0>; + type = "passive"; + }; + + pm2250_trip1: trip1 { + temperature = <115000>; + hysteresis = <0>; + type = "critical"; + }; + + trip2 { + temperature = <145000>; + hysteresis = <0>; + type = "critical"; + }; + }; + }; +}; diff --git a/qcom/scuba-iot.dtsi b/qcom/scuba-iot.dtsi index 20ef7dd9fb96..3ac31cd6c8d9 100644 --- a/qcom/scuba-iot.dtsi +++ b/qcom/scuba-iot.dtsi @@ -446,6 +446,8 @@ qcom,guard-memory; }; + thermal_zones: thermal-zones { }; + qfprom: qfprom@1b40000 { compatible = "qcom,qfprom"; reg = <0x1b40000 0x7000>;