2023-01-10 14:59:18

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH] arm64: dts: qcom: msm8998: Use RPM XO

Feed GCC and SDHC_2 with the RPM XO instead of the fixed-clock one.

Signed-off-by: Konrad Dybcio <[email protected]>
---
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


2023-01-11 05:21:18

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: qcom: msm8998: Use RPM XO

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 <[email protected]>