Skip to content

Commit b21bab7

Browse files
committed
FROMLIST: arm64: dts: qcom: Enable cdsp qmi tmd devices for talos
Enable cdsp cooling devices and thermal zone cooling map bindings for cdsp. Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251223123227.1317244-7-gaurav.kohli@oss.qualcomm.com
1 parent 01b9a1b commit b21bab7

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/talos.dtsi

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include <dt-bindings/power/qcom-rpmpd.h>
1919
#include <dt-bindings/power/qcom,rpmhpd.h>
2020
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
21+
#include <dt-bindings/thermal/thermal.h>
2122

2223
/ {
2324
interrupt-parent = <&intc>;
@@ -3412,6 +3413,14 @@
34123413
};
34133414
};
34143415
};
3416+
3417+
cooling {
3418+
compatible = "qcom,qmi-cooling-cdsp";
3419+
cdsp_sw: cdsp_sw {
3420+
label = "cdsp_sw";
3421+
#cooling-cells = <2>;
3422+
};
3423+
};
34153424
};
34163425

34173426
pmu@90b6300 {
@@ -4683,12 +4692,26 @@
46834692
thermal-sensors = <&tsens0 10>;
46844693

46854694
trips {
4695+
q6_hvx_alert0: trip-point0 {
4696+
temperature = <105000>;
4697+
hysteresis = <5000>;
4698+
type = "passive";
4699+
};
4700+
46864701
q6-hvx-critical {
46874702
temperature = <115000>;
46884703
hysteresis = <1000>;
46894704
type = "critical";
46904705
};
46914706
};
4707+
4708+
cooling-maps {
4709+
map0 {
4710+
trip = <&q6_hvx_alert0>;
4711+
cooling-device = <&cdsp_sw
4712+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
4713+
};
4714+
};
46924715
};
46934716

46944717
mdm-core-thermal {

0 commit comments

Comments
 (0)