ARM: dts: qcom: enable NSP isense trim thermal zone and mitigation

Enable isense trim thermal zone and cooling mapping as per
recommendation.

Change-Id: Ia869443cabd5c5b55b3a37891043bf66dc5d27e9
This commit is contained in:
Manaf Meethalavalappu Pallikunhi
2021-10-07 14:16:37 +05:30
parent e29807fd71
commit 528adf06fa
2 changed files with 51 additions and 0 deletions

View File

@@ -247,6 +247,15 @@
#include "waipio-thermal-modem.dtsi"
&soc {
qmi-ts-sensors {
cdsp {
qcom,instance-id = <QMI_CDSP_INST_ID>;
qcom,qmi-sensor-names = "isense_trim";
};
};
};
&thermal_zones {
aoss-0 {
polling-delay-passive = <0>;
@@ -1484,4 +1493,35 @@
};
};
};
isense_trim {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&qmi_sensor
(QMI_CDSP_INST_ID+QMI_NSP_ISENSE_TRIM)>;
trips {
isense_trim_trip: isense-trim-config {
temperature = <2>;
hysteresis = <1>;
type = "passive";
};
};
cooling-maps {
gold_cdev {
trip = <&isense_trim_trip>;
cooling-device = <&CPU4 15 15>;
};
gold_plus_cdev {
trip = <&isense_trim_trip>;
cooling-device = <&CPU7 15 15>;
};
cdsp_hw_cdev {
trip = <&isense_trim_trip>;
cooling-device = <&cdsp_hw 1 1>;
};
};
};
};

View File

@@ -161,4 +161,15 @@
};
};
};
&thermal_zones {
isense_trim {
cooling-maps {
gold_plus_cdev {
cooling-device = <&CPU7 18 18>;
};
};
};
};
#include "waipio-v2-gpu.dtsi"