From c96ac22d97745579f507efe01e2d4e4b8811056a Mon Sep 17 00:00:00 2001 From: Gaurav Kohli Date: Thu, 12 Jun 2025 10:20:22 +0530 Subject: [PATCH] ARM: dts: qcom: Add cpu/gpu cdev thermal interface for qcs610 Enable cpu/gpu cdev thermal interface to mitigate cpu/gpu from userspace. Signed-off-by: Gaurav Kohli --- qcom/sm6150-thermal.dtsi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/qcom/sm6150-thermal.dtsi b/qcom/sm6150-thermal.dtsi index 21e5a78b..a8f80f37 100644 --- a/qcom/sm6150-thermal.dtsi +++ b/qcom/sm6150-thermal.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ #include @@ -186,6 +186,24 @@ }; }; + qcom,devfreq-cdev { + compatible = "qcom,devfreq-cdev"; + qcom,devfreq = <&msm_gpu>; + }; + + qcom,cpufreq-cdev { + compatible = "qcom,cpufreq-cdev"; + + cpu-cluster0 { + qcom,cpus = <&CPU0 &CPU1 &CPU2 &CPU3 &CPU4 &CPU5>; + }; + + cpu-cluster1 { + qcom,cpus = <&CPU6 &CPU7>; + }; + }; + + qmi-tmd-devices { compatible = "qcom,qmi-cooling-devices";