[PATCH] ARM: dts: qcom-msm8960: add missing clocks to the timer node
From: Rudraksha Gupta
Date: Wed Mar 19 2025 - 01:11:19 EST
In order to fix DT schema warning and describe hardware properly, add
missing sleep clock to the timer node.
Solved by Dmitry Baryshkov on the APQ8064 SoC
Link: https://lore.kernel.org/all/20250318-fix-nexus-4-v2-6-bcedd1406790@xxxxxxxxxxxxxxxx/
Signed-off-by: Rudraksha Gupta <guptarud@xxxxxxxxx>
---
Running the following no longer returns any errors:
make ARCH=arm CHECK_DTBS=y qcom/qcom-msm8960-cdp.dtb
make ARCH=arm CHECK_DTBS=y qcom/qcom-msm8960-samsung-expressatt.dtb
---
arch/arm/boot/dts/qcom/qcom-msm8960.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
index 865fe7cc3951..06b3fa5e1acf 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
+++ b/arch/arm/boot/dts/qcom/qcom-msm8960.dtsi
@@ -112,6 +112,8 @@ timer@200a000 {
<GIC_PPI 3 0x301>;
reg = <0x0200a000 0x100>;
clock-frequency = <27000000>;
+ clocks = <&sleep_clk>;
+ clock-names = "sleep";
cpu-offset = <0x80000>;
};
---
base-commit: ffd294d346d185b70e28b1a28abe367bbfe53c04
change-id: 20250318-expressatt-solve-dts-errors-359f9d91c86c
Best regards,
--
Rudraksha Gupta <guptarud@xxxxxxxxx>