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:
@@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: BSD-3-Clause
|
// 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>
|
#include <dt-bindings/thermal/thermal_qti.h>
|
||||||
@@ -208,6 +208,17 @@
|
|||||||
compatible = "qcom,devfreq-cdev";
|
compatible = "qcom,devfreq-cdev";
|
||||||
qcom,devfreq = <&msm_gpu>;
|
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"
|
#include "sun-thermal-modem.dtsi"
|
||||||
|
Reference in New Issue
Block a user