From 7d02285338e8cc7445691dbb942ada98b71195ea Mon Sep 17 00:00:00 2001 From: Priyansh Jain Date: Mon, 10 Feb 2025 15:39:14 +0530 Subject: [PATCH] ARM: dts: qcom: Update cpu pause mappings to cpu tsens sensors for tuna Update cpu pause mappings to cpu tsens sensors for tuna. Change-Id: I998e4e916e8f552d2705cd51b1d6053070fc2470 Signed-off-by: Priyansh Jain --- qcom/tuna-thermal.dtsi | 460 ++++++++++++++++++++--------------------- 1 file changed, 230 insertions(+), 230 deletions(-) diff --git a/qcom/tuna-thermal.dtsi b/qcom/tuna-thermal.dtsi index 29406413..5e7eef03 100644 --- a/qcom/tuna-thermal.dtsi +++ b/qcom/tuna-thermal.dtsi @@ -467,13 +467,13 @@ type = "passive"; }; - cpu2_emerg0: cpu2-emerg0-cfg { + cpu5_emerg0: cpu5-emerg0-cfg { temperature = <118000>; hysteresis = <8000>; type = "passive"; }; - cpu2_emerg0_1: cpu2-emerg0-1-cfg { + cpu5_emerg0_1: cpu5-emerg0-1-cfg { temperature = <120000>; hysteresis = <10000>; type = "passive"; @@ -488,13 +488,13 @@ cooling-maps { cpu100_cdev { - trip = <&cpu2_emerg0>; - cooling-device = <&cpu2_pause 1 1>; + trip = <&cpu5_emerg0>; + cooling-device = <&cpu5_pause 1 1>; }; cpu100_cdev1 { - trip = <&cpu2_emerg0_1>; - cooling-device = <&cpu2_hotplug 1 1>; + trip = <&cpu5_emerg0_1>; + cooling-device = <&cpu5_hotplug 1 1>; }; }; }; @@ -517,13 +517,13 @@ type = "passive"; }; - cpu2_emerg1: cpu2-emerg1-cfg { + cpu5_emerg1: cpu5-emerg1-cfg { temperature = <118000>; hysteresis = <8000>; type = "passive"; }; - cpu2_emerg1_1: cpu2-emerg1-1-cfg { + cpu5_emerg1_1: cpu5-emerg1-1-cfg { temperature = <120000>; hysteresis = <10000>; type = "passive"; @@ -538,13 +538,13 @@ cooling-maps { cpu101_cdev { - trip = <&cpu2_emerg1>; - cooling-device = <&cpu2_pause 1 1>; + trip = <&cpu5_emerg1>; + cooling-device = <&cpu5_pause 1 1>; }; cpu101_cdev1 { - trip = <&cpu2_emerg1_1>; - cooling-device = <&cpu2_hotplug 1 1>; + trip = <&cpu5_emerg1_1>; + cooling-device = <&cpu5_hotplug 1 1>; }; }; }; @@ -567,13 +567,13 @@ type = "passive"; }; - cpu3_emerg0: cpu3-emerg0-cfg { + cpu6_emerg0: cpu6-emerg0-cfg { temperature = <118000>; hysteresis = <8000>; type = "passive"; }; - cpu3_emerg0_1: cpu3-emerg0-1-cfg { + cpu6_emerg0_1: cpu6-emerg0-1-cfg { temperature = <120000>; hysteresis = <10000>; type = "passive"; @@ -588,13 +588,13 @@ cooling-maps { cpu110_cdev { - trip = <&cpu3_emerg0>; - cooling-device = <&cpu3_pause 1 1>; + trip = <&cpu6_emerg0>; + cooling-device = <&cpu6_pause 1 1>; }; cpu110_cdev1 { - trip = <&cpu3_emerg0_1>; - cooling-device = <&cpu3_hotplug 1 1>; + trip = <&cpu6_emerg0_1>; + cooling-device = <&cpu6_hotplug 1 1>; }; }; }; @@ -617,13 +617,13 @@ type = "passive"; }; - cpu3_emerg1: cpu3-emerg1-cfg { + cpu6_emerg1: cpu6-emerg1-cfg { temperature = <118000>; hysteresis = <8000>; type = "passive"; }; - cpu3_emerg1_1: cpu3-emerg1-1-cfg { + cpu6_emerg1_1: cpu6-emerg1-1-cfg { temperature = <120000>; hysteresis = <10000>; type = "passive"; @@ -638,13 +638,13 @@ cooling-maps { cpu111_cdev { - trip = <&cpu3_emerg1>; - cooling-device = <&cpu3_pause 1 1>; + trip = <&cpu6_emerg1>; + cooling-device = <&cpu6_pause 1 1>; }; cpu111_cdev1 { - trip = <&cpu3_emerg1_1>; - cooling-device = <&cpu3_hotplug 1 1>; + trip = <&cpu6_emerg1_1>; + cooling-device = <&cpu6_hotplug 1 1>; }; }; }; @@ -714,6 +714,206 @@ polling-delay = <0>; thermal-sensors = <&tsens1 3>; + trips { + trip-point0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-point1 { + temperature = <105000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu2_emerg0: cpu2-emerg0-cfg { + temperature = <118000>; + hysteresis = <8000>; + type = "passive"; + }; + + cpu2_emerg0_1: cpu2-emerg0-1-cfg { + temperature = <120000>; + hysteresis = <10000>; + type = "passive"; + }; + + trip-point2 { + temperature = <125000>; + hysteresis = <0>; + type = "hot"; + }; + }; + + cooling-maps { + cpu120_cdev { + trip = <&cpu2_emerg0>; + cooling-device = <&cpu2_pause 1 1>; + }; + + cpu120_cdev1 { + trip = <&cpu2_emerg0_1>; + cooling-device = <&cpu2_hotplug 1 1>; + }; + }; + }; + + cpu-1-2-1 { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&tsens1 4>; + + trips { + trip-point0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-point1 { + temperature = <105000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu2_emerg1: cpu2-emerg1-cfg { + temperature = <118000>; + hysteresis = <8000>; + type = "passive"; + }; + + cpu2_emerg1_1: cpu2-emerg1-1-cfg { + temperature = <120000>; + hysteresis = <10000>; + type = "passive"; + }; + + trip-point2 { + temperature = <125000>; + hysteresis = <0>; + type = "hot"; + }; + }; + + cooling-maps { + cpu121_cdev { + trip = <&cpu2_emerg1>; + cooling-device = <&cpu2_pause 1 1>; + }; + + cpu121_cdev1 { + trip = <&cpu2_emerg1_1>; + cooling-device = <&cpu2_hotplug 1 1>; + }; + }; + }; + + cpu-1-3-0 { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&tsens1 5>; + + trips { + trip-point0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-point1 { + temperature = <105000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu3_emerg0: cpu3-emerg0-cfg { + temperature = <118000>; + hysteresis = <8000>; + type = "passive"; + }; + + cpu3_emerg0_1: cpu3-emerg0-1-cfg { + temperature = <120000>; + hysteresis = <10000>; + type = "passive"; + }; + + trip-point4 { + temperature = <125000>; + hysteresis = <0>; + type = "hot"; + }; + }; + + cooling-maps { + cpu130_cdev { + trip = <&cpu3_emerg0>; + cooling-device = <&cpu3_pause 1 1>; + }; + + cpu130_cdev1 { + trip = <&cpu3_emerg0_1>; + cooling-device = <&cpu3_hotplug 1 1>; + }; + }; + }; + + cpu-1-3-1 { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&tsens1 6>; + + trips { + trip-point0 { + temperature = <135000>; + hysteresis = <5000>; + type = "passive"; + }; + + trip-point1 { + temperature = <105000>; + hysteresis = <5000>; + type = "passive"; + }; + + cpu3_emerg1: cpu3-emerg1-cfg { + temperature = <118000>; + hysteresis = <8000>; + type = "passive"; + }; + + cpu3_emerg1_1: cpu3-emerg1-1-cfg { + temperature = <120000>; + hysteresis = <10000>; + type = "passive"; + }; + + trip-point2 { + temperature = <125000>; + hysteresis = <0>; + type = "hot"; + }; + }; + + cooling-maps { + cpu131_cdev { + trip = <&cpu3_emerg1>; + cooling-device = <&cpu3_pause 1 1>; + }; + + cpu131_cdev1 { + trip = <&cpu3_emerg1_1>; + cooling-device = <&cpu3_hotplug 1 1>; + }; + }; + }; + + cpu-1-4-0 { + polling-delay-passive = <0>; + polling-delay = <0>; + thermal-sensors = <&tsens1 7>; + trips { trip-point0 { temperature = <135000>; @@ -747,22 +947,22 @@ }; cooling-maps { - cpu120_cdev { + cpu140_cdev { trip = <&cpu4_emerg0>; cooling-device = <&cpu4_pause 1 1>; }; - cpu120_cdev1 { + cpu140_cdev1 { trip = <&cpu4_emerg0_1>; cooling-device = <&cpu4_hotplug 1 1>; }; }; }; - cpu-1-2-1 { + cpu-1-4-1 { polling-delay-passive = <0>; polling-delay = <0>; - thermal-sensors = <&tsens1 4>; + thermal-sensors = <&tsens1 8>; trips { trip-point0 { @@ -797,218 +997,18 @@ }; cooling-maps { - cpu121_cdev { + cpu141_cdev { trip = <&cpu4_emerg1>; cooling-device = <&cpu4_pause 1 1>; }; - cpu121_cdev1 { + cpu141_cdev1 { trip = <&cpu4_emerg1_1>; cooling-device = <&cpu4_hotplug 1 1>; }; }; }; - cpu-1-3-0 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 5>; - - trips { - trip-point0 { - temperature = <135000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-point1 { - temperature = <105000>; - hysteresis = <5000>; - type = "passive"; - }; - - cpu5_emerg0: cpu5-emerg0-cfg { - temperature = <118000>; - hysteresis = <8000>; - type = "passive"; - }; - - cpu5_emerg0_1: cpu5-emerg0-1-cfg { - temperature = <120000>; - hysteresis = <10000>; - type = "passive"; - }; - - trip-point4 { - temperature = <125000>; - hysteresis = <0>; - type = "hot"; - }; - }; - - cooling-maps { - cpu130_cdev { - trip = <&cpu5_emerg0>; - cooling-device = <&cpu5_pause 1 1>; - }; - - cpu130_cdev1 { - trip = <&cpu5_emerg0_1>; - cooling-device = <&cpu5_hotplug 1 1>; - }; - }; - }; - - cpu-1-3-1 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 6>; - - trips { - trip-point0 { - temperature = <135000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-point1 { - temperature = <105000>; - hysteresis = <5000>; - type = "passive"; - }; - - cpu5_emerg1: cpu5-emerg1-cfg { - temperature = <118000>; - hysteresis = <8000>; - type = "passive"; - }; - - cpu5_emerg1_1: cpu5-emerg1-1-cfg { - temperature = <120000>; - hysteresis = <10000>; - type = "passive"; - }; - - trip-point2 { - temperature = <125000>; - hysteresis = <0>; - type = "hot"; - }; - }; - - cooling-maps { - cpu131_cdev { - trip = <&cpu5_emerg1>; - cooling-device = <&cpu5_pause 1 1>; - }; - - cpu131_cdev1 { - trip = <&cpu5_emerg1_1>; - cooling-device = <&cpu5_hotplug 1 1>; - }; - }; - }; - - cpu-1-4-0 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 7>; - - trips { - trip-point0 { - temperature = <135000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-point1 { - temperature = <105000>; - hysteresis = <5000>; - type = "passive"; - }; - - cpu6_emerg0: cpu6-emerg0-cfg { - temperature = <118000>; - hysteresis = <8000>; - type = "passive"; - }; - - cpu6_emerg0_1: cpu6-emerg0-1-cfg { - temperature = <120000>; - hysteresis = <10000>; - type = "passive"; - }; - - trip-point2 { - temperature = <125000>; - hysteresis = <0>; - type = "hot"; - }; - }; - - cooling-maps { - cpu140_cdev { - trip = <&cpu6_emerg0>; - cooling-device = <&cpu6_pause 1 1>; - }; - - cpu140_cdev1 { - trip = <&cpu6_emerg0_1>; - cooling-device = <&cpu6_hotplug 1 1>; - }; - }; - }; - - cpu-1-4-1 { - polling-delay-passive = <0>; - polling-delay = <0>; - thermal-sensors = <&tsens1 8>; - - trips { - trip-point0 { - temperature = <135000>; - hysteresis = <5000>; - type = "passive"; - }; - - trip-point1 { - temperature = <105000>; - hysteresis = <5000>; - type = "passive"; - }; - - cpu6_emerg1: cpu6-emerg1-cfg { - temperature = <118000>; - hysteresis = <8000>; - type = "passive"; - }; - - cpu6_emerg1_1: cpu6-emerg1-1-cfg { - temperature = <120000>; - hysteresis = <10000>; - type = "passive"; - }; - - trip-point2 { - temperature = <125000>; - hysteresis = <0>; - type = "hot"; - }; - }; - - cooling-maps { - cpu141_cdev { - trip = <&cpu6_emerg1>; - cooling-device = <&cpu6_pause 1 1>; - }; - - cpu141_cdev1 { - trip = <&cpu6_emerg1_1>; - cooling-device = <&cpu6_hotplug 1 1>; - }; - }; - }; - cpu-0-0-0 { polling-delay-passive = <0>; polling-delay = <0>;