mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
ARM: dts: msm: Update thermal mitigation config for SHIMA
Update quiet-therm sensor skin thermal zone mitigation config for SHIMA based on latest recommendation. Add modem lte sub6 skin sensor based thermal zone mitigation config for SHIMA on latest recomondation. Change-Id: I1305de5650dae6d234fc4338b0dee9665a2c844d
This commit is contained in:
parent
0f8c066abf
commit
c44ace7d56
2 changed files with 177 additions and 16 deletions
|
|
@ -205,30 +205,72 @@
|
|||
thermal-sensors = <&pmk8350_adc_tm PM8350_ADC7_AMUX_THM1_100K_PU>;
|
||||
|
||||
trips {
|
||||
quiet_gpu_trip: quiet-gpu-trip {
|
||||
temperature = <45000>;
|
||||
hysteresis = <0>;
|
||||
quiet_batt_trip0: quiet-batt-trip0 {
|
||||
temperature = <43000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cpu4_trip: quiet-cpu4-trip {
|
||||
quiet_batt_trip1: quiet-batt-trip1 {
|
||||
temperature = <45000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_modem_skin_trip0: quiet-modem-skin-trip0 {
|
||||
temperature = <45000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_gpu_trip: quiet-gpu-trip {
|
||||
temperature = <46000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cpu7_trip: quiet-cpu7-trip {
|
||||
quiet_batt_trip2: quiet-batt-trip2 {
|
||||
temperature = <47000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_modem_skin_trip1: quiet-modem-skin-trip1 {
|
||||
temperature = <47000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_apc_trip: quiet-apc-trip {
|
||||
temperature = <48000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_batt_trip3: quiet-batt-trip3 {
|
||||
temperature = <49000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cpu0_trip: quiet-cpu0-trip {
|
||||
temperature = <50000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_batt_trip4: quiet-batt-trip4 {
|
||||
temperature = <50000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_modem_skin_trip2: quiet-modem-skin-trip2 {
|
||||
temperature = <50000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
quiet_cx_trip: quiet-cx-trip {
|
||||
temperature = <55000>;
|
||||
hysteresis = <5000>;
|
||||
|
|
@ -258,18 +300,9 @@
|
|||
(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)>;
|
||||
apc-cdev {
|
||||
trip = <&quiet_apc_trip>;
|
||||
cooling-device = <&apc1_cluster THERMAL_NO_LIMIT 5>;
|
||||
};
|
||||
|
||||
cdsp-cdev {
|
||||
|
|
@ -286,6 +319,46 @@
|
|||
trip = <&quiet_cx_trip>;
|
||||
cooling-device = <&modem_tj 3 3>;
|
||||
};
|
||||
|
||||
modem-skin-cdev0 {
|
||||
trip = <&quiet_modem_skin_trip0>;
|
||||
cooling-device = <&modem_skin 1 1>;
|
||||
};
|
||||
|
||||
modem-skin-cdev1 {
|
||||
trip = <&quiet_modem_skin_trip1>;
|
||||
cooling-device = <&modem_skin 2 2>;
|
||||
};
|
||||
|
||||
modem-skin-cdev2 {
|
||||
trip = <&quiet_modem_skin_trip2>;
|
||||
cooling-device = <&modem_skin 3 3>;
|
||||
};
|
||||
|
||||
modem-batt-cdev0 {
|
||||
trip = <&quiet_batt_trip0>;
|
||||
cooling-device = <&battery_charger 8 8>;
|
||||
};
|
||||
|
||||
modem-batt-cdev1 {
|
||||
trip = <&quiet_batt_trip1>;
|
||||
cooling-device = <&battery_charger 12 12>;
|
||||
};
|
||||
|
||||
modem-batt-cdev2 {
|
||||
trip = <&quiet_batt_trip2>;
|
||||
cooling-device = <&battery_charger 14 14>;
|
||||
};
|
||||
|
||||
modem-batt-cdev3 {
|
||||
trip = <&quiet_batt_trip3>;
|
||||
cooling-device = <&battery_charger 16 16>;
|
||||
};
|
||||
|
||||
modem-batt-cdev4 {
|
||||
trip = <&quiet_batt_trip4>;
|
||||
cooling-device = <&battery_charger 18 18>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1411,6 +1411,94 @@
|
|||
};
|
||||
};
|
||||
|
||||
modem-lte-sub6-pa1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&qmi_sensor
|
||||
(QMI_MODEM_INST_ID+QMI_PA)>;
|
||||
trips {
|
||||
modem_trip0: modem-trip0 {
|
||||
temperature = <46000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
modem_trip1: modem-trip1 {
|
||||
temperature = <47000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
modem_trip2: modem-trip2 {
|
||||
temperature = <54000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
modem_cdev0 {
|
||||
trip = <&modem_trip0>;
|
||||
cooling-device = <&modem_pa 1 1>;
|
||||
};
|
||||
|
||||
modem_cdev1 {
|
||||
trip = <&modem_trip1>;
|
||||
cooling-device = <&modem_pa 2 2>;
|
||||
};
|
||||
|
||||
modem_cdev2 {
|
||||
trip = <&modem_trip2>;
|
||||
cooling-device = <&modem_pa 3 3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
modem-lte-sub6-pa2 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&qmi_sensor
|
||||
(QMI_MODEM_INST_ID+QMI_PA_1)>;
|
||||
trips {
|
||||
modem_pa_fr1_trip0: modem-pa-fr1-trip0 {
|
||||
temperature = <46000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
modem_pa_fr1_trip1: modem-pa-fr1-trip1 {
|
||||
temperature = <47000>;
|
||||
hysteresis = <4000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
modem_pa_fr1_trip2: modem-pa-fr1-trip2 {
|
||||
temperature = <55000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
modem_cdev0 {
|
||||
trip = <&modem_pa_fr1_trip0>;
|
||||
cooling-device = <&modem_pa_fr1 1 1>;
|
||||
};
|
||||
|
||||
modem_cdev1 {
|
||||
trip = <&modem_pa_fr1_trip1>;
|
||||
cooling-device = <&modem_pa_fr1 2 2>;
|
||||
};
|
||||
|
||||
modem_cdev2 {
|
||||
trip = <&modem_pa_fr1_trip2>;
|
||||
cooling-device = <&modem_pa_fr1 3 3>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mx-pe-step {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
|
|
|
|||
Loading…
Reference in a new issue