Skip to content

Commit 87db140

Browse files
committed
FROMLIST: arm64: dts: qcom: Enable cdsp qmi tmd devices for lemans
Enable cdsp cooling devices and thermal zone cooling map bindings for both cdsp and cdsp1. Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251223123227.1317244-6-gaurav.kohli@oss.qualcomm.com
1 parent 026f106 commit 87db140

1 file changed

Lines changed: 125 additions & 12 deletions

File tree

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

Lines changed: 125 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7129,6 +7129,14 @@
71297129
};
71307130
};
71317131
};
7132+
7133+
cooling {
7134+
compatible = "qcom,qmi-cooling-cdsp";
7135+
cdsp_sw0: cdsp_sw {
7136+
label = "cdsp_sw";
7137+
#cooling-cells = <2>;
7138+
};
7139+
};
71327140
};
71337141

71347142
remoteproc_cdsp1: remoteproc@2a300000 {
@@ -7285,6 +7293,15 @@
72857293
};
72867294
};
72877295
};
7296+
7297+
7298+
cooling {
7299+
compatible = "qcom,qmi-cooling-cdsp";
7300+
cdsp_sw1: cdsp_sw {
7301+
label = "cdsp_sw";
7302+
#cooling-cells = <2>;
7303+
};
7304+
};
72887305
};
72897306

