[PATCH] arm64: dts: qcom: msm8998: Use RPM XO

Konrad Dybcio posted 1 patch 2 years, 8 months ago
arch/arm64/boot/dts/qcom/msm8998.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] arm64: dts: qcom: msm8998: Use RPM XO
Posted by Konrad Dybcio 2 years, 8 months ago
Feed GCC and SDHC_2 with the RPM XO instead of the fixed-clock one.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 arch/arm64/boot/dts/qcom/msm8998.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi
index 746f4e42a53f..4d59f4f8fc4a 100644
--- a/arch/arm64/boot/dts/qcom/msm8998.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi
@@ -809,7 +809,7 @@ gcc: clock-controller@100000 {
 			reg = <0x00100000 0xb0000>;
 
 			clock-names = "xo", "sleep_clk";
-			clocks = <&xo>, <&sleep_clk>;
+			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>, <&sleep_clk>;
 
 			/*
 			 * The hypervisor typically configures the memory region where these clocks
@@ -2310,7 +2310,7 @@ sdhc2: mmc@c0a4900 {
 			clock-names = "iface", "core", "xo";
 			clocks = <&gcc GCC_SDCC2_AHB_CLK>,
 				 <&gcc GCC_SDCC2_APPS_CLK>,
-				 <&xo>;
+				 <&rpmcc RPM_SMD_XO_CLK_SRC>;
 			bus-width = <4>;
 			status = "disabled";
 		};
-- 
2.39.0
Re: [PATCH] arm64: dts: qcom: msm8998: Use RPM XO
Posted by Bjorn Andersson 2 years, 8 months ago
On Tue, 10 Jan 2023 15:36:42 +0100, Konrad Dybcio wrote:
> Feed GCC and SDHC_2 with the RPM XO instead of the fixed-clock one.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: msm8998: Use RPM XO
      commit: 83fe4b9efb03d8b1f9a724c965f0f76574a840cd

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>