From 2af94b67e37a9717d44a5f1282424083b880427c Mon Sep 17 00:00:00 2001 From: Imran Shaik Date: Wed, 11 Sep 2024 17:48:59 +0530 Subject: [PATCH] ARM: dts: msm: Remove clocks property form CPU nodes The initialization of the OPP table from the device tree is failing because the OPP framework expects the CPUFreq node to act as a clock provider due to the presence of the clocks property in CPU nodes. However, the qcom-cpufreq-hw scaling driver doesn't have the support for handling the CPUFreq node as a clock provider, resulting in an -EPROBE_DEFER error. Thus, to resolve this issue, remove the clocks property from the CPU nodes. Change-Id: I243807f58dc82c55f4ec390c09752b8652ac2706 Signed-off-by: Imran Shaik --- qcom/sdxkova.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/qcom/sdxkova.dtsi b/qcom/sdxkova.dtsi index bb5a6bde..65496054 100644 --- a/qcom/sdxkova.dtsi +++ b/qcom/sdxkova.dtsi @@ -720,3 +720,19 @@ #include "sdxkova-usb.dtsi" #include "ipcc-test-sdxkova.dtsi" + +&CPU0 { + /delete-property/ clocks; +}; + +&CPU1 { + /delete-property/ clocks; +}; + +&CPU2 { + /delete-property/ clocks; +}; + +&CPU3 { + /delete-property/ clocks; +};