72907307
remoteproc_adsp: remoteproc@30000000 {
@@ -8009,7 +8026,7 @@
80098026
thermal-sensors = <&tsens2 5>;
80108027

80118028
trips {
8012-
trip-point0 {
8029+
nsp_0_0_0_alert0: trip-point0 {
80138030
temperature = <105000>;
80148031
hysteresis = <5000>;
80158032
type = "passive";
@@ -8021,6 +8038,14 @@
80218038
type = "passive";
80228039
};
80238040
};
8041+
8042+
cooling-maps {
8043+
map0 {
8044+
trip = <&nsp_0_0_0_alert0>;
8045+
cooling-device = <&cdsp_sw0
8046+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8047+
};
8048+
};
80248049
};
80258050

80268051
nsp-0-1-0-thermal {
@@ -8029,7 +8054,7 @@
80298054
thermal-sensors = <&tsens2 6>;
80308055

80318056
trips {
8032-
trip-point0 {
8057+
nsp_0_1_0_alert0: trip-point0 {
80338058
temperature = <105000>;
80348059
hysteresis = <5000>;
80358060
type = "passive";
@@ -8041,6 +8066,14 @@
80418066
type = "passive";
80428067
};
80438068
};
8069+
8070+
cooling-maps {
8071+
map0 {
8072+
trip = <&nsp_0_1_0_alert0>;
8073+
cooling-device = <&cdsp_sw0
8074+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8075+
};
8076+
};
80448077
};
80458078

80468079
nsp-0-2-0-thermal {
@@ -8049,7 +8082,7 @@
80498082
thermal-sensors = <&tsens2 7>;
80508083

80518084
trips {
8052-
trip-point0 {
8085+
nsp_0_2_0_alert0: trip-point0 {
80538086
temperature = <105000>;
80548087
hysteresis = <5000>;
80558088
type = "passive";
@@ -8061,6 +8094,14 @@
80618094
type = "passive";
80628095
};
80638096
};
8097+
8098+
cooling-maps {
8099+
map0 {
8100+
trip = <&nsp_0_2_0_alert0>;
8101+
cooling-device = <&cdsp_sw0
8102+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8103+
};
8104+
};
80648105
};
80658106

80668107
nsp-1-0-0-thermal {
@@ -8069,7 +8110,7 @@
80698110
thermal-sensors = <&tsens2 8>;
80708111

80718112
trips {
8072-
trip-point0 {
8113+
nsp_1_0_0_alert0: trip-point0 {
80738114
temperature = <105000>;
80748115
hysteresis = <5000>;
80758116
type = "passive";
@@ -8081,6 +8122,14 @@
80818122
type = "passive";
80828123
};
80838124
};
8125+
8126+
cooling-maps {
8127+
map0 {
8128+
trip = <&nsp_1_0_0_alert0>;
8129+
cooling-device = <&cdsp_sw1
8130+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8131+
};
8132+
};
80848133
};
80858134

80868135
nsp-1-1-0-thermal {
@@ -8089,7 +8138,7 @@
80898138
thermal-sensors = <&tsens2 9>;
80908139

80918140
trips {
8092-
trip-point0 {
8141+
nsp_1_1_0_alert0: trip-point0 {
80938142
temperature = <105000>;
80948143
hysteresis = <5000>;
80958144
type = "passive";
@@ -8101,6 +8150,14 @@
81018150
type = "passive";
81028151
};
81038152
};
8153+
8154+
cooling-maps {
8155+
map0 {
8156+
trip = <&nsp_1_1_0_alert0>;
8157+
cooling-device = <&cdsp_sw1
8158+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8159+
};
8160+
};
81048161
};
81058162

81068163
nsp-1-2-0-thermal {
@@ -8109,7 +8166,7 @@
81098166
thermal-sensors = <&tsens2 10>;
81108167

81118168
trips {
8112-
trip-point0 {
8169+
nsp_1_2_0_alert0: trip-point0 {
81138170
temperature = <105000>;
81148171
hysteresis = <5000>;
81158172
type = "passive";
@@ -8121,6 +8178,14 @@
81218178
type = "passive";
81228179
};
81238180
};
8181+
8182+
cooling-maps {
8183+
map0 {
8184+
trip = <&nsp_1_2_0_alert0>;
8185+
cooling-device = <&cdsp_sw1
8186+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8187+
};
8188+
};
81248189
};
81258190

81268191
ddrss-0-thermal {
@@ -8263,7 +8328,7 @@
82638328
thermal-sensors = <&tsens3 5>;
82648329

82658330
trips {
8266-
trip-point0 {
8331+
nsp_0_0_1_alert0: trip-point0 {
82678332
temperature = <105000>;
82688333
hysteresis = <5000>;
82698334
type = "passive";
@@ -8275,6 +8340,14 @@
82758340
type = "passive";
82768341
};
82778342
};
8343+
8344+
cooling-maps {
8345+
map0 {
8346+
trip = <&nsp_0_0_1_alert0>;
8347+
cooling-device = <&cdsp_sw0
8348+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8349+
};
8350+
};
82788351
};
82798352

82808353
nsp-0-1-1-thermal {
@@ -8283,7 +8356,7 @@
82838356
thermal-sensors = <&tsens3 6>;
82848357

82858358
trips {
8286-
trip-point0 {
8359+
nsp_0_1_1_alert0: trip-point0 {
82878360
temperature = <105000>;
82888361
hysteresis = <5000>;
82898362
type = "passive";
@@ -8295,6 +8368,14 @@
82958368
type = "passive";
82968369
};
82978370
};
8371+
8372+
cooling-maps {
8373+
map0 {
8374+
trip = <&nsp_0_1_1_alert0>;
8375+
cooling-device = <&cdsp_sw0
8376+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8377+
};
8378+
};
82988379
};
82998380

83008381
nsp-0-2-1-thermal {
@@ -8303,7 +8384,7 @@
83038384
thermal-sensors = <&tsens3 7>;
83048385

83058386
trips {
8306-
trip-point0 {
8387+
nsp_0_2_1_alert0: trip-point0 {
83078388
temperature = <105000>;
83088389
hysteresis = <5000>;
83098390
type = "passive";
@@ -8315,6 +8396,14 @@
83158396
type = "passive";
83168397
};
83178398
};
8399+
8400+
cooling-maps {
8401+
map0 {
8402+
trip = <&nsp_0_2_1_alert0>;
8403+
cooling-device = <&cdsp_sw0
8404+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8405+
};
8406+
};
83188407
};
83198408

83208409
nsp-1-0-1-thermal {
@@ -8323,7 +8412,7 @@
83238412
thermal-sensors = <&tsens3 8>;
83248413

83258414
trips {
8326-
trip-point0 {
8415+
nsp_1_0_1_alert0: trip-point0 {
83278416
temperature = <105000>;
83288417
hysteresis = <5000>;
83298418
type = "passive";
@@ -8335,6 +8424,14 @@
83358424
type = "passive";
83368425
};
83378426
};
8427+
8428+
cooling-maps {
8429+
map0 {
8430+
trip = <&nsp_1_0_1_alert0>;
8431+
cooling-device = <&cdsp_sw1
8432+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8433+
};
8434+
};
83388435
};
83398436

83408437
nsp-1-1-1-thermal {
@@ -8343,7 +8440,7 @@
83438440
thermal-sensors = <&tsens3 9>;
83448441

83458442
trips {
8346-
trip-point0 {
8443+
nsp_1_1_1_alert0: trip-point0 {
83478444
temperature = <105000>;
83488445
hysteresis = <5000>;
83498446
type = "passive";
@@ -8355,6 +8452,14 @@
83558452
type = "passive";
83568453
};
83578454
};
8455+
8456+
cooling-maps {
8457+
map0 {
8458+
trip = <&nsp_1_1_1_alert0>;
8459+
cooling-device = <&cdsp_sw1
8460+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8461+
};
8462+
};
83588463
};
83598464

83608465
nsp-1-2-1-thermal {
@@ -8363,7 +8468,7 @@
83638468
thermal-sensors = <&tsens3 10>;
83648469

83658470
trips {
8366-
trip-point0 {
8471+
nsp_1_2_1_alert0: trip-point0 {
83678472
temperature = <105000>;
83688473
hysteresis = <5000>;
83698474
type = "passive";
@@ -8375,6 +8480,14 @@
83758480
type = "passive";
83768481
};
83778482
};
8483+
8484+
cooling-maps {
8485+
map0 {
8486+
trip = <&nsp_1_2_1_alert0>;
8487+
cooling-device = <&cdsp_sw1
8488+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8489+
};
8490+
};
83788491
};
83798492

83808493
ddrss-1-thermal {

0 commit comments

Comments
 (0)