Skip to content

Commit 7781a71

Browse files
committed
FROMLIST: arm64: dts: qcom: Enable cdsp qmi tmd devices for monaco
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/all/20251223123227.1317244-9-gaurav.kohli@oss.qualcomm.com/
1 parent 87db140 commit 7781a71

1 file changed

Lines changed: 92 additions & 0 deletions

File tree

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

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7313,6 +7313,14 @@
73137313
};
73147314
};
73157315
};
7316+
7317+
cooling {
7318+
compatible = "qcom,qmi-cooling-cdsp";
7319+
cdsp_sw: cdsp_sw {
7320+
label = "cdsp_sw";
7321+
#cooling-cells = <2>;
7322+
};
7323+
};
73167324
};
73177325

73187326
tsens2: thermal-sensor@c251000 {
@@ -7691,36 +7699,78 @@
76917699
thermal-sensors = <&tsens2 5>;
76927700

76937701
trips {
7702+
nsp_0_0_0_alert0: trip-point0 {
7703+
temperature = <115000>;
7704+
hysteresis = <5000>;
7705+
type = "passive";
7706+
};
7707+
76947708
nsp-critical {
76957709
temperature = <125000>;
76967710
hysteresis = <1000>;
76977711
type = "critical";
76987712
};
76997713
};
7714+
7715+
cooling-maps {
7716+
map0 {
7717+
trip = <&nsp_0_0_0_alert0>;
7718+
cooling-device = <&cdsp_sw
7719+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7720+
};
7721+
};
77007722
};
77017723

77027724
nsp-0-1-0-thermal {
77037725
thermal-sensors = <&tsens2 6>;
77047726

77057727
trips {
7728+
nsp_0_1_0_alert0: trip-point0 {
7729+
temperature = <115000>;
7730+
hysteresis = <5000>;
7731+
type = "passive";
7732+
};
7733+
77067734
nsp-critical {
77077735
temperature = <125000>;
77087736
hysteresis = <1000>;
77097737
type = "critical";
77107738
};
77117739
};
7740+
7741+
cooling-maps {
7742+
map0 {
7743+
trip = <&nsp_0_1_0_alert0>;
7744+
cooling-device = <&cdsp_sw
7745+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7746+
};
7747+
};
77127748
};
77137749

77147750
nsp-0-2-0-thermal {
77157751
thermal-sensors = <&tsens2 7>;
77167752

77177753
trips {
7754+
nsp_0_2_0_alert0: trip-point0 {
7755+
temperature = <115000>;
7756+
hysteresis = <5000>;
7757+
type = "passive";
7758+
};
7759+
77187760
nsp-critical {
77197761
temperature = <125000>;
77207762
hysteresis = <1000>;
77217763
type = "critical";
77227764
};
77237765
};
7766+
7767+
cooling-maps {
7768+
map0 {
7769+
trip = <&nsp_0_2_0_alert0>;
7770+
cooling-device = <&cdsp_sw
7771+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7772+
};
7773+
};
77247774
};
77257775

77267776
ddrss-0-thermal {
@@ -7811,36 +7861,78 @@
78117861
thermal-sensors = <&tsens3 5>;
78127862

78137863
trips {
7864+
nsp_0_0_1_alert0: trip-point0 {
7865+
temperature = <115000>;
7866+
hysteresis = <5000>;
7867+
type = "passive";
7868+
};
7869+
78147870
nsp-critical {
78157871
temperature = <125000>;
78167872
hysteresis = <1000>;
78177873
type = "critical";
78187874
};
78197875
};
7876+
7877+
cooling-maps {
7878+
map0 {
7879+
trip = <&nsp_0_0_1_alert0>;
7880+
cooling-device = <&cdsp_sw
7881+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7882+
};
7883+
};
78207884
};
78217885

78227886
nsp-0-1-1-thermal {
78237887
thermal-sensors = <&tsens3 6>;
78247888

78257889
trips {
7890+
nsp_0_1_1_alert0: trip-point0 {
7891+
temperature = <115000>;
7892+
hysteresis = <5000>;
7893+
type = "passive";
7894+
};
7895+
78267896
nsp-critical {
78277897
temperature = <125000>;
78287898
hysteresis = <1000>;
78297899
type = "critical";
78307900
};
78317901
};
7902+
7903+
cooling-maps {
7904+
map0 {
7905+
trip = <&nsp_0_1_1_alert0>;
7906+
cooling-device = <&cdsp_sw
7907+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7908+
};
7909+
};
78327910
};
78337911

78347912
nsp-0-2-1-thermal {
78357913
thermal-sensors = <&tsens3 7>;
78367914

78377915
trips {
7916+
nsp_0_2_1_alert0: trip-point0 {
7917+
temperature = <115000>;
7918+
hysteresis = <5000>;
7919+
type = "passive";
7920+
};
7921+
78387922
nsp-critical {
78397923
temperature = <125000>;
78407924
hysteresis = <1000>;
78417925
type = "critical";
78427926
};
78437927
};
7928+
7929+
cooling-maps {
7930+
map0 {
7931+
trip = <&nsp_0_2_1_alert0>;
7932+
cooling-device = <&cdsp_sw
7933+
THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7934+
};
7935+
};
78447936
};
78457937

78467938
ddrss-1-thermal {

0 commit comments

Comments
 (0)