mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
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:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "diwali-pm7250b.dtsi"
|
||||
#include "diwali-pmic-overlay.dtsi"
|
||||
#include "diwali-thermal-overlay.dtsi"
|
||||
|
||||
&soc {
|
||||
gpio_keys {
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include <dt-bindings/input/input.h>
|
||||
|
||||
#include "diwali-pmic-overlay.dtsi"
|
||||
#include "diwali-thermal-overlay.dtsi"
|
||||
|
||||
&soc {
|
||||
gpio_keys {
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user