ARM: dts: qcom: Update skin and nsp Tj based config for diwali

Update gpu, cdsp based config mitiation rules for quiet-therm
and NSP thermal zones as per latest recommondation for diwali.

Change-Id: I04e7ffaeb74f8675281b34036f935df4ecbdc294
This commit is contained in:
Gopala Krishna Nuthaki
2022-02-18 10:23:36 +05:30
parent cd40cae245
commit a52b2d4241
4 changed files with 104 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
#include "diwali-pm7250b.dtsi"
#include "diwali-pmic-overlay.dtsi"
#include "diwali-thermal-overlay.dtsi"
&soc {
gpio_keys {

View File

@@ -2,6 +2,7 @@
#include <dt-bindings/input/input.h>
#include "diwali-pmic-overlay.dtsi"
#include "diwali-thermal-overlay.dtsi"
&soc {
gpio_keys {

View File

@@ -173,3 +173,54 @@
pinctrl-1 = <&nfc_int_suspend &nfc_enable_suspend>;
};
};
&thermal_zones {
quiet-therm {
polling-delay-passive = <100>;
trips {
apc_trip:apc-trip {
temperature = <45000>;
hysteresis = <0>;
type = "passive";
};
gpu_trip:gpu-trip {
temperature = <47000>;
hysteresis = <0>;
type = "passive";
};
cx_trip:cx-trip {
temperature = <55000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
apc_cdev {
trip = <&apc_trip>;
cooling-device = <&apc1_cluster 0 5>;
};
gpu_cdev1 {
trip = <&gpu_trip>;
/* Limit freq to 540000000 Hz*/
cooling-device = <&msm_gpu 0 3>;
};
gpu_cdev2 {
trip = <&cx_trip>;
/* Limit freq to 285000000 Hz*/
cooling-device = <&msm_gpu 5 5>;
};
cdsp_cdev {
trip = <&cx_trip>;
cooling-device = <&cdsp_sw 6 6>;
};
};
};
};

View File

@@ -879,6 +879,12 @@
hysteresis = <5000>;
type = "passive";
};
nspss_0_config0: junction-config0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
@@ -887,6 +893,17 @@
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
nsp_cdev1 {
trip = <&nspss_0_config0>;
cooling-device = <&cdsp_sw 6 6>;
};
gpu_cdev {
trip = <&nspss_0_config0>;
/* Limit freq to 285000000 Hz*/
cooling-device = <&msm_gpu 5 5>;
};
};
};
@@ -918,6 +935,12 @@
hysteresis = <5000>;
type = "passive";
};
nspss_1_config1: junction-config1 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
@@ -926,6 +949,17 @@
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
nsp_cdev1 {
trip = <&nspss_1_config1>;
cooling-device = <&cdsp_sw 6 6>;
};
gpu_cdev {
trip = <&nspss_1_config1>;
/* Limit freq to 285000000 Hz*/
cooling-device = <&msm_gpu 5 5>;
};
};
};
@@ -957,6 +991,12 @@
hysteresis = <5000>;
type = "passive";
};
nspss_2_config1: junction-config2 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
@@ -965,6 +1005,17 @@
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>;
};
nsp_cdev1 {
trip = <&nspss_2_config1>;
cooling-device = <&cdsp_sw 6 6>;
};
gpu_cdev {
trip = <&nspss_2_config1>;
/* Limit freq to 285000000 Hz*/
cooling-device = <&msm_gpu 5 5>;
};
};
};