mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
ARM: dts: qcom: Add emergency mitigation for xo-therm thermal zone
Add emergency mitigation rule for xo-therm thermal zone for kalama. It also adds dummy trip and mitigation for display cooling device. Change-Id: I61c99bf9951be62518d951216002a8aa5622c0f6
This commit is contained in:
@@ -429,6 +429,42 @@
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
xo_config0: xo-config0 {
|
||||
temperature = <78000>;
|
||||
hysteresis = <8000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
xo_config1: xo-config1 {
|
||||
temperature = <80000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
display_test_config1: display-test-config1 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
display_test_config2: display-test-config2 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
display_test_config3: display-test-config3 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
display_test_config4: display-test-config4 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -125,4 +125,78 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
xo-therm {
|
||||
cooling-maps {
|
||||
apc1_cdev {
|
||||
trip = <&xo_config0>;
|
||||
cooling-device = <&APC1_pause 1 1>;
|
||||
};
|
||||
|
||||
cdsp_cdev {
|
||||
trip = <&xo_config0>;
|
||||
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
gpu_cdev {
|
||||
trip = <&xo_config0>;
|
||||
cooling-device = <&msm_gpu 5 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cpu3_hot_cdev {
|
||||
trip = <&xo_config1>;
|
||||
cooling-device = <&cpu3_hotplug 1 1>;
|
||||
};
|
||||
|
||||
cpu4_hot_cdev {
|
||||
trip = <&xo_config1>;
|
||||
cooling-device = <&cpu4_hotplug 1 1>;
|
||||
};
|
||||
|
||||
cpu5_hot_cdev {
|
||||
trip = <&xo_config1>;
|
||||
cooling-device = <&cpu5_hotplug 1 1>;
|
||||
};
|
||||
|
||||
cpu6_hot_cdev {
|
||||
trip = <&xo_config1>;
|
||||
cooling-device = <&cpu6_hotplug 1 1>;
|
||||
};
|
||||
|
||||
cpu7_hot_cdev {
|
||||
trip = <&xo_config1>;
|
||||
cooling-device = <&cpu7_hotplug 1 1>;
|
||||
};
|
||||
|
||||
lte_cdev {
|
||||
trip = <&xo_config1>;
|
||||
cooling-device = <&modem_lte_dsc 255 255>;
|
||||
};
|
||||
|
||||
nr_cdev {
|
||||
trip = <&xo_config1>;
|
||||
cooling-device = <&modem_nr_scg_dsc 255 255>;
|
||||
};
|
||||
|
||||
display_cdev1 {
|
||||
trip = <&display_test_config1>;
|
||||
cooling-device = <&display_fps 1 1>;
|
||||
};
|
||||
|
||||
display_cdev2 {
|
||||
trip = <&display_test_config2>;
|
||||
cooling-device = <&display_fps 2 2>;
|
||||
};
|
||||
|
||||
display_cdev3 {
|
||||
trip = <&display_test_config3>;
|
||||
cooling-device = <&display_fps 3 3>;
|
||||
};
|
||||
|
||||
display_cdev4 {
|
||||
trip = <&display_test_config4>;
|
||||
cooling-device = <&display_fps 4 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user