ARM: dts: qcom: Add dev freq cooling device for sun

Add dev freq cooling device and respective GPU cooling maps
for sun.

Change-Id: Iddc97a45a31804662c3db01730fa710e7eb7eecb
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
This commit is contained in:
Rashid Zafar
2023-11-05 19:22:39 -08:00
parent b9642d6a79
commit 56b0c9980a

View File

@@ -5,6 +5,10 @@
#include <dt-bindings/thermal/thermal_qti.h> #include <dt-bindings/thermal/thermal_qti.h>
&msm_gpu {
#cooling-cells = <2>;
};
&soc { &soc {
tsens0: tsens0@c228000 { tsens0: tsens0@c228000 {
compatible = "qcom,tsens-v2"; compatible = "qcom,tsens-v2";
@@ -49,6 +53,11 @@
interrupt-names = "uplow","critical"; interrupt-names = "uplow","critical";
#thermal-sensor-cells = <1>; #thermal-sensor-cells = <1>;
}; };
qcom,devfreq-cdev {
compatible = "qcom,devfreq-cdev";
qcom,devfreq = <&msm_gpu>;
};
}; };
&thermal_zones { &thermal_zones {
@@ -1006,6 +1015,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu0_cdev {
trip = <&gpu0_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
gpuss-1 { gpuss-1 {
@@ -1037,6 +1053,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu1_cdev {
trip = <&gpu1_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
gpuss-2 { gpuss-2 {
@@ -1068,6 +1091,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu2_cdev {
trip = <&gpu2_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
gpuss-3 { gpuss-3 {
@@ -1099,6 +1129,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu3_cdev {
trip = <&gpu3_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
gpuss-4 { gpuss-4 {
@@ -1130,6 +1167,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu4_cdev {
trip = <&gpu4_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
gpuss-5 { gpuss-5 {
@@ -1161,6 +1205,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu5_cdev {
trip = <&gpu5_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
gpuss-6 { gpuss-6 {
@@ -1192,6 +1243,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu6_cdev {
trip = <&gpu6_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
gpuss-7 { gpuss-7 {
@@ -1223,6 +1281,13 @@
type = "passive"; type = "passive";
}; };
}; };
cooling-maps {
gpu7_cdev {
trip = <&gpu7_tj_cfg>;
cooling-device = <&msm_gpu 0 THERMAL_NO_LIMIT>;
};
};
}; };
mdmss-0 { mdmss-0 {