mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
ARM: dts: qcom: Update skin and cx thermal mitigation config for SHIMA
Add quiet-therm skin sensor thermal config for SHIMA with modem, cdsp and gpu as cooling devices based on latest recomondations. Update nspss-2 tsens sensor thermal config mitigation for SHIMA with cdsp, gpu and modem as cooling devices based on latest recomondations. Change-Id: I6a8cf412b80a6d071bd669fafed61aa72ba41b24
This commit is contained in:
parent
cab2b656b4
commit
cd5fd8cbf7
2 changed files with 126 additions and 70 deletions
|
|
@ -197,6 +197,99 @@
|
|||
qcom,wireless-fw-name = "idt9412.bin";
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
quiet-therm-step {
|
||||
polling-delay-passive = <2000>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&pmk8350_adc_tm PM8350_ADC7_AMUX_THM1_100K_PU>;
|
||||
|
||||
trips {
|
||||
quiet_gpu_trip: quiet-gpu-trip {
|
||||
temperature = <45000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cpu4_trip: quiet-cpu4-trip {
|
||||
temperature = <46000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cpu7_trip: quiet-cpu7-trip {
|
||||
temperature = <48000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cpu0_trip: quiet-cpu0-trip {
|
||||
temperature = <50000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cx_trip: quiet-cx-trip {
|
||||
temperature = <55000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
gpu-cdev0 {
|
||||
trip = <&quiet_gpu_trip>;
|
||||
/* throttle to 443000000Hz */
|
||||
cooling-device = <&msm_gpu THERMAL_NO_LIMIT
|
||||
(THERMAL_MAX_LIMIT-1)>;
|
||||
};
|
||||
|
||||
gpu-cdev1 {
|
||||
trip = <&quiet_cx_trip>;
|
||||
/* throttle to 285000000Hz */
|
||||
cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
|
||||
THERMAL_MAX_LIMIT>;
|
||||
};
|
||||
|
||||
cpufreq0-cdev {
|
||||
trip = <&quiet_cpu0_trip>;
|
||||
/* throttle to 1516800KHz */
|
||||
cooling-device = <&CPU0 THERMAL_NO_LIMIT
|
||||
(THERMAL_MAX_LIMIT-7)>;
|
||||
};
|
||||
|
||||
cpufreq4-cdev {
|
||||
trip = <&quiet_cpu4_trip>;
|
||||
/* throttle to 1651200KHz */
|
||||
cooling-device = <&CPU4 THERMAL_NO_LIMIT
|
||||
(THERMAL_MAX_LIMIT-5)>;
|
||||
};
|
||||
|
||||
cpufreq7-cdev {
|
||||
trip = <&quiet_cpu7_trip>;
|
||||
/* throttle to 1862400KHz */
|
||||
cooling-device = <&CPU7 THERMAL_NO_LIMIT
|
||||
(THERMAL_MAX_LIMIT-5)>;
|
||||
};
|
||||
|
||||
cdsp-cdev {
|
||||
trip = <&quiet_cx_trip>;
|
||||
cooling-device = <&cdsp_sw 5 5>;
|
||||
};
|
||||
|
||||
modem-pa-cdev {
|
||||
trip = <&quiet_cx_trip>;
|
||||
cooling-device = <&modem_pa 3 3>;
|
||||
};
|
||||
|
||||
modem-tj-cdev {
|
||||
trip = <&quiet_cx_trip>;
|
||||
cooling-device = <&modem_tj 3 3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&qupv3_se10_i2c {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
|
|
|||
|
|
@ -1254,18 +1254,12 @@
|
|||
};
|
||||
|
||||
nspss-0-step {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&tsens1 3>;
|
||||
trips {
|
||||
nspss0_trip0: nspss0-trip0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
nspss0_trip1: nspss0-trip1 {
|
||||
nspss0_trip: nspss0-trip {
|
||||
temperature = <100000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
|
|
@ -1273,49 +1267,37 @@
|
|||
};
|
||||
|
||||
cooling-maps {
|
||||
cdsp-cdev0 {
|
||||
trip = <&nspss0_trip0>;
|
||||
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
|
||||
THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cdsp-cdev1 {
|
||||
trip = <&nspss0_trip1>;
|
||||
cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
|
||||
THERMAL_MAX_LIMIT>;
|
||||
cdsp-cdev {
|
||||
trip = <&nspss0_trip>;
|
||||
cooling-device = <&cdsp_sw 5 5>;
|
||||
};
|
||||
|
||||
gpu_cdev {
|
||||
trip = <&nspss0_trip1>;
|
||||
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
|
||||
(THERMAL_MAX_LIMIT-1)>;
|
||||
trip = <&nspss0_trip>;
|
||||
/* throttle to 285000000Hz */
|
||||
cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
|
||||
THERMAL_MAX_LIMIT>;
|
||||
};
|
||||
|
||||
modem-pa-cdev {
|
||||
trip = <&nspss0_trip1>;
|
||||
trip = <&nspss0_trip>;
|
||||
cooling-device = <&modem_pa 3 3>;
|
||||
};
|
||||
|
||||
modem-tj-cdev {
|
||||
trip = <&nspss0_trip1>;
|
||||
trip = <&nspss0_trip>;
|
||||
cooling-device = <&modem_tj 3 3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nspss-1-step {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&tsens1 4>;
|
||||
trips {
|
||||
nspss1_trip0: nspss1-trip0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
nspss1_trip1: nspss1-trip1 {
|
||||
nspss1_trip: nspss1-trip {
|
||||
temperature = <100000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
|
|
@ -1323,49 +1305,37 @@
|
|||
};
|
||||
|
||||
cooling-maps {
|
||||
cdsp-cdev0 {
|
||||
trip = <&nspss1_trip0>;
|
||||
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
|
||||
THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cdsp-cdev1 {
|
||||
trip = <&nspss1_trip1>;
|
||||
cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
|
||||
THERMAL_MAX_LIMIT>;
|
||||
cdsp-cdev {
|
||||
trip = <&nspss1_trip>;
|
||||
cooling-device = <&cdsp_sw 5 5>;
|
||||
};
|
||||
|
||||
gpu_cdev {
|
||||
trip = <&nspss1_trip1>;
|
||||
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
|
||||
(THERMAL_MAX_LIMIT-1)>;
|
||||
trip = <&nspss1_trip>;
|
||||
/* throttle to 285000000Hz */
|
||||
cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
|
||||
THERMAL_MAX_LIMIT>;
|
||||
};
|
||||
|
||||
modem-pa-cdev {
|
||||
trip = <&nspss1_trip1>;
|
||||
trip = <&nspss1_trip>;
|
||||
cooling-device = <&modem_pa 3 3>;
|
||||
};
|
||||
|
||||
modem-tj-cdev {
|
||||
trip = <&nspss1_trip1>;
|
||||
trip = <&nspss1_trip>;
|
||||
cooling-device = <&modem_tj 3 3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nspss-2-step {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&tsens1 5>;
|
||||
trips {
|
||||
nspss2_trip0: nspss2-trip0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
nspss2_trip1: nspss2-trip1 {
|
||||
nspss2_trip: nspss2-trip {
|
||||
temperature = <100000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
|
|
@ -1373,34 +1343,27 @@
|
|||
};
|
||||
|
||||
cooling-maps {
|
||||
cdsp-cdev0 {
|
||||
trip = <&nspss2_trip0>;
|
||||
cooling-device = <&cdsp_sw THERMAL_NO_LIMIT
|
||||
THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cdsp-cdev1 {
|
||||
trip = <&nspss2_trip1>;
|
||||
cooling-device = <&cdsp_sw THERMAL_MAX_LIMIT
|
||||
THERMAL_MAX_LIMIT>;
|
||||
cdsp-cdev {
|
||||
trip = <&nspss2_trip>;
|
||||
cooling-device = <&cdsp_sw 5 5>;
|
||||
};
|
||||
|
||||
gpu_cdev {
|
||||
trip = <&nspss2_trip1>;
|
||||
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
|
||||
(THERMAL_MAX_LIMIT-1)>;
|
||||
trip = <&nspss2_trip>;
|
||||
/* throttle to 285000000Hz */
|
||||
cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
|
||||
THERMAL_MAX_LIMIT>;
|
||||
};
|
||||
|
||||
modem-pa-cdev {
|
||||
trip = <&nspss2_trip1>;
|
||||
trip = <&nspss2_trip>;
|
||||
cooling-device = <&modem_pa 3 3>;
|
||||
};
|
||||
|
||||
modem-tj-cdev {
|
||||
trip = <&nspss2_trip1>;
|
||||
trip = <&nspss2_trip>;
|
||||
cooling-device = <&modem_tj 3 3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue