From cb8806919f866c9d83f4ea0465fd5d0290600b8a Mon Sep 17 00:00:00 2001 From: Dipa Ramesh Mantre Date: Tue, 21 Jul 2026 17:08:37 +0530 Subject: [PATCH] FROMLIST: arm64: dts: qcom: shikra: Enable CDSP cooling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unlike the CPU, the CDSP does not throttle its speed automatically when it reaches high temperatures in shikra. Set up CDSP cooling by throttling the cdsp, when it reaches 115°C. Signed-off-by: Dipa Ramesh Mantre https://lore.kernel.org/all/20260714-shikra-cdsp-v1-2-8402e060809e@oss.qualcomm.com/ --- arch/arm64/boot/dts/qcom/shikra.dtsi | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi index 812ad89a649e2..13fec172209df 100644 --- a/arch/arm64/boot/dts/qcom/shikra.dtsi +++ b/arch/arm64/boot/dts/qcom/shikra.dtsi @@ -2765,6 +2765,14 @@ }; }; }; + + cooling { + compatible = "qcom,qmi-cooling-cdsp"; + cdsp_sw: cdsp_sw { + label = "cdsp_sw"; + #cooling-cells = <2>; + }; + }; }; remoteproc_lpaicp: remoteproc@b800000 { @@ -3862,12 +3870,26 @@ type = "hot"; }; - nsp-critical { + nsp_alert1: nsp-alert1 { temperature = <115000>; + hysteresis = <5000>; + type = "passive"; + }; + + nsp-critical { + temperature = <118000>; hysteresis = <0>; type = "critical"; }; }; + + cooling-maps { + map0 { + trip = <&nsp_alert1>; + cooling-device = <&cdsp_sw + THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; mdmss0-thermal {