mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 04:59:05 +00:00
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:
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -161,4 +161,15 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
isense_trim {
|
||||
cooling-maps {
|
||||
gold_plus_cdev {
|
||||
cooling-device = <&CPU7 18 18>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
#include "waipio-v2-gpu.dtsi"
|
||||
|
||||
Reference in New Issue
Block a user