Skip to content

Commit 1f5be05

Browse files
dangowrtmbgg
authored andcommitted
arm64: dts: mt7986: add thermal-zones
Add thermal-zones to mt7986 devicetree. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230530201235.22330-4-linux@fw-web.de Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent 0a9615d commit 1f5be05

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

arch/arm64/boot/dts/mediatek/mt7986a.dtsi

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,4 +602,32 @@
602602
memory-region = <&wmcpu_emi>;
603603
};
604604
};
605+
606+
thermal-zones {
607+
cpu_thermal: cpu-thermal {
608+
polling-delay-passive = <1000>;
609+
polling-delay = <1000>;
610+
thermal-sensors = <&thermal 0>;
611+
612+
trips {
613+
cpu_trip_active_high: active-high {
614+
temperature = <115000>;
615+
hysteresis = <2000>;
616+
type = "active";
617+
};
618+
619+
cpu_trip_active_low: active-low {
620+
temperature = <85000>;
621+
hysteresis = <2000>;
622+
type = "active";
623+
};
624+
625+
cpu_trip_passive: passive {
626+
temperature = <40000>;
627+
hysteresis = <2000>;
628+
type = "passive";
629+
};
630+
};
631+
};
632+
};
605633
};

0 commit comments

Comments
 (0)