Skip to content

Commit 8d4236f

Browse files
mlehtimaandersson
authored andcommitted
ARM: dts: qcom: msm8226: Add thermal zones node
Add thermal zones present on MSM8226 SoC. Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230507201225.89694-7-matti.lehtimaki@gmail.com
1 parent 0f8861c commit 8d4236f

1 file changed

Lines changed: 44 additions & 0 deletions

File tree

arch/arm/boot/dts/qcom-msm8226.dtsi

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,50 @@
799799
};
800800
};
801801

802+
thermal-zones {
803+
cpu0-thermal {
804+
polling-delay-passive = <250>;
805+
polling-delay = <1000>;
806+
807+
thermal-sensors = <&tsens 5>;
808+
809+
trips {
810+
cpu_alert0: trip0 {
811+
temperature = <75000>;
812+
hysteresis = <2000>;
813+
type = "passive";
814+
};
815+
816+
cpu_crit0: trip1 {
817+
temperature = <110000>;
818+
hysteresis = <2000>;
819+
type = "critical";
820+
};
821+
};
822+
};
823+
824+
cpu1-thermal {
825+
polling-delay-passive = <250>;
826+
polling-delay = <1000>;
827+
828+
thermal-sensors = <&tsens 2>;
829+
830+
trips {
831+
cpu_alert1: trip0 {
832+
temperature = <75000>;
833+
hysteresis = <2000>;
834+
type = "passive";
835+
};
836+
837+
cpu_crit1: trip1 {
838+
temperature = <110000>;
839+
hysteresis = <2000>;
840+
type = "critical";
841+
};
842+
};
843+
};
844+
};
845+
802846
timer {
803847
compatible = "arm,armv7-timer";
804848
interrupts = <GIC_PPI 2

0 commit comments

Comments
 (0)