ARM: dts: qcom: Enable userspace CPU freq cooling device for sun

Enable userspace CPU frequency cooling device for sun. This config
will enable cluster0 and cluster1 to be registered as cooling devices.

Change-Id: I4a88c5f03b9da0e4ef1406e7e973d148c074dd93
Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
This commit is contained in:
Manaf Meethalavalappu Pallikunhi
2024-01-08 13:56:11 +05:30
parent 75b351fea1
commit 328e0855c3

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/thermal/thermal_qti.h>
@@ -208,6 +208,17 @@
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>;
};
};
};
#include "sun-thermal-modem.dtsi"