mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-06 21:14:18 +00:00
arm64: dts: mediatek: mt8195: Add AP domain thermal zones
Add AP Domain thermal zones for the mt8195 and specify the targeted temperature thresholds. Signed-off-by: Balsam CHIHI <bchihi@baylibre.com> Link: https://lore.kernel.org/r/20230405100907.53740-1-bchihi@baylibre.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
7e07d3322d
commit
1e5b672519
@ -3262,5 +3262,185 @@ map0 {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
vpu0-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_VPU0>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
vpu0_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
vpu0_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
vpu1-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_VPU1>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
vpu1_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
vpu1_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gpu0-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_GPU0>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
gpu0_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
gpu0_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gpu1-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_GPU1>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
gpu1_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
gpu1_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
vdec-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_VDEC>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
vdec_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
vdec_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
img-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_IMG>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
img_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
img_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
infra-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_INFRA>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
infra_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
infra_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
cam0-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_CAM0>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
cam0_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
cam0_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
cam1-thermal {
|
||||||
|
polling-delay = <1000>;
|
||||||
|
polling-delay-passive = <250>;
|
||||||
|
thermal-sensors = <&lvts_ap MT8195_AP_CAM1>;
|
||||||
|
|
||||||
|
trips {
|
||||||
|
cam1_alert: trip-alert {
|
||||||
|
temperature = <85000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
cam1_crit: trip-crit {
|
||||||
|
temperature = <100000>;
|
||||||
|
hysteresis = <2000>;
|
||||||
|
type = "critical";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user