diff --git a/arch/arm64/boot/dts/qcom/nord-embedded.dtsi b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi index 9925a320b13a..20888736be19 100644 --- a/arch/arm64/boot/dts/qcom/nord-embedded.dtsi +++ b/arch/arm64/boot/dts/qcom/nord-embedded.dtsi @@ -18,6 +18,7 @@ #include #include #include +#include #include "nord.dtsi" #include "pmm8650au-nord.dtsi" @@ -4149,3 +4150,179 @@ clock-names = "hlos"; power-domains = <&gpucc GPU_CC_CX_GDSC>; }; + +&gpu_0_0_0_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpu_0_0_0_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpu_0_0_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpu_0_0_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpu_0_1_0_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpu_0_1_0_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpu_0_1_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpu_0_1_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_0_1_0_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_0_1_0_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_0_1_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_0_1_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_0_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_0_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_0_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss0_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_1_0_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_1_0_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_1_1_0_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_1_1_0_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_1_1_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_1_1_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_2_0_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_2_0_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_2_1_0_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_2_1_0_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_2_1_1_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss_2_1_1_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; + +&gpuss_2_thermal { + polling-delay-passive = <10>; + + cooling-maps { + map0 { + trip = <&gpuss2_alert0>; + cooling-device = <&gpu_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; +}; diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi index feaa2a59d734..21d184480f44 100644 --- a/arch/arm64/boot/dts/qcom/nord.dtsi +++ b/arch/arm64/boot/dts/qcom/nord.dtsi @@ -8500,13 +8500,13 @@ }; }; - gpuss-0-thermal { + gpuss_0_thermal: gpuss-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 1>; trips { - trip-point0 { + gpuss0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8520,13 +8520,13 @@ }; }; - gpuss-1-thermal { + gpuss_1_thermal: gpuss-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 2>; trips { - trip-point0 { + gpuss1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8540,13 +8540,13 @@ }; }; - gpuss-2-thermal { + gpuss_2_thermal: gpuss-2-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 3>; trips { - trip-point0 { + gpuss2_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8560,13 +8560,13 @@ }; }; - gpu-0-0-0-thermal { + gpu_0_0_0_thermal: gpu-0-0-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 4>; trips { - trip-point0 { + gpu_0_0_0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8580,13 +8580,13 @@ }; }; - gpuss-1-0-thermal { + gpuss_1_0_thermal: gpuss-1-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 5>; trips { - trip-point0 { + gpuss_1_0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8600,13 +8600,13 @@ }; }; - gpuss-1-1-thermal { + gpuss_1_1_thermal: gpuss-1-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 6>; trips { - trip-point0 { + gpuss_1_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8720,13 +8720,13 @@ }; }; - gpuss-0-1-1-thermal { + gpuss_0_1_1_thermal: gpuss-0-1-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 12>; trips { - trip-point0 { + gpuss_0_1_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8740,13 +8740,13 @@ }; }; - gpuss-1-1-1-thermal { + gpuss_1_1_1_thermal: gpuss-1-1-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 13>; trips { - trip-point0 { + gpuss_1_1_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8760,13 +8760,13 @@ }; }; - gpuss-2-1-1-thermal { + gpuss_2_1_1_thermal: gpuss-2-1-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 14>; trips { - trip-point0 { + gpuss_2_1_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8780,13 +8780,13 @@ }; }; - gpu-0-1-1-thermal { + gpu_0_1_1_thermal: gpu-0-1-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens6 15>; trips { - trip-point0 { + gpu_0_1_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8820,13 +8820,13 @@ }; }; - gpuss-0-1-0-thermal { + gpuss_0_1_0_thermal: gpuss-0-1-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 1>; trips { - trip-point0 { + gpuss_0_1_0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8840,13 +8840,13 @@ }; }; - gpuss-1-1-0-thermal { + gpuss_1_1_0_thermal: gpuss-1-1-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 2>; trips { - trip-point0 { + gpuss_1_1_0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8860,13 +8860,13 @@ }; }; - gpuss-2-1-0-thermal { + gpuss_2_1_0_thermal: gpuss-2-1-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 3>; trips { - trip-point0 { + gpuss_2_1_0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8880,13 +8880,13 @@ }; }; - gpu-0-1-0-thermal { + gpu_0_1_0_thermal: gpu-0-1-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 4>; trips { - trip-point0 { + gpu_0_1_0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8900,13 +8900,13 @@ }; }; - gpuss-1-2-thermal { + gpuss_1_2_thermal: gpuss-1-2-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 5>; trips { - trip-point0 { + gpuss_1_2_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -8920,13 +8920,13 @@ }; }; - gpu-1-0-thermal { + gpu_1_0_thermal: gpu-1-0-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 6>; trips { - trip-point0 { + gpu_1_0_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -9040,13 +9040,13 @@ }; }; - gpuss-0-1-thermal { + gpuss_0_1_thermal: gpuss-0-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 12>; trips { - trip-point0 { + gpuss_0_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -9060,13 +9060,13 @@ }; }; - gpuss-1-0-1-thermal { + gpuss_1_0_1_thermal: gpuss-1-0-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 13>; trips { - trip-point0 { + gpuss_1_0_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -9080,13 +9080,13 @@ }; }; - gpuss-2-0-1-thermal { + gpuss_2_0_1_thermal: gpuss-2-0-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 14>; trips { - trip-point0 { + gpuss_2_0_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive"; @@ -9100,13 +9100,13 @@ }; }; - gpu-0-0-1-thermal { + gpu_0_0_1_thermal: gpu-0-0-1-thermal { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens7 15>; trips { - trip-point0 { + gpu_0_0_1_alert0: trip-point0 { temperature = <105000>; hysteresis = <10000>; type = "passive